PRB: Empty Strings Causes ADO Update Error Against Oracle Servers (245482)
The information in this article applies to:
- Microsoft OLE DB Provider for Oracle 2.6
- Microsoft OLE DB Provider for Oracle 2.0
- Microsoft OLE DB Provider for Oracle 2.1
- Microsoft OLE DB Provider for Oracle 2.5
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
This article was previously published under Q245482 SYMPTOMS
When updating ADO recordsets against an Oracle database back end the following error may occur:
"The specified row could not be located for updating; Some values may have been changed since it was last read."
CAUSE
This error is seen because Oracle stores an empty string as a NULL value.
RESOLUTION
The following two workarounds are available: - Explicitly convert empty strings to NULL before editing the recordset object.
- Call the Resynch method after editing the recordset.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kbDatabase kbnofix kbOracle kbprb kbProvider KB245482 |
---|
|