Click here to Skip to main content
15,794,593 members
Home / Discussions / Database
   

Database

 
AnswerRe: SSMS 2016 and SQL Server 2008R2 Pin
Richard Deeming27-Jun-18 2:35
mveRichard Deeming27-Jun-18 2:35 
GeneralRe: SSMS 2016 and SQL Server 2008R2 Pin
#realJSOP27-Jun-18 3:46
mve#realJSOP27-Jun-18 3:46 
QuestionSQL Server Agent Monitoring Pin
#realJSOP26-Jun-18 2:48
mve#realJSOP26-Jun-18 2:48 
QuestionCheck for object existence sql server 2012 is creating stored procedure as dynamic sql Pin
indian14325-Jun-18 11:36
indian14325-Jun-18 11:36 
AnswerRe: Check for object existence sql server 2012 is creating stored procedure as dynamic sql Pin
Richard Deeming26-Jun-18 2:50
mveRichard Deeming26-Jun-18 2:50 
QuestionPDO/mySQL/PHP - when is it OK to NOT use parameter binding, when should I REALLY use it? Pin
needAbreakNow17-Jun-18 17:13
needAbreakNow17-Jun-18 17:13 
AnswerRe: PDO/mySQL/PHP - when is it OK to NOT use parameter binding, when should I REALLY use it? Pin
Jörgen Andersson17-Jun-18 20:29
professionalJörgen Andersson17-Jun-18 20:29 
AnswerRe: PDO/mySQL/PHP - when is it OK to NOT use parameter binding, when should I REALLY use it? Pin
Mycroft Holmes17-Jun-18 21:43
professionalMycroft Holmes17-Jun-18 21:43 
I'm not as fanatical as Jorgen, there is no circumstance where you should NOT use parameter binding. However there are circumstances (most) where you MUST use parameter binding. If a user or application has anything to do with the values then you MUST use parameters.

The only time I would risk not using parameters is when there is no external input of the values.

An example of where I will risk string queries would be if you have a master table of countries with an Active attribute field. I might use select * from Country where ActiveFlag = 1 from my BL layer.

But seeing as I have a code generator that automatically builds the DAL, model and viewmodel code for me I ALWAYS use parameters and stored procedures
Never underestimate the power of human stupidity
RAH

AnswerRe: PDO/mySQL/PHP - when is it OK to NOT use parameter binding, when should I REALLY use it? Pin
Eddy Vluggen18-Jun-18 1:27
professionalEddy Vluggen18-Jun-18 1:27 
AnswerRe: PDO/mySQL/PHP - when is it OK to NOT use parameter binding, when should I REALLY use it? Pin
jschell23-Jun-18 6:12
jschell23-Jun-18 6:12 
QuestionPDO Get Previous and Next Record partially working Pin
needAbreakNow16-Jun-18 22:19
needAbreakNow16-Jun-18 22:19 
AnswerRe: PDO Get Previous and Next Record partially working Pin
Richard MacCutchan16-Jun-18 22:32
mveRichard MacCutchan16-Jun-18 22:32 
AnswerRe: PDO Get Previous and Next Record partially working Pin
Victor Nijegorodov16-Jun-18 23:45
Victor Nijegorodov16-Jun-18 23:45 
AnswerRe: PDO Get Previous and Next Record partially working Pin
needAbreakNow17-Jun-18 0:06
needAbreakNow17-Jun-18 0:06 
GeneralRe: PDO Get Previous and Next Record partially working Pin
Richard MacCutchan17-Jun-18 2:11
mveRichard MacCutchan17-Jun-18 2:11 
GeneralArgus Pin
Keith@Stand15-Jun-18 5:17
Keith@Stand15-Jun-18 5:17 
GeneralRe: Argus Pin
CHill6015-Jun-18 5:21
mveCHill6015-Jun-18 5:21 
GeneralRe: Argus Pin
jschell23-Jun-18 6:17
jschell23-Jun-18 6:17 
QuestionCode Expert Pin
Keith@Stand7-Jun-18 9:13
Keith@Stand7-Jun-18 9:13 
AnswerRe: Code Expert Pin
OriginalGriff7-Jun-18 9:16
mvaOriginalGriff7-Jun-18 9:16 
AnswerRe: Code Expert Pin
Swinkaran7-Jun-18 19:39
professionalSwinkaran7-Jun-18 19:39 
GeneralRe: Code Expert Pin
Keith@Stand7-Jun-18 20:18
Keith@Stand7-Jun-18 20:18 
GeneralRe: Code Expert Pin
Mycroft Holmes17-Jun-18 21:51
professionalMycroft Holmes17-Jun-18 21:51 
GeneralRe: Code Expert Pin
jschell23-Jun-18 6:21
jschell23-Jun-18 6:21 
AnswerRe: Code Expert Pin
Christopher Stewart27-Jun-18 11:47
Christopher Stewart27-Jun-18 11: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.