SET ANSI_WARNINGS in Stored Procs - how to avoid recompilation bottleneck?



Ok, here's my dilemma. We're running SQL Server 2000 with the default
db setting for the ANSI_WARNINGS option set to off. However, we still
get "Warning: Null value is eliminated by an aggregate or other SET
operation" messages. To eliminate getting the message, we use the SET
ANSI_WARNINGS OFF in our stored procs. Using that SET command forces a
recompilation of the SP and is causing locks/blocking. Anybody else
run into this problem and if so, how have you handled it.

Thanks,
-Nate

.



Relevant Pages

  • SET ANSI_WARNINGS OFF in stored procs - how to avoid recompilation?
    ... We're running SQL Server 2000 with the default ... db setting for the ANSI_WARNINGS option set to off. ... get "Warning: Null value is eliminated by an aggregate or other SET ... recompilation of the SP and is causing locks/blocking. ...
    (comp.databases.ms-sqlserver)
  • Re: Issue warning at (kB)
    ... Do any of your users have more than 1gb in their mailbox? ... > 'Warning message interval' option is set by 'Run daily at Midnight' ... is the 'warning message internal' option set on the propeties of ...
    (microsoft.public.exchange.admin)