January 6, 2015 at 10:33 am
Hi All,
We are using .net 2012 and sql 2012.My environment is Recharge Application .
We want to hide one operator like Vodafone so for that what we need to do.
Pls help me out....
Regards
Chowdary...
January 6, 2015 at 11:55 am
If you want to prevent that people read certain rows from a table, you can remove access from that table, create a view with the correct filters and give permissions on the view.
If that's not what you're talking about, we need more details.
January 6, 2015 at 3:46 pm
The view is a good approach.
You could also look to adding an additional join to a table that lists the data you want (or don't want, I'd probably go with whichever is the smaller data set) included and then filter by that table.
You could also look at an in-line table function that you can pass an exclusion list to (or again, an inclusion list). Not sure I like that idea, but I'm thinking about this as I type.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply