Welcome Guest, Not a member yet? Register   Sign In
CLOB in Oracle DataBase
#1

[eluser]Unknown[/eluser]
I try get content of clob using it:

in principal.php:
$query = $sup->recuperarRelato("QZMRCHTK");
$relato = $obj->getRelato($query);

in sup.php:
function recuperarRelato ($codigo)
{
$relato = $this->db->get_where('CAD_RELATO_ORIG', array('COD_RELATO_ORIG' => $codigo));
return $relato->result();
}

in obj.php

$relato->set_descricao( $obj[0]->DSC_RELATO_ORIG );

and have this response in browse:

[_descricao:private] => OCI-Lob Object
(
[descriptor] => Resource id #41
)

i try alot changes for read this resource or convert to string and not have success!
Sorry for my bad english and help if you know! Thanks


Messages In This Thread
CLOB in Oracle DataBase - by El Forum - 04-07-2009, 08:34 AM
CLOB in Oracle DataBase - by El Forum - 04-07-2009, 09:09 AM
CLOB in Oracle DataBase - by El Forum - 04-07-2009, 10:42 AM
CLOB in Oracle DataBase - by El Forum - 04-30-2012, 04:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB