Silverbeard
IS-IT--Management
HI
I am currently trying to retrieve SQLSTATE error codes through ADO from SQL Server to conduct proper error handling, but i can't seem to find a listing of these error codes anywhere. Can somebody help?
I have written an application that automates database upgrades at the client site and since i have no idea what version of the database they have, i want to be able to elegantly handle "object exists" type of errors.
I am currently trying to retrieve SQLSTATE error codes through ADO from SQL Server to conduct proper error handling, but i can't seem to find a listing of these error codes anywhere. Can somebody help?
I have written an application that automates database upgrades at the client site and since i have no idea what version of the database they have, i want to be able to elegantly handle "object exists" type of errors.