Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Insert From (but using the same table)

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-10-27 : 08:11:32
Sammy Burgos writes "How I can insert a new row to a table from the same table, just changing un value fiels?

Thanks"

Stoad
Freaky Yak Linguist

1983 Posts

Posted - 2003-10-27 : 08:56:41
insert into t
select PK=55555, Col1, Col2, ..., ColN
from t
where PK=5
Go to Top of Page
   

- Advertisement -