dbTalk Databases Forums  

Session Variable in DTS

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


Discuss Session Variable in DTS in the microsoft.public.sqlserver.dts forum.



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

Default Session Variable in DTS - 08-14-2006 , 11:45 PM






hi,
i am using SQL server 2005, can i use a session variable in DTS package.
i am importing a Text file, i have a field ("USER_ID") in the database table
that which user has imported the file. how can i achive this.
THanks

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

Default Re: Session Variable in DTS - 08-15-2006 , 02:47 PM






Do you want to extract this column value from the file?

Do you want to insert the User's name into a column called USER_ID?


If you want to insert the User's name then look at a derived column
transform and look at a system variable named "UserName"



--


Allan Mitchell
Konesans Ltd
T +44 7966 476 572
F +44 2071 008 479
http://www.konesans.com



"TaHir" <TaHir (AT) discussions (DOT) microsoft.com> wrote

Quote:
hi,
i am using SQL server 2005, can i use a session variable in DTS package.
i am importing a Text file, i have a field ("USER_ID") in the database
table
that which user has imported the file. how can i achive this.
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.