Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable warnings and all prints in in sql engine

I have a sql engine with main stored procedure that call many other stored procedures , how can i disable all warnings and prints while executing this engine from job

is there a way to do that without finding all prints and disable them , and what can i do with warnings like Warning: Null value is eliminated by an aggregate or other SET operation

like image 850
Marian Nasry Avatar asked Dec 20 '25 03:12

Marian Nasry


1 Answers

One way to solve this problem is by turning the warnings off.

SET ANSI_WARNINGS OFF;
GO
like image 104
Alfaiz Ahmed Avatar answered Dec 22 '25 17:12

Alfaiz Ahmed



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!