SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Importing Data
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andypgill
Starting Member

34 Posts

Posted - 01/23/2013 :  08:52:01  Show Profile  Reply with Quote
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 - 01/29/2013 :  14:51:03  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000