Click here to Skip to main content
15,887,746 members
Home / Discussions / Database
   

Database

 
GeneralRe: ADO events Pin
coderChina16-Mar-11 21:35
coderChina16-Mar-11 21:35 
GeneralInspecting / Analyzing transaction log file contents Pin
Hillel9-Mar-05 21:43
Hillel9-Mar-05 21:43 
GeneralRe: Inspecting / Analyzing transaction log file contents Pin
Mike Dimmick10-Mar-05 1:49
Mike Dimmick10-Mar-05 1:49 
GeneralBDE causes DB Open/Close to lose windows Handles Pin
Pankaj Kahal9-Mar-05 16:39
Pankaj Kahal9-Mar-05 16:39 
GeneralRe: BDE causes DB Open/Close to lose windows Handles Pin
Rob Graham10-Mar-05 7:02
Rob Graham10-Mar-05 7:02 
Generalwhats the proper defination of view Pin
feeha9-Mar-05 9:28
feeha9-Mar-05 9:28 
GeneralRe: whats the proper defination of view Pin
ToddHileHoffer9-Mar-05 10:25
ToddHileHoffer9-Mar-05 10:25 
GeneralRe: whats the proper defination of view Pin
Colin Angus Mackay9-Mar-05 13:32
Colin Angus Mackay9-Mar-05 13:32 
It isn't important to use a view unless your situation calls for it.

One use of VIEWs is to restrict access to data. For example, I normally lock out all the tables from all the users so that no one gets direct access to the tables. If they want to see the data they need to go to a view or use a stored procedure.

The way security works in SQL Server means that you can "revoke" permission on a table (or any object) to a specific user or role. However, if that object is accessed by something they do have access to (like a VIEW or PROCEDURE) then the user can use the data as much as they object they do have access to permits.

For instance, you could set up a view to hide columns from a table so that a specific user (or group of users) cannot see that data. Or you might perform a common join in the view so that commonly run queries are easier.

Does this help?




Cada uno es artifice de su ventura
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums


GeneralRe: whats the proper defination of view Pin
Yulianto.9-Mar-05 14:32
Yulianto.9-Mar-05 14:32 
GeneralRe: whats the proper defination of view Pin
Colin Angus Mackay9-Mar-05 14:53
Colin Angus Mackay9-Mar-05 14:53 
Generalit is givi ng me syntax error Pin
feeha9-Mar-05 7:37
feeha9-Mar-05 7:37 
GeneralRe: it is givi ng me syntax error Pin
ToddHileHoffer9-Mar-05 8:32
ToddHileHoffer9-Mar-05 8:32 
GeneralRe: it is givi ng me syntax error Pin
feeha9-Mar-05 9:26
feeha9-Mar-05 9:26 
GeneralQuestion on UNION syntax Pin
KreativeKai9-Mar-05 6:06
professionalKreativeKai9-Mar-05 6:06 
GeneralRe: Question on UNION syntax Pin
ToddHileHoffer9-Mar-05 8:35
ToddHileHoffer9-Mar-05 8:35 
GeneralRe: Question on UNION syntax Pin
Edbert P9-Mar-05 13:11
Edbert P9-Mar-05 13:11 
GeneralRe: Question on UNION syntax Pin
KreativeKai10-Mar-05 4:25
professionalKreativeKai10-Mar-05 4:25 
GeneralRe: Question on UNION syntax Pin
Edbert P10-Mar-05 15:36
Edbert P10-Mar-05 15:36 
GeneralRe: Question on UNION syntax Pin
KreativeKai11-Mar-05 3:15
professionalKreativeKai11-Mar-05 3:15 
GeneralTrancation Replication Problems Pin
tyaramis9-Mar-05 0:19
tyaramis9-Mar-05 0:19 
GeneralDBF Export from SQL server Pin
davethiss9-Mar-05 0:06
davethiss9-Mar-05 0:06 
GeneralHow Pin
Yulianto.8-Mar-05 17:46
Yulianto.8-Mar-05 17:46 
GeneralRe: How Pin
Yulianto.8-Mar-05 18:07
Yulianto.8-Mar-05 18:07 
GeneralRe: How Pin
ToddHileHoffer9-Mar-05 8:38
ToddHileHoffer9-Mar-05 8:38 
Questionhow to create a view in sql Pin
feeha8-Mar-05 9:10
feeha8-Mar-05 9:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.