dbTalk Databases Forums  

Transform Data Task

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


Discuss Transform Data Task in the microsoft.public.sqlserver.dts forum.



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

Default Transform Data Task - 09-14-2003 , 07:21 PM






I use DTS for transfer data from AS/400 to SQL Server.
Source connection is As/400 and use 'ODBC'.
Destination connection is SQL Server and use 'Microsoft OLEDB Provider for
SQL Server'.
In [Source] tab of Transform Data Task , i use 'SQL query' like this.

SELECT * FROM "AS400"."LIBRARY1"."TABLE1"

My problem is i want to change LIBRARY1 by read value from Grobal Variable.

How can i do this?
Thanks in advance.




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

Default Re: Transform Data Task - 09-15-2003 , 01:36 AM






How about this

Global Variables and SQL statements in DTS
(http://www.sqldts.com/Default.aspx?205)

--

----------------------------
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



"ton" <barameek (AT) inglife (DOT) co.th> wrote

Quote:
I use DTS for transfer data from AS/400 to SQL Server.
Source connection is As/400 and use 'ODBC'.
Destination connection is SQL Server and use 'Microsoft OLEDB Provider for
SQL Server'.
In [Source] tab of Transform Data Task , i use 'SQL query' like this.

SELECT * FROM "AS400"."LIBRARY1"."TABLE1"

My problem is i want to change LIBRARY1 by read value from Grobal
Variable.

How can i do this?
Thanks in advance.






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.