Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sub Query not working
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Title:
Sub Query not working
Miscellaneous
Thread ID:
01176038
Message ID:
01176038
Views:
97
Hello All, can anyone explain why the following SP doesn't insert any records ?, the dbo.ListNos table can be empty but the linked server always has records.
ALTER     PROCEDURE BatchUpdateListNos 
 AS
Insert into dbo.ListNos 
Select li_no As AdmitList,lux_or_uk As LuxOrUK
From lcsshare...ListNos t1 ,dbo.ListNos t2
Where t2.AdmitList
Not in
(Select li_no From lcsshare...ListNos)
Regards,
Peter J. Kane



Pete
Next
Reply
Map
View

Click here to load this message in the networking platform