Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transfering rows from temp to perm
Message
De
19/08/2002 11:02:04
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Transfering rows from temp to perm
Divers
Thread ID:
00691046
Message ID:
00691046
Vues:
45
Hello Group

They want me to transfer the rows from the temporary table cisstudemo to the permanent table studemo. Is this the best SQL statement for that. I am having problems with the constraints on the ident field and others.

INSERT INTO studemo
SELECT * FROM cisstudemo
WHERE ident not in (SELECT ident FROM studemo)

Thanks
Jim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform