📜  sqlcmd 没有标头 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:33.710000             🧑  作者: Mango

代码示例1
sqlcmd -S . -d MyDb -E -s, -h-1 -W -Q "set nocount on;select 'account','rptmonth', 'thename';select account,rptmonth, thename from theTable"  
> c:\dataExport.csv