Click here to Skip to main content
15,889,216 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Optimization Pin
Paul Conrad3-Jan-06 9:36
professionalPaul Conrad3-Jan-06 9:36 
QuestionPreventing double column value Pin
gharry30-Dec-05 3:40
gharry30-Dec-05 3:40 
AnswerRe: Preventing double column value Pin
Colin Angus Mackay30-Dec-05 9:04
Colin Angus Mackay30-Dec-05 9:04 
QuestionSpecifying DSN in connection string Pin
Maqsood Ahmed29-Dec-05 21:03
Maqsood Ahmed29-Dec-05 21:03 
AnswerRe: Specifying DSN in connection string Pin
abhinish30-Dec-05 0:02
abhinish30-Dec-05 0:02 
QuestionReporting Services Programming Pin
mipooo29-Dec-05 18:10
mipooo29-Dec-05 18:10 
Questionbetter views or procedure? Pin
sasire1829-Dec-05 18:09
sasire1829-Dec-05 18:09 
AnswerRe: better views or procedure? Pin
Colin Angus Mackay30-Dec-05 0:46
Colin Angus Mackay30-Dec-05 0:46 
Personally, I prefer to access all data through stored procedures as this adds some extra protection in my application as I can revoke the access to the tables which means that if anyone gains access they can only do what the stored procedures petmit them, rather than have unfettered access to the tables directly.

Views kind of come in the same category as they allow the actual tables to be hidden behind the façade of the view.

There are not really any advantages or disadvatages either way. It depends on how you prefer to work. If the calculation is simple enough then a view will be fine.

However, if you require to filter the rows at any point then a stored procedure may be better as you can filter early and this sometimes helps the query optimiser find a better plan.

My: Blog | Photos

"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius

QuestionSpecified cast is not valid Pin
gharry29-Dec-05 9:38
gharry29-Dec-05 9:38 
AnswerRe: Specified cast is not valid Pin
Colin Angus Mackay29-Dec-05 15:30
Colin Angus Mackay29-Dec-05 15:30 
GeneralRe: Specified cast is not valid Pin
gharry29-Dec-05 23:02
gharry29-Dec-05 23:02 
GeneralRe: Specified cast is not valid Pin
gharry29-Dec-05 23:44
gharry29-Dec-05 23:44 
QuestionChanging the location for a replication subscription Pin
SeXyProwler29-Dec-05 9:37
SeXyProwler29-Dec-05 9:37 
QuestionSQL Server security Pin
Fad B29-Dec-05 6:50
Fad B29-Dec-05 6:50 
AnswerRe: SQL Server security Pin
Colin Angus Mackay29-Dec-05 15:38
Colin Angus Mackay29-Dec-05 15:38 
GeneralRe: SQL Server security Pin
Paul Conrad29-Dec-05 18:25
professionalPaul Conrad29-Dec-05 18:25 
GeneralRe: SQL Server security Pin
Fad B29-Dec-05 21:14
Fad B29-Dec-05 21:14 
GeneralRe: SQL Server security Pin
Fad B29-Dec-05 21:15
Fad B29-Dec-05 21:15 
QuestionParsing Text file w/ multple datasets and schema.ini? Pin
Joshua Lunsford29-Dec-05 6:33
Joshua Lunsford29-Dec-05 6:33 
QuestionExport xls from sql Pin
GoodQuestion28-Dec-05 6:52
GoodQuestion28-Dec-05 6:52 
AnswerRe: Export xls from sql Pin
S Douglas5-Jan-06 0:31
professionalS Douglas5-Jan-06 0:31 
GeneralRe: Export xls from sql Pin
GoodQuestion11-Jan-06 12:02
GoodQuestion11-Jan-06 12:02 
QuestionSQL table organization for authentication Pin
shapper28-Dec-05 3:48
shapper28-Dec-05 3:48 
AnswerRe: SQL table organization for authentication Pin
Paul Conrad28-Dec-05 6:38
professionalPaul Conrad28-Dec-05 6:38 
GeneralRe: SQL table organization for authentication Pin
Paul Conrad28-Dec-05 6:51
professionalPaul Conrad28-Dec-05 6:51 

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.