I went ahead and did a BULK INSERT task and loaded the contents of file.sql
containing the INSERT INTO statements for 15 tables into a staging table.
Now, the staging table - col01 has all the INSERT INTO statements. How do I
get from the staging table and into the 15 tables?
"SQLCat" wrote:
Quote:
to clarify, the 40MB file has INSERT INTO statements that loads data in 15
tables....is creating a SQL task to run xp_cmdshell osql statement the only
way to load these tables?
"SQLCat" wrote:
I have a 40MB SQL script that I'd like to load into a DB using DTS. Can
someone step me through setting this up in DTS designer? I believe I need to
define the dynamic prooperties, point to the scripts location, etc. Any help
will be greatly appreciated. |