2
I have a problem when it comes to Update
of a content to the database, below the code used for the Update
public function atualizar_conteudo_manual() {
$dadosmanual_update = array ("id_processo_manual"=>$this->id,
"conteudo"=>$this->conteudo);
$this->db->where('id_processo_manual', $dadosmanual_update['id_processo_manual']);
$this->db->set('conteudo', $dadosmanual_update['conteudo']);
$this->db->update('tb_processos_manuais',$dadosmanual_update);
}
Well, I can do the Update
of the content, but when it is too long the following error occurs:
Message: "oci_execute(): ORA-01704: too long string literal"
I would like to know if a conversion to another type of data is possible before the Update
, for this problem not to occur. Preferably the conversion to type Blob.
invert the set with Where
– Lucas Antonio
ok reversed, but the question is not that
– Felipebb
That I remember it would already solve your problem, it didn’t work?
– Lucas Antonio
You’re using which database?
– Lucas Antonio
I am using Oracle Database
– Felipebb
Take off the set to test.
– Lucas Antonio
I took, the error remains with a large amount of data, with little it works even without the set
– Felipebb