If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Using Sprocs all the time

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-07-09, 00:50
Frunkie Frunkie is offline
Gives Bad Advice
 
Join Date: Mar 2007
Location: 010101010110100
Posts: 791
Using Sprocs all the time

Hey everyone. I'm wondering if it would be a bad thing to use sprocs for all of my queries, inserts and updates; just standardize. I'm not really experiencing any performance issues but I'd like to have the pros and cons as to when to use them and when not to.

I'm working for the State right now on an application and one of the other developers was telling me that in order to get an Oracle sql statement converted into a sproc is like pulling teeth and meetings have to be called. It's a big deal for them and I'm wondering what all the fuss is about. Personally, if there are more advantages to using them, then that's the way I want to go. Just thought I'd ask.

Reply With Quote
  #2 (permalink)  
Old 06-07-09, 03:10
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
Quote:
Originally Posted by Frunkie
...I'd like to have the pros and cons as to when to use them and when not to.
pros: stored procs work wonderfully

cons: you have a bureaucracy to deal with


next question?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 06-07-09, 14:47
Frunkie Frunkie is offline
Gives Bad Advice
 
Join Date: Mar 2007
Location: 010101010110100
Posts: 791
Thanks Rudy. I figured it was a bureaucracy after about the first week there. Now I know why the state is broke. .....Nobody works! All they do is have meetings about nothing.

BTW: I finished reading Simply SQL and just wanted to thank you for an extremely well written book! I enjoyed it very much and was very helpful. I actually have it in my desk at work and use it for a reference.

Reply With Quote
  #4 (permalink)  
Old 06-07-09, 15:32
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
thanks frank

you've made an old man very happy

thanks for the kind words

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On