SQL export data to csv (Automatically)

Published: 30 October 2020
on channel: MAS
74,247
705

SQLCMD -S ChangeToServerName -d ChangeToDatabaseName -E -Q "select * from [CustomerInvoices] where convert(date,invoicedate)=convert(date,getdate())" -s "," -o "D:\Result\Excel Export\DailySales.csv"

Microsoft Help
https://docs.microsoft.com/en-us/sql/...


On this page of the site you can watch the video online SQL export data to csv (Automatically) with a duration of hours minute second in good quality, which was uploaded by the user MAS 30 October 2020, share the link with friends and acquaintances, this video has already been watched 74,247 times on youtube and it was liked by 705 viewers. Enjoy your viewing!