Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

what's means IDispatch error #3092

704392Jun 1 2009 — edited Jun 1 2009
Hi

i use vc++ to develop database program,database is oracle and use ADO style(must use ADO)
my code is :
sql.Format("INSERT INTO EVAL.LOGTABLE (LOGNAME,LOGINTIME) VALUES('aaa',to_date('2009-01-01 12:12:12','yyyy-MM-dd HH24:mi:ss'));");
m_pConnection->Execute((_bstr_t)sql,&vtMissing,adCmdText);
it alway dispaly IDispatch error #3092

but i use:
EVAL.LOGTABLE (LOGNAME,LOGINTIME) VALUES('aaa',to_date('2009-01-01 12:12:12','yyyy-MM-dd HH24:mi:ss'));
in SQL*Plus ,it is ok

Why?pls help me
Thanks a lot
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 29 2009
Added on Jun 1 2009
1 comment
4,135 views