Click here to Skip to main content
15,908,581 members
Home / Discussions / Database
   

Database

 
GeneralProgram loaded before Sql service Pin
Anonymous10-Mar-05 23:23
Anonymous10-Mar-05 23:23 
GeneralRe: Program loaded before Sql service Pin
Yulianto.11-Mar-05 16:07
Yulianto.11-Mar-05 16:07 
GeneralRe: Program loaded before Sql service Pin
Anonymous12-Mar-05 15:11
Anonymous12-Mar-05 15:11 
GeneralApplication Level Transaction Vs Stored Proc Transaction Pin
devvvy10-Mar-05 14:48
devvvy10-Mar-05 14:48 
Questionwhat does this error means Error converting data type varchar to int. Pin
feeha10-Mar-05 11:27
feeha10-Mar-05 11:27 
AnswerRe: what does this error means Error converting data type varchar to int. Pin
Edbert P10-Mar-05 15:50
Edbert P10-Mar-05 15:50 
Generalplz help me in the following code Pin
feeha10-Mar-05 11:13
feeha10-Mar-05 11:13 
GeneralRe: plz help me in the following code Pin
Colin Angus Mackay10-Mar-05 11:35
Colin Angus Mackay10-Mar-05 11:35 
GeneralRe: plz help me in the following code Pin
turbochimp14-Mar-05 17:58
turbochimp14-Mar-05 17:58 
Questionhow to save databse along with its data Pin
eshban28410-Mar-05 8:25
eshban28410-Mar-05 8:25 
AnswerRe: how to save databse along with its data Pin
Colin Angus Mackay10-Mar-05 10:06
Colin Angus Mackay10-Mar-05 10:06 
Generalupdating an SQL table in C# Pin
clemenslinders10-Mar-05 5:59
clemenslinders10-Mar-05 5:59 
GeneralADO events Pin
ledallam10-Mar-05 4:06
ledallam10-Mar-05 4:06 
GeneralRe: ADO events Pin
numbrel11-Mar-05 3:55
numbrel11-Mar-05 3:55 
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 

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.