March 12, 2003 at 11:36 pm
Try this problem with a simple fixed length format file of let say two cols then add a thrid col to the middle of the file you'll see that when you open the text file source you will have to fix the fixed length properties to cater for the new col. when you click ok it will ask if you want to delete your transofrms say no. open the data pump and gol to the transforms tab and you should be able to edit and move your transforms around.
March 18, 2003 at 2:45 pm
well the only way i'm up for doing this readjustment is if i can get SQL to automatically re-route the references of every column to the right of the insert, in this case, approximately 400 columns.
if there's a way to do this, i'd like to learn it, considering that i will need to add new columns to this text file regularly; and to re-reference 400+ columns, as well as re-write the associated VB code every single time i make a minor adjustment, would be incalculably tedious.
any other suggestions?
March 18, 2003 at 3:54 pm
Do you get any sort of format file or header record that can be used to determine the columns?
If so, and you're using SQL2K, have a look at the properties of the Text file connection and the DataPump task. You might be able to manipulate/rebuild the column list based on the formatting info.
Hope this helps
Phill Carter
--------------------
Colt 45 - the original point and click interface ![]()
--------------------
Colt 45 - the original point and click interface ![]()
March 19, 2003 at 12:45 am
from what i've seen you going to have re-reference some of the old cols but you won't have re-write any of the code only edit which which cols they point too.
Viewing 4 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply