SQL代理作业中使用-SQLCMD参数的问题
试图导出一些运行PowerShell脚本作为代理作业的数据。所有工作都可以,但需要被双引号包围的数据。这是脚本的结尾,我将标题隐藏并逗号界定,无法获得双引号包围的数据(如果有人有参数列表,那将是很棒的-SQLCMD订单由s.name“ -s”,-O $ instfile -h -1
Trying to export some data running PowerShell script as agent job. all works but need data surrounded by double quotes. here is the end of script, I get my headers hidden and comma delimited by cant get the data surrounded by double quotes (if anyone has a list of parameters for that would be great-sqlcmd ORDER BY s.name " -s "," -o $instfile -h -1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论