Click here to Skip to main content
15,891,856 members
Home / Discussions / Database
   

Database

 
GeneralRe: DB Small Footprint (Access? Firebird?) Pin
salsafyren221-Mar-05 0:08
salsafyren221-Mar-05 0:08 
GeneralRe: DB Small Footprint (Access? Firebird?) Pin
Luis Alonso Ramos23-Mar-05 20:43
Luis Alonso Ramos23-Mar-05 20:43 
Questionsuggest me a good book ? Pin
WDI19-Mar-05 22:18
WDI19-Mar-05 22:18 
AnswerRe: suggest me a good book ? Pin
Andy *M*21-Mar-05 9:25
Andy *M*21-Mar-05 9:25 
GeneralGenericOLEDB Pin
sjurmr19-Mar-05 11:20
sjurmr19-Mar-05 11:20 
GeneralSQL database protection Pin
Wimal Prasanna19-Mar-05 4:39
Wimal Prasanna19-Mar-05 4:39 
GeneralRe: SQL database protection Pin
Colin Angus Mackay19-Mar-05 10:32
Colin Angus Mackay19-Mar-05 10:32 
GeneralRe: SQL database protection Pin
Mike Dimmick19-Mar-05 23:08
Mike Dimmick19-Mar-05 23:08 
Don't allow your users to connect using the sa account. SQL Server has strong security support and by default, no-one other than the database owner has access to anything. You should consider what you want your users to be able to do with a database and set the roles appropriately.

If you don't want users to be able to edit data, I suggest writing stored procedures that accept data in the valid form, grant EXEC permission on the stored procedures, and revoke INSERT, UPDATE and DELETE permission on the underlying data tables. Then users must use the stored procedures to make changes.

If you're trying to ensure that only consistent data is stored, consider using primary keys, UNIQUE constraints, foreign key constraints and CHECK constraints to enforce valid data entry. If you want to denormalise your data (e.g. keep an order total field against an order record rather than summing each order line for that order), write a trigger that updates the order total when order lines are added, updated or deleted.

Stability. What an interesting concept. -- Chris Maunder
GeneralOR mapping tools And Object Broker pattern Pin
devvvy19-Mar-05 2:51
devvvy19-Mar-05 2:51 
GeneralSoundex In Ado.net Dataset Search Pin
Hemant Mane18-Mar-05 22:41
Hemant Mane18-Mar-05 22:41 
QuestionIIS Webhits via ADO.NET? Pin
harryteck18-Mar-05 13:39
harryteck18-Mar-05 13:39 
GeneralINNER JOIN Pin
HahnTech18-Mar-05 9:00
HahnTech18-Mar-05 9:00 
GeneralRe: INNER JOIN Pin
HahnTech18-Mar-05 10:22
HahnTech18-Mar-05 10:22 
QuestionCan someone give me an advise for my application's database Pin
Blue_Skye18-Mar-05 6:31
Blue_Skye18-Mar-05 6:31 
QuestionWhich is better on webservice? Pin
WDI18-Mar-05 0:27
WDI18-Mar-05 0:27 
AnswerRe: Which is better on webservice? Pin
Hesham Amin18-Mar-05 2:13
Hesham Amin18-Mar-05 2:13 
Generaland - or statement Pin
WDI18-Mar-05 0:20
WDI18-Mar-05 0:20 
GeneralRe: and - or statement Pin
Colin Angus Mackay18-Mar-05 1:58
Colin Angus Mackay18-Mar-05 1:58 
GeneralRe: and - or statement Pin
WDI25-Mar-05 6:46
WDI25-Mar-05 6:46 
GeneralRe: and - or statement Pin
Colin Angus Mackay25-Mar-05 11:18
Colin Angus Mackay25-Mar-05 11:18 
GeneralRe: and - or statement Pin
Michael Potter18-Mar-05 6:01
Michael Potter18-Mar-05 6:01 
GeneralRe: and - or statement Pin
Michael Potter18-Mar-05 6:13
Michael Potter18-Mar-05 6:13 
GeneralRe: and - or statement Pin
WDI18-Mar-05 9:31
WDI18-Mar-05 9:31 
GeneralRe: and - or statement Pin
Michael Potter18-Mar-05 10:04
Michael Potter18-Mar-05 10:04 
Questionhow to call for update in two different databases? Pin
mijan17-Mar-05 19:47
mijan17-Mar-05 19:47 

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.