in reply to Perl/SQL Query

It really depends on the DB module that you are using. At home I use DBI, but at work I'm forced to use Win32::ODBC. Check out CPAN for the documentation on your current module. This should include any error variables.

- Tom