Click here to Skip to main content
15,912,400 members
Home / Discussions / Database
   

Database

 
QuestionBest Way to Sync SQL Srv Databases Pin
Pago0076-Jul-09 3:58
Pago0076-Jul-09 3:58 
AnswerRe: Best Way to Sync SQL Srv Databases Pin
DoctorMick6-Jul-09 6:23
DoctorMick6-Jul-09 6:23 
AnswerRe: Best Way to Sync SQL Srv Databases Pin
dingoishere23-Feb-11 22:30
dingoishere23-Feb-11 22:30 
QuestionSchema Question Pin
Paul Unsworth6-Jul-09 3:13
Paul Unsworth6-Jul-09 3:13 
AnswerRe: Schema Question Pin
DoctorMick6-Jul-09 6:24
DoctorMick6-Jul-09 6:24 
AnswerRe: Schema Question Pin
David Mujica6-Jul-09 10:23
David Mujica6-Jul-09 10:23 
GeneralRe: Schema Question Pin
Paul Unsworth6-Jul-09 21:42
Paul Unsworth6-Jul-09 21:42 
GeneralRe: Schema Question Pin
David Mujica7-Jul-09 2:57
David Mujica7-Jul-09 2:57 
Well ... defining ownership implicitly has security implications right?

User "Sales" has full access to table Sales.Order, but user "A" will not have access to this table unless specifically granted.

Are you looking to develop databases for use with a website or a client-server windows application ? The reason for this is that with a website or N-Tier applicaiton typically the database and all of its objects are owned by "dbo" (database owner), you then create 1 user "myappuser" that is granted access to that database and you build your security in the application, not the database. The user, "myappuser" has full access to all aspects of the database and your individual users may need only read access to most tables and update to a select few.

Think about a large company with 10,000 users. Would you want the database administrator to have to create 10,000 user accounts and have 10,000 user connections when the system is running ? Nope. You have 1 user connected to the database and he makes all of the requests on behalf of the users. (This is a very simple description, but you should get the idea.)

CodeProject is a great resource for learning and the community is very helpful.

Keep asking questions and have fun learning. Smile | :) Smile | :)

David
GeneralRe: Schema Question Pin
Paul Unsworth7-Jul-09 3:14
Paul Unsworth7-Jul-09 3:14 
GeneralAlong with security, consider auditing Pin
David Mujica7-Jul-09 3:25
David Mujica7-Jul-09 3:25 
GeneralRe: Along with security, consider auditing Pin
Paul Unsworth7-Jul-09 4:28
Paul Unsworth7-Jul-09 4:28 
QuestionIF else or Case when Pin
Vimalsoft(Pty) Ltd6-Jul-09 2:34
professionalVimalsoft(Pty) Ltd6-Jul-09 2:34 
AnswerRe: IF else or Case when Pin
DoctorMick6-Jul-09 6:28
DoctorMick6-Jul-09 6:28 
GeneralRe: IF else or Case when Pin
Vimalsoft(Pty) Ltd6-Jul-09 19:58
professionalVimalsoft(Pty) Ltd6-Jul-09 19:58 
QuestionSelect null value Pin
yesu prakash6-Jul-09 2:20
yesu prakash6-Jul-09 2:20 
AnswerRe: Select null value Pin
Eddy Vluggen6-Jul-09 3:28
professionalEddy Vluggen6-Jul-09 3:28 
AnswerRe: Select null value Pin
Niladri_Biswas6-Jul-09 15:51
Niladri_Biswas6-Jul-09 15:51 
QuestionSQL Stored Procedure INSERT with random records from a 2nd table [modified] Pin
munklefish6-Jul-09 0:46
munklefish6-Jul-09 0:46 
AnswerRe: SQL Stored Procedure INSERT with random records from a 2nd table Pin
DoctorMick6-Jul-09 1:05
DoctorMick6-Jul-09 1:05 
GeneralRe: SQL Stored Procedure INSERT with random records from a 2nd table Pin
munklefish6-Jul-09 1:09
munklefish6-Jul-09 1:09 
GeneralRe: SQL Stored Procedure INSERT with random records from a 2nd table Pin
Blue_Boy6-Jul-09 6:11
Blue_Boy6-Jul-09 6:11 
GeneralRe: SQL Stored Procedure INSERT with random records from a 2nd table Pin
munklefish7-Jul-09 0:04
munklefish7-Jul-09 0:04 
Questioni neeed help Pin
mahmoudinirat5-Jul-09 23:32
mahmoudinirat5-Jul-09 23:32 
AnswerRe: i neeed help Pin
DoctorMick6-Jul-09 0:00
DoctorMick6-Jul-09 0:00 
QuestionWant to understand how to fine tune stored procedure in SQL Server 2005? Pin
Sasmi_Office5-Jul-09 20:12
Sasmi_Office5-Jul-09 20:12 

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.