Troubleshooting

Messages Returned by SQL Server Utilities

All of the Microsoft® SQL Server™ 2000 utilities use ODBC except for the isql command prompt utility. This has effects on the way error messages are displayed by the ODBC-based utilities:

Invalid object name 'ThisObjectDoesNotExist'.

osql includes the ODBC headers in the description:

[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'ThisObjectDoesNotExist'.

The presence of the ODBC headers in the message does not necessarily indicate that the problem is in the ODBC components. The SQL Server ODBC driver includes these headers in messages from all components. For more information about how to determine the component raising the error, see ODBC Error Message Format.

[Microsoft][SQL Server ODBC Driver]Syntax error or access violation

See Also

isql Utility

osql Utility

sysmessages