Link to home
Start Free TrialLog in
Avatar of 4Learning
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.
Avatar of diasroshan
diasroshan
Flag of Kuwait image

Avatar of 4Learning
4Learning

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,
 




 
ASKER CERTIFIED SOLUTION
Avatar of diasroshan
diasroshan
Flag of Kuwait image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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