Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql out file formate

SELECT customer_id, firstname, surname INTO OUTFILE 'E:/exportdata/customers.txt'
  FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
  LINES TERMINATED BY '
'
  FROM customers;
Source by mariadb.com #
 
PREVIOUS NEXT
Tagged: #sql #file #formate
ADD COMMENT
Topic
Name
6+7 =