ANSI WARNINGS and error object


S

simon

Hi,

I'm using err.number to check if there is some error when executing
stored procedures on sql database.
But if sql returns ANSI WARNINGS, that is always error to asp, err
object is not empty.
I can't set ansi warnings to off on sql server because I have indexed
views, filtered indexes,....

I must check this on asp side - any idea?

Thank you,
Simon
 
Ad

Advertisements

B

Bob Barrows

simon said:
Hi,

I'm using err.number to check if there is some error when executing
stored procedures on sql database.
But if sql returns ANSI WARNINGS, that is always error to asp, err
object is not empty.
I can't set ansi warnings to off on sql server because I have indexed
views, filtered indexes,....

I must check this on asp side - any idea?
Nothing beyond parsing them to see if they are warnings and if so,
ignore them.
 
S

simon

Nothing beyond parsing them to see if they are warnings and if so,
ignore them.

Thank you.
Do you know maybe if err.number is some specific for ansi warnings?

br,Simon
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top