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
 
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
 

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

Members online

No members online now.

Forum statistics

Threads
473,920
Messages
2,570,038
Members
46,449
Latest member
onedumbsquirrel

Latest Threads

Top