Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to automatically export database to a csv file

sqlcmd -S . -d DatabaseName -E -s, -W -Q "SELECT * FROM TableName" > C:Test.csv
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #automatically #export #database #csv #file
ADD COMMENT
Topic
Name
7+5 =