Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

How to create dynamic table based on csv file?

$
0
0
I am trying to create a package to load latest csv file into the sql server and every time it should create a new table based on csv file. 1) First past of recognizing latest csv file is done, using script task. (thanks you guys for awesome post) 2) To create a table based on the latest csv. I have no clue on this one. Currently, I am using data flow task. a)Flat File Source- using variable base on script task the file name is recognized from the source folder. b) OLE DB Destination - how can i create table dynamically? Also datatype for fields should be nvarchar(max)

Viewing all articles
Browse latest Browse all 813

Trending Articles