dbTalk Databases Forums  

Retrieving Unique Identifier

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


Discuss Retrieving Unique Identifier in the microsoft.public.sqlserver.dts forum.



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

Default Retrieving Unique Identifier - 07-09-2003 , 10:28 PM






I know that I have asked this question but I forgot how to
do it.

I have a DTS package that is going to be entering several
records at a time into a table with a primary key
defined. What I need to do is when I insert a record into
that table, I need to be able to retrieve that id after it
is created and update it to another table. How can I do
this?

Thanks in advance.


Reply With Quote
  #2  
Old   
JFB
 
Posts: n/a

Default Re: Retrieving Unique Identifier - 07-10-2003 , 10:43 AM






Hi ScubaFrog,
You can use lookups for these...
http://www.sqldts.com/default.aspx?6,107,277,7,1
JFB

"ScubaFrog" <scubafrog79 (AT) spammeanddie (DOT) bellsouth.net> wrote

Quote:
I know that I have asked this question but I forgot how to
do it.

I have a DTS package that is going to be entering several
records at a time into a table with a primary key
defined. What I need to do is when I insert a record into
that table, I need to be able to retrieve that id after it
is created and update it to another table. 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.