Subject | Re: SQLSTATE and Firebird |
---|---|
Author | paulruizendaal |
Post date | 2006-04-24T18:50:14Z |
> AFAIU, this could (should?) be achieved via a mapping table betweenThis is similar to what I was planning to do for oracle compatible
> GDSCODE's and SQLSTATE's (similarly to how SQLCODE's are handled) +
> one new API function (fb_sqlstate?). This way, GDSCODE's are still
> the primary error ids and nothing in the engine needs to be modified.
> The client passes the status vector to fb_sqlstate() and gets
> SQLSTATE value. PSQL code may be extended to support WHEN SQLSTATE
> <value> construct.
codes for Fyracle.
Paul