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 2008 Forums
 SSIS and Import/Export (2008)
 Importing Data

Author  Topic 

andypgill
Starting Member

34 Posts

Posted - 2013-01-23 : 08:52:01
Hi

I'm currently importing a number of excel files into a SQL database with SSIS

I have now added a field (draft) to the table.

Is it possible as part of the import in SSIS to get the user to input a number and add this number to the new draft field.

Thanks for your help.

Andy

tm
Posting Yak Master

160 Posts

Posted - 2013-01-29 : 14:51:03
Don't believe you can ask user to enter data in SSIS.

One way to include draft field is ..

Put the draft number into another text file or sql table and import this into a SSIS variable. If this is an incremental number you should be able to retrieve the number from sql table and increment for next run.

In your data flow you can use Derived Column task to include the variable as an additional column to export.
Go to Top of Page
   

- Advertisement -