zino
3/28/2007 9:40:00 PM
In sql server 2005 I have a table named "Clients",
CREATE TABLE Clients
(serviceCenter varchar(25),
CompanyName varchar (25), ... .... ..)
"ServiceCenter" contains different values (ex: NY, VA, NJ, ... ...)
is there a way I can create a schema and restrict its permission based on
the column's value.
ex: with 2 schemas : schema1, schema2
I need schema1 to view only records having "ServiceCenter"= 'NY'
and schema2 to view only records having "ServiceCenter"= 'VA','NJ'
thanks