all groups > sql server dts > september 2003 >
You're in the

sql server dts

group:

Added column, how to refresh package?


Added column, how to refresh package? Per Salmi
9/12/2003 12:07:31 PM
sql server dts:
I have a package that imports a text file to a table.

Now I have to add a few columns to both the text file and destination table.
The source file view seems to refresh automatically when selecting the new
file in the source tab of the transfor data task properties but I can't make
the new destination table columns appear!

On the transformations tab there are only the old columns and it I can't
refresh it in any way...

How can I get the package to refresh and add the new columns so I can add
mappings to them?

/Per Salmi

Re: Added column, how to refresh package? Allan Mitchell
9/12/2003 12:13:40 PM
I have just done this

Created a text file of

A,B,C
1,2,3

I then created a table

NTD (A,B,C)

I then created a DataPump task between the two mapping the columns.
I came back to QA and issued

ALTER TABLE NTD ADD D varchar(50) NULL

I added the same column to the text file

I went back to my pump
Previewed the Source - Col was there (Text File)
Destination tab showed the column D in the destination
Transformations tab showed the columns D in both Source and Dest with no
transformation between them.

Are you sure you are inserting into the table and not a view ?



--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

[quoted text, click to view]

Re: Added column, how to refresh package? Per Salmi
9/12/2003 2:37:05 PM
Ok, I solved it. I was staring too long at the problem and in the end I
found that there were two databases and the names were very similar... So I
was using another experimental version of the database.

/Per



"Allan Mitchell" <allan@no-spam.sqldts.com> skrev i meddelandet
news:uslMX7ReDHA.2144@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button