I'm trying to insert a record to a db and I got this error.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[CA][ODBC CA-Datacom/DB Driver] No updates, deletes or inserts are allowed in SQLPrepare
The Select statement works just fine. Does anyone know what the problem is? Thanks.
Code:
Set con = Server.CreateObject("ADODB.Connection")
con.Open "DSN=MyDB;uid=myuid;pwd=mypwd"
con.Execute("insert into myTable values (...,...,blab,blab)")
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[CA][ODBC CA-Datacom/DB Driver] No updates, deletes or inserts are allowed in SQLPrepare
The Select statement works just fine. Does anyone know what the problem is? Thanks.