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 Administration (2000)
 Any synonym can create in sql server

Author  Topic 

jimmy
Starting Member

9 Posts

Posted - 2003-06-09 : 21:14:26
Hi, can we create synonym in sql server and how to create ?

The reason is when a user access a table that he is not a dbo
he need to user owner.tablename. Is there a way just refer to
the table without specifying the owner if you are not the dbo.

Thanks for help


chadmat
The Chadinator

1974 Posts

Posted - 2003-06-09 : 21:27:07
If the owner is dbo, then you shouldn't need to. Otherwise, you have to specify the owner. There is no synonym in SQL Server.

-Chad

http://www.clrsoft.com

Software built for the Common Language Runtime.
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2003-06-10 : 12:30:01
Yeah, but isn't the owner reference faster (not that I do this myself)?



Brett

8-)
Go to Top of Page

jimmy
Starting Member

9 Posts

Posted - 2003-06-11 : 03:14:04
Hi, thanks all.

If we assign with dbo owner, what are the previliges does the
user have ? they can drop the table also right ?



Go to Top of Page
   

- Advertisement -