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.
| Author |
Topic |
|
bobshishka
Yak Posting Veteran
72 Posts |
Posted - 2007-08-15 : 11:39:52
|
| I'm importing a fixed width text file into SQL using DTS. The txt file is all data with no headers. I need to specify specific column names, because my next step is going to to be moving this data into multiple established SQL Tables.Can I specify column names in DTS? It seems to always force me to name the columns Col001, Col001, etc.Thanks |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2007-08-15 : 11:47:37
|
| You can name the columns of the table you are importing into.If you are creating it through the designer then just overtype the column names in the create statement.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
bobshishka
Yak Posting Veteran
72 Posts |
Posted - 2007-08-15 : 12:24:26
|
| Got it! Thanks! |
 |
|
|
|
|
|