Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 DTS Lookup returns identity

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-04-22 : 07:30:27
Sara writes "Hi,

I am trying to use a lookup to first insert data into a master table and then return the identity field to a variable. This variable will then be used to insert data into a support table.

I have tried adding SELECT @@IDENTITY AS 'Identity' to my lookup code after the insert but this doesn't work.

Thanks for your help!

Sara"

ValterBorges
Master Smack Fu Yak Hacker

1429 Posts

Posted - 2003-04-22 : 10:18:10
Can you script out your dts package as vb and post and post your ddl and dml?


Go to Top of Page
   

- Advertisement -