I like to use this method when inserting into a database:
However, I don't know how to insert the date, seeing that it's an oracle database. I know it's looking for a specific date object. Does one exist in asp that is compatible with oracle?
The error message is this:
Thanks for any help
Code:
Set Insert = Server.CreateObject("ADODB.Recordset")
Insert.Open "test", objConn, 1, 3, 2
Insert.AddNew
Insert("FIRSTNAME") = "Joe"
Insert("LASTNAME") = "bob"
Insert("DATE_BORN") = "10/10/80"
Insert.Update
Insert.Close
t RSInsert = nothing
The error message is this:
Code:
Provider error '80020005' Type mismatch. /<asp_script>.asp, line <line_#>
Comment