Home Forums SQL Server 2008 SQL Server Newbies daily report RE: daily report
CKX
SSCrazy
Points: 2519
More actions
July 24, 2014 at 9:54 am
#1732138
Just another way to do this with Powershell:
Invoke-Sqlcmd -Query "SELECT * FROM your_table;" -ServerInstance yourserver -Database yourdatabase | export-csv your.csv
It can also be scheduled as you will any other task.