Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Add extra column in DB table through SSIS

Author  Topic 

under2811
Constraint Violating Yak Guru

366 Posts

Posted - 2007-08-03 : 01:39:45
Hi all

I need help ..

I want to create one SSIS...my requirement is

I have text file having three column
like
300;Dev Fot;30097
400;Kit Mol;79684

now i have to insert this in DB with SSIS but at the same time I
want another column insert in DB table with ID
like
1;300;Dev Fot;30097
2;400;Kit Mol;79684

my table structure is
Table_name (ID not null,EmpID not null;desc Not null;FinID Null)

my input to package is my text file path and ID

How shud i process??


T.I.A

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-08-03 : 11:17:17
Make id column identity so sql will generate value for the column.
Go to Top of Page
   

- Advertisement -