![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I wanna to use DTS to import a fixed named txt file which contains some fields with the dynamic date names for the inventory forecast ,e.g. 20030801;20030802;20030803 ,and next day the fileds name will bacame : 20030802;20030803;20030804. I create one DTS package to import this txt file and map to a destination table (drop then create). But once I update the txt file with new date column name , the maping appears wrong and the package execute result failure. Is there any better way to solve this probelm? |
#3
| |||
| |||
|
#4
| |||
| |||
|
| Then ,what dynamic sql can I use for importing a txt file to a SQL table ? Does command bcp match my requirement to pump the sour data with alternable fields name into a sql table ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |