Click here to Skip to main content
15,895,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,

I use sqlcmd to export csv file. Then run sqlcmd, the csv file have data and warning message. Please help me turn off warning message (not display warning row in csv file)

==================
2012 12 VNM -> data in csv file
Warning: Null value is eliminated by an aggregate or other SET operation -> warning row in csv file
===================

Please help me

Thanks
Posted

1 solution

SET ANSI_WARNINGS OFF[^] is your remedy
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900