2.用python的结果集,读取到clob字段的时候,转化为str类型处理,如下:
cur_bbc.execute("select t.*, t.rowid from emails t where t.email_status = ‘0‘")
res = cur_bbc.fetchall()
for record in res:
id = record[0]
to_email = record[1]
to_email_list = to_email.split(",")
email_text = record[2].read() --clob类型
oracle 插入 clob字段的问题 及 python读取clob字段
原文:http://blog.51cto.com/12096733/2060350