how to manage CLOB type with cx_oracle
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Tue Mar 3 12:31:56 EST 2009
En Tue, 03 Mar 2009 15:23:38 -0200, Loredana <loredana.pier at gmail.com>
escribió:
> I try this code and it works:
>
> curs.execute(sqlstr)
> for rows in curs:
> for col in rows:
> try:
> print col.read()
> except:
> print col
>
>
> onother question?
> which is the best wey (fastest way) to discern LOB from other type?
type()? Add a line like this in the code above:
print type(col)
--
Gabriel Genellina
More information about the Python-list
mailing list