Error : This feature is not available for the database you are using

codeigniter, oracle, php, sql

Solution

hmmm , try with

$this->db->query("CALL update_letter_body(".$body_letter.",".$insert_id.")");

`call_function` enables you to call PHP database functions that are not natively included in CodeIgniter,not for calling procedures you've written.

check the documentation

https://www.codeigniter.com/user_guide/database/call_function.html

Problem

I am using oci8 as my database driver in Codeigniter. While using the following code that calls a stored procedure gives me error : ``` $this->db->call_function('update_letter_body', $body_letter, $insert_id); Error : This feature is not available for the database you are using. ``` What should be done to make this work ? I am trying to set a value that has more than 4000 characters which doesn't seem to work from direct query and seems like the codeigniter does not support calling functions for oracle. Any suggestions ?

Original source

Related problems