Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to create the SP for using bulk insert query in SQL Server 2008

$
0
0

Hi,

I have three Text files. Each file contains the only on Emailid list. I want these text files

inserted into the sql table using bulk insert query.

I have totally Two tables is there. First one Email and another one Template table.

Each table contains the Two columns. i.e..Email and idt these are column names for two tables.

Text file is inserted into the Email table for Email column. this table column idt is identity so no need
to put the value.

Email table record is moved into the Template table. this table is backup of Email table.

Email table contains only on latest record is there. last insert Text file record only there. previous Tex file
record is not there.

Template table contains the all the Text file records upto last inserted records.

How to create the stored procedure for this concept.

Regards,
Abdul Khadir.



Viewing all articles
Browse latest Browse all 24688

Trending Articles