LOAD SQL Table from a flat file

I am trying to load an SQL table from a flat file. The flat one I'm talking about is a comma separated file. This has all the data needed to populate the table, each column is separated by a comma ",". I need a way that I can load this content into a spreadsheet faster.

+3
source share
6 answers

If you are using SQL Server, use BULK INSERT

If you are using Oracle, see my answer here

+5
source

, , (, perl php), , . , ...

+1

mysqldump?

mysqldump -u username -p database_name < sql_file.sql
+1

SQL Server 2005 (SSIS); SSIS, (, , , ..).

0

, , .

Textpad (www.textpad.com) (, ), UltraEdit (www.ultraedit.com) - . , -, , SQL, . .

: , , . , ( ), , SQL.

-1
source

Source: https://habr.com/ru/post/1697663/


All Articles