Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好的,伙计们,这应该是一个非常简单的请求。我想Select * from tablex每晚运行一个查询 (IE) 并让它自动输出到同一系统上的文本文件。
Select * from tablex
谢谢
在 SELECT 语句中的步骤中创建一个新的 SQL Server 代理作业。在高级中,告诉它输出到文件。完毕。
查看通过 Windows 调度的 bcp.exe 可能是最简单的方法...