Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table synchoronize

Status
Not open for further replies.

aajaydee

Technical User
Oct 16, 2005
39
US
I have a two databases running on one server
I want to update table in current database from other database name sitemgr on same server
So data on both table will be synchoronize


Update
tblUser
set
UserName = p.UserName,
LoginID =p.LoginID,
EmailAddress =p.EmailAddress
From
sitemgr.dbo.tbluser p

what I got is
last record of sitemgr.dbo.tbluser is inserted into tbluser

which I do not need

would you please help
what I’m doing wrong
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top