Link to home
Start Free TrialLog in
Avatar of chickanna
chickannaFlag for Afghanistan

asked on

proxy tables in SQL Server

Experts.. I am in the process of migrating an old Sybase database to SQL server 2005. In Sybase I have proxy tables that point to a different database table. How and is there a way to create proxy tables in SQL Server. If there is no such tables, what is the alternative solution?
ASKER CERTIFIED SOLUTION
Avatar of mayank_joshi
mayank_joshi
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lcohan
It is called SQL Security and you could go very deep into details or use views where you could also grant speciffic rights to SQL logins and hide the actual data tables as mayank_joshi suggested.

http://www.microsoft.com/sqlserver/2005/en/us/security.aspx
You can go down to column level permissions like below so only users entitled to perform certain actions against your data can do it:

GRANT SELECT (<column1>, <Column2>,<Column3>) ON Employees TO [MyDOMAIN\user]

DENY SELECT <Column4> ON Employees TO [MyDOMAIN\user]