Posted by David Portas on 11/03/05 15:16
PLEASE post DDL. PLEASE include the KEYS and CONSTRAINTS with the DDL.
Without this information any answers you get will just be guesswork.
Read the following article to understand how to do this and how to
include sample data as INSERT statements to make it easier for others
to test out solutions:
http://www.aspfaq.com/etiquette.asp?id=5006
You SELECT INTO is more or less irrelevent here. What we really need to
know is the KEYS for the base table, or the table on which you want to
perform the UPDATE or SELECT.
--
David Portas
SQL Server MVP
--
[Back to original message]
|