Bulk insert a semi-structured file (SQL server) -


I am trying to import a file into a SQL Server table, although this is not a general structure file A predefined column; The number of columns is not fixed from one file to another and even from one line to another.

Field Terminator '|' Therefore, for the first line you will have 3 columns (3 pipes delimiter) and the next line will be on the 10th column. (10 pipe delimiter)

Is it possible to use this type of files using bulk function in SQL Server?

Thank you.

Insert a column in bulk of a template table. Then filter the rows based on the number of Terminator (|).

Comments

Popular posts from this blog

Pygame memory leak with transform.flip -

python - Writing Greek in matplotlib labels, titles -

cmake set_source_files_properties not working properly -