General information
Forum:
Microsoft SQL Server
Title:
Transfering rows from temp to perm
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only