Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub Query not working
Message
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Titre:
Sub Query not working
Divers
Thread ID:
01176038
Message ID:
01176038
Vues:
98
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform