在SQLCMD中关闭警告消息 [英] Turn off Warning message in SQLCMD

查看:138
本文介绍了在SQLCMD中关闭警告消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



我使用sqlcmd导出csv文件。然后运行sqlcmd,csv文件有数据和警告消息。请帮我关闭警告信息(不显示csv文件中的警告行)



==================

2012 12 VNM - > csv文件中的数据

警告:聚合或其他SET操作消除了空值 - > csv文件中的警告行

===================



请帮忙我



谢谢

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

推荐答案

SET ANSI_WARNINGS OFF [ ^ ]是您的补救措施
SET ANSI_WARNINGS OFF[^] is your remedy


这篇关于在SQLCMD中关闭警告消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆