Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub Query not working
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Divers
Thread ID:
01176038
Message ID:
01176045
Vues:
32
This message has been marked as the solution to the initial question of the thread.
>Hi Sergey, I'm trying to import data from a linked server table into a SQL server table but only records that aren't already present (on the SQL end) cheers

Try
INSERT INTO dbo.ListNos 
	SELECT li_no AS AdmitList, lux_or_uk AS LuxOrUK
	From lcsshare...ListNos  
	WHERE li_no NOT IN (SELECT li_no From dbo.ListNos)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform