Redian新闻
>
Help need on writing data to Oracle CLOB!
avatar
Help need on writing data to Oracle CLOB!# Database - 数据库
h*r
1
Hi everyone,
I was try to write data to CLOB by the way
(prepare/bind/exec) you suggested
on the Oracle Discussion Group. But I got some error, below
is the piece code,
I wonder if I am on the correct way to do it.
say I have a table ExampleTab which contain two columns,
{
Oid int
ClobData CLOB
}
I am try to insert data to clobData by below code, assume
alreay created a
record which has Oid : 101 and ClobData is a emptyClob.
void updateClob(const char* lobString)
{
SQLRETURN l
avatar
w*h
2
I have experience to insert BLOB into Oracle with JDBC. We have to use
Oracle's own JDBC classes to do it.

【在 h****r 的大作中提到】
: Hi everyone,
: I was try to write data to CLOB by the way
: (prepare/bind/exec) you suggested
: on the Oracle Discussion Group. But I got some error, below
: is the piece code,
: I wonder if I am on the correct way to do it.
: say I have a table ExampleTab which contain two columns,
: {
: Oid int
: ClobData CLOB

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。