Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Export Data From Database to CSV File

SELECT column_a,column_b,column_c+column_d INTO OUTFILE '/tmp/result.csv'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '
'
FROM test_table;
Source by support.spatialkey.com #
 
PREVIOUS NEXT
Tagged: #Export #Data #From #Database #CSV #File
ADD COMMENT
Topic
Name
6+7 =