01-18-2010, 09:43 AM
[eluser]HugoA[/eluser]
Hi!
I'm executing a store procedure like this
but it just work one time (the first one), then, I have to restart the apache server because if I don't do it I get this error
If I query mi database like this
There's no problem at all...
What I'm doing wrong when I execute the stored procedure?
Thanks!
Hi!
I'm executing a store procedure like this
Code:
$query = $this->db->query('CALL getPersona()');
Quote:A Database Error Occurred
Unable to select the specified database: todo
If I query mi database like this
Code:
$this->db->where('idpersona','1');
$query = $this->db->get('persona');
There's no problem at all...
What I'm doing wrong when I execute the stored procedure?
Thanks!