MSQuery: ORA-00911 Error Adding Record to Oracle Table

ID: Q121550


The information in this article applies to:


SYMPTOMS

In Microsoft Query, when you use an Oracle data source to create a query, you receive the following error message when you add a record to the table if the Oracle table contains a field with an apostrophe (') character:

ORA-00911: invalid character
followed by:
Update failed. Continue editing record?
NOTE: You also receive the first error message above if you use the INSERT INTO (SQL) statement to add a record to the table when that record contains an apostrophe character.


CAUSE

This error message occurs because you cannot add a record to a table using an Oracle data source when a field in the table contains an apostrophe character. For example, if you add a record to a table that contains a field named "Test o' luck", the error message is displayed, and you cannot continue editing the record.


WORKAROUND

To work around this behavior, do either of the following:


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


REFERENCES

For more information about how to Add, Edit, or Delete Data (Cue Cards), choose the Search button in Help and type:

records, adding

Additional query words: 5.00 5.00c err msg


Keywords          : xlquery 
Version           : 1.00 2.00
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: July 29, 1999