Hi,
I got two questions now
1) I have two tables dbo.emp and myuser.emp, I login thru query analyzer using my login myuser which connected user myuser in the database. Whenever I user select without ownername, it select from dbo.emp not from myuser.emp
2) How do I select from a table in a different database specifying the owner of the table?
e.g. select * from pubs..emp
it works but it selects from dbo.emp, what I want is to select from myuser.emp in pubs
Could anybody explain these ??
I got two questions now
1) I have two tables dbo.emp and myuser.emp, I login thru query analyzer using my login myuser which connected user myuser in the database. Whenever I user select without ownername, it select from dbo.emp not from myuser.emp
2) How do I select from a table in a different database specifying the owner of the table?
e.g. select * from pubs..emp
it works but it selects from dbo.emp, what I want is to select from myuser.emp in pubs
Could anybody explain these ??