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
 SQL Server Development (2000)
 Replace

Author  Topic 

yuen
Starting Member

2 Posts

Posted - 2005-02-23 : 23:29:06
HI everyone . Am a beginner in SQL Server programming. Hope you dun mind to teach me more abt it.

Q: I wan to replace a field A with field B data, where both field A and field B is in the same table.

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2005-02-23 : 23:52:53
UPDATE
TableA
SET
FieldA = FieldB

Is that what you looking for?


Duane.
Go to Top of Page

yuen
Starting Member

2 Posts

Posted - 2005-02-24 : 00:45:25
yup TQ!!!
Go to Top of Page
   

- Advertisement -