dbTalk Databases Forums  

Rename Destination Columns

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Rename Destination Columns in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sharon B
 
Posts: n/a

Default Rename Destination Columns - 06-03-2004 , 03:31 PM






What is the best way to rename columns when creating tables using DTS?
Our application field names (data source) are not user friendly and
we wish to rename them in our sql server database. Please advise.
Thanks.

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Rename Destination Columns - 06-04-2004 , 03:44 AM






Not sure I understand where DTS comes in here.

Do you have a package that drops and recreates the entities before pumping
the data from the source to destination?

If you do then you will need to

1. Modify the CREATE TABLE script to make it have user friendly names
2. Modify the transformations for the each DataPump task as the metadata
will now not match the definition of your attributes. You could do this in
the Disconnected Edit feature of the package if you want but with a lot of
entities this may be prohibitive.


The easiest way may be to create your destination entities as you want them
then build the package.

--

----------------------------

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


"Sharon B" <SHARON.BUSTON (AT) SAUCONY (DOT) COM> wrote

Quote:
What is the best way to rename columns when creating tables using DTS?
Our application field names (data source) are not user friendly and
we wish to rename them in our sql server database. Please advise.
Thanks.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.