Skip to Main Content

DevOps, CI/CD and Automation

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!

Displaying Date value using ASP

117151Nov 30 2001
Dear all,

I am currently trying to display the value in an Oracle date
field using ASP. However, I encountered the following error :

Microsoft OLE DB Provider for ODBC Drivers error '80020009'

Multiple-step OLE DB operation generated errors. Check each OLE
DB status value, if available. No work was done.

?


My code is as follow:

set abc= server.createobject("adodb.recordset")
abc.activeconnection = gDBConnectString

sqlstring = "select c_datetime from counter_tbl where c_variable
= 'counter1'"

abc.open sqlstring

response.write abc("c_datetime")


I have tried using to_Date to format the field but when I try to
display it, there will be the same errors again. The SQL
statement executes successfully in SQLPLUS.

Please help. Thanks!

Regards,
Dara.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2001
Added on Nov 30 2001
0 comments
383 views