![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm assuming this is a simple question, I can't find a solution though. Hopefully this makes sense 1) I have an excel file with the following columns: First Name Last Name 2) I have a table with the following columns: ID (primary key) ExcelID (int not null) FirstName varchar LastName varchar Email varchar ExcelID is a number that is used to determine what file the user information came from... it isn't a part of the excel file. Basically I want to run a DTS that inserts the excel file columns AND sets ExcelID to a value that I'll be entering. I can import the data from excel just fine. How do I add an option to set a column (in the database) just to a VALUE not a reference to a column in the spreadsheet? |
#3
| |||
| |||
|
|
I'm assuming this is a simple question, I can't find a solution though. Hopefully this makes sense 1) I have an excel file with the following columns: First Name Last Name 2) I have a table with the following columns: ID (primary key) ExcelID (int not null) FirstName varchar LastName varchar Email varchar ExcelID is a number that is used to determine what file the user information came from... it isn't a part of the excel file. Basically I want to run a DTS that inserts the excel file columns AND sets ExcelID to a value that I'll be entering. I can import the data from excel just fine. How do I add an option to set a column (in the database) just to a VALUE not a reference to a column in the spreadsheet? |
![]() |
| Thread Tools | |
| Display Modes | |
| |