Wrox Programmer Forums
Oracle ASP Using ASP with Oracle databases. For Oracle discussions not specific to ASP, please see the Oracle forum. For more ASP discussions, please see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 14th, 2004, 12:17 PM
Registered User
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default date conflict

I'm calling an update procedure in Oracle
With objCommand
      .CommandText = "{call cust_Update(?, ?, ?)}"
      .CommandType = adCmdText
      .Parameters(0).Value = varCus_id
      .Parameters(1).Value = varf_Name
      .Parameters(2).Value = varbirthdate
      .Execute() ............
the problem I'm having is entering the birthdate. This is the error
Microsoft OLE DB Provider for Oracle error '80040e14'
I believe it has something to do with the delimiter in the date string("/"), but not sure? The Oracle procedure birth_date column is in "mm/dd/yy" format:
When I pass this in the textbox in this format I get the error? How can I resolve the ASP to take in the right characters for the birthdate?

Old December 7th, 2004, 03:16 PM
Registered User
Join Date: Nov 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

You can easy send date parameter as string and convert it to the date type inside store procedure using TO_DATE(CHAR [,FMT])function.



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dll Conflict suneelkch C# 2005 1 July 10th, 2007 08:37 AM
conflict khalid_raye Pro JSP 0 January 3rd, 2007 06:37 AM
write conflict iacon VB Databases Basics 1 July 3rd, 2006 03:36 PM
Check for Time/Date Conflict aavgeek PHP How-To 0 January 12th, 2006 06:17 PM
collation conflict vijayma SQL Server 2000 1 July 25th, 2005 09:50 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.