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)
 updating multiple tables

Author  Topic 

dass05555
Yak Posting Veteran

55 Posts

Posted - 2008-03-18 : 06:45:09
Dear gurus,

how to update two tables,
having the same column name .

table1 table2
------- -------
c1 c1
------ ------

1 1
2 2
3 3


thanks in advance
dass

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-03-18 : 07:24:44
Update Table1
Set c1=values

Update table2
set c1=values

do you mean you need to do this by single update?
Go to Top of Page
   

- Advertisement -