4Learning
asked on
Sybase sqldbcode values
Can anyone guide me to all the sqldbcode values returned from the Sybase server? I need to code for those values in pfc - dberror event - so that I can display some meaningful errors to the users.
ASKER
Thankyou diasroshan, but my original question was asking about sqldbcodes and NOT sqlcodes. So the link really does not help.
I need to quote in my script the action to be taken on certain sqldbcodes values - this happens when sqlcode is negative.
And since sqldbcode is vendor specific, the error codes from one vendor will be different from another.
Hope someone is able to help me out with this.
Thanks,
I need to quote in my script the action to be taken on certain sqldbcodes values - this happens when sqlcode is negative.
And since sqldbcode is vendor specific, the error codes from one vendor will be different from another.
Hope someone is able to help me out with this.
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks diasroshan for the info. I didnt know that in case of Sybase, the sqlcode and sqldbcode values are the same.
Thanks also to sandeep_patel for the link.
Regards,
4Learning
Thanks also to sandeep_patel for the link.
Regards,
4Learning
You can find the sybase error code below,
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00462.1510/concepts/con_sqlcode.html
Under Error Messages --> Sybase SQL code errors
the below link cud b of use,
http://manuals.sybase.com/onlinebooks/group-pb/pbg0900e/dwprgug/@Generic__BookTextView/2408;pt=678/*
Cheers,
Rosh