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
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