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
 General SQL Server Forums
 New to SQL Server Programming
 duplicating a columns

Author  Topic 

tpiazza55
Posting Yak Master

162 Posts

Posted - 2008-10-14 : 16:13:54
I have a user table with email address and usernames. I want to make each username the same as the corresponding email address

how do i make this update statement?

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2008-10-14 : 16:24:07
update table set username=emailadress

Webfred


Planning replaces chance by mistake
Go to Top of Page

tpiazza55
Posting Yak Master

162 Posts

Posted - 2008-10-14 : 16:33:13
thanks so much -- thought it would be harder
Go to Top of Page
   

- Advertisement -