dbTalk Databases Forums  

Re: Changing connection

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


Discuss Re: Changing connection in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Changing connection - 07-08-2004 , 11:51 AM






How is the name for the tables in the transform data task specified?

I am willing to bet they look like this

DatabaseName.OwnerName.TableName

You need to make sure the SourceObjectName property is set to the name
of the table only.




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


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

Default Re: Changing connection - 07-09-2004 , 09:21 AM






In article <27ADE84D-4E5D-4A8C-81A9-367AD69F03CB (AT) microsoft (DOT) com>, Tony Joselin wrote:
Quote:
You are absolutly right, they are!

The question is now, how can I change it so they aren't? The transform data task just gives me a dropdown of available tables on that connection. Should I write an activex script task to go through each transform data task? If so, how do I change the destination table name through code?

Thanks

Tony Joselin

"Allan Mitchell" wrote:

How is the name for the tables in the transform data task specified?

I am willing to bet they look like this

DatabaseName.OwnerName.TableName

You need to make sure the SourceObjectName property is set to the name
of the table only.




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



The destination is

DestinationObjectName

You can, if using 2000, use the Disco Edit feature and do it through that instead.




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



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.