Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Column Level Security

Status
Not open for further replies.

enigma333

Programmer
Jul 3, 2001
42
CA
Is there anyway to use column level security but instead of an error when attempting to select a column with no permission I want to have it just not appear.
i.e. Give access to 3 of 5 columns then when you do a SELECT * FROM TABLE you get just those 3 columns
Any thoughts.
Thanks
 
Create a view on the table and then give the users just permissions to the view for example:

CREATE VIEW viewename AS
SELECT col1, col2, col3
FROM tablename


Rick.


 
Wanted a different way that would require fewer views .. a lot of different users to maintain so views will become tedious
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top