Blog Stats
  • Posts - 298
  • Articles - 0
  • Comments - 3113
  • Trackbacks - 0

 

Of Patterns and SQL Stored Procedures

Some people have been discussing SQL Stored procedures lately.  I figured I'd weigh in. 

As with most things programming, it really depends on what you're trying to accomplish.  There are certain situations when lots of stored procedures are appropriate (application designed to run on a single database, higher security, speed, etc), and certain situations where they are not (dynamic queries, multiple database types supported, etc).

The most helpful thing you can do in any type of programming is pick a pattern and stick with it!  Real world however, it's just doesn't seem to work out that way- there's always some wierd case that pops in.  When this happens you need to make sure to document it thoroughly.

At the end of the day, pattern or no, if your code is easy to read, understand, debug, and the application works; you have been successful.


Feedback

# re: Of Patterns and SQL Stored Procedures

Gravatar

Guess which design patterns users like?  They don't care!  They want an application that works.  :)

1/20/2005 8:42 AM |

# re: Of Patterns and SQL Stored Procedures

Gravatar

They probably don't care what language it was written in either. But if they found out that the choice of language and patterns affects how much it will cost to maintain the application, then they might suddenly get interested.

<br>

<br>It's like when I get my oil changed. I don't care what brand of oil they use as long as the car keeps running. But as soon as it stops working I start to wonder whether they used a quality or poor brand of oil.

1/20/2005 9:36 AM |

# nike free tilbud

Gravatar Hier werden unter Beteiligung von Wissenschaftlern, Tepco-Mitarbeitern und Politikern die billige air max 2011 n?chsten Schritte zur air max 2011 Stilllegung und nike air max 2011 zum Abbau billige nike free der Anlage air max 2011 Mænd besprochen. Der Aussto? an radioaktiven Partikeln ist deutlich gesunken, aber noch immer ist es kaum m?glich die Geb?ude 1, 2 und 3 air max 2011 dame zu betreten. All... 9/27/2012 5:49 PM | nike free tilbud

Post a comment





 

Please add 1 and 5 and type the answer here:

 

 

Copyright © Eric Wise