Solved

SQL prepared statement

Posted on 2014-03-07
1
259 Views
Last Modified: 2014-03-07
Hi,

I would like to know if it is good technique to define prepared statements at the top of a script and then execute them where needed or does it matter. is there a proper technique say including a page with them in it at the top
0
Comment
Question by:M. Jayme Nagy
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39913231
Doesn't matter. Whichever works for you.
I use a mixture of both.
One off statements I declare as and when I need them.
Multi call statements I declare at the top.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now