{"id":782,"date":"2014-09-01T16:44:27","date_gmt":"2014-09-01T20:44:27","guid":{"rendered":"http:\/\/www.peteonsoftware.com\/?p=782"},"modified":"2024-04-08T13:04:06","modified_gmt":"2024-04-08T17:04:06","slug":"podcast-episode-22-in-defense-of-stored-procedures","status":"publish","type":"post","link":"https:\/\/www.peteonsoftware.com\/index.php\/2014\/09\/01\/podcast-episode-22-in-defense-of-stored-procedures\/","title":{"rendered":"Podcast Episode 22 &#8211; In Defense of Stored Procedures"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.peteonsoftware.com\/images\/201409\/Gavel.jpg\" alt=\"Gavel - Labeled for CC Reuse, From http:\/\/upload.wikimedia.org\/wikipedia\/commons\/b\/b2\/CourtGavel.JPG\" title=\"Gavel - Labeled for CC Reuse, From http:\/\/upload.wikimedia.org\/wikipedia\/commons\/b\/b2\/CourtGavel.JPG\" style=\"float:left;margin:.5em;\">Episode 22 finds me talking about Stored Procedures. Stored Procedures have gotten a bad rap not just recently, but for over a decade. Stored Procedure apologists don&#8217;t always help the matter and misinformation abounds. I take a look at stored procedures and why it isn&#8217;t the worst thing in the world if you use them.<\/p>\n<p>I haven&#8217;t forgotten my last podcast about religious arguments and I try to take an honest look at when stored procedures aren&#8217;t terrible, when ORMs are best, and when in-line parameterized SQL might be your best option.  Too often, I feel that developers are scared of the database because they don&#8217;t know it or only have a limited view of what it could be for.  In this episode, I look at it from all angles.<\/p>\n<p><strong>Links Mentioned in this Show:<\/strong><br \/>\n<a href=\"http:\/\/grokable.com\/2003\/11\/dont-use-stored-procedures-yet-must-be-suffering-from-nihs-not-invented-here-syndrome\/\">Rob&#8217;s Original Post<\/a><br \/>\n<a href=\"http:\/\/weblogs.asp.net\/fbouma\/38178\">Frans Bouma&#8217;s Reply<\/a><br \/>\n<a href=\"http:\/\/grokable.com\/2003\/11\/last-post-on-the-topic-at-least-for-now\/\">Rob&#8217;s Rebuttal<\/a><br \/>\n<a href=\"http:\/\/blog.codinghorror.com\/who-needs-stored-procedures-anyways\/\">Jeff Atwood&#8217;s Post<\/a><br \/>\n<a href=\"http:\/\/ayende.com\/blog\/1728\/should-you-use-nhibernate-with-stored-procedure\">Ayende&#8217;s Compromise<\/a><br \/>\n<a href=\"http:\/\/ziplocate.us\/\">Zip Locate<\/a><br \/>\n<a href=\"https:\/\/github.com\/chriskiehl\/Gooey\">Gooey<\/a><\/p>\n<p>You can also subscribe to the podcast at any of these places:<br \/>\n<a href=\"https:\/\/itunes.apple.com\/us\/podcast\/the-pete-on-software-podcast\/id789451013?mt=2&amp;ign-mpt=uo%3D4\"><img decoding=\"async\" src=\"https:\/\/www.peteonsoftware.com\/images\/Podcast\/iTunes.png\" style=\"border:none;\" alt=\"iTunes Link\" title=\"iTunes Link\"><\/a> <a href=\"https:\/\/www.peteonsoftware.com\/pospfiles\/posp.xml\"><img decoding=\"async\" src=\"https:\/\/www.peteonsoftware.com\/images\/Podcast\/Rss.png\" style=\"border:none;\" alt=\"RSS Feed\" title=\"RSS Feed\"><\/a><\/p>\n<p>Thanks to all the people who listen, and a special thanks to those who have rated me.  I really appreciate it.<\/p>\n<p><strong>The episodes have been archived.  Click <a href=\"https:\/\/www.peteonsoftware.com\/podcast\">Here<\/a> to see the archive page.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Episode 22 finds me talking about Stored Procedures. Stored Procedures have gotten a bad rap not just recently, but for over a decade. Stored Procedure apologists don&#8217;t always help the matter and misinformation abounds. I &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,87],"tags":[98,4],"class_list":["post-782","post","type-post","status-publish","format-standard","hentry","category-podcasts","category-sql","tag-podcasts","tag-sql"],"_links":{"self":[{"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/posts\/782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/comments?post=782"}],"version-history":[{"count":0,"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/posts\/782\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/media?parent=782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/categories?post=782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/tags?post=782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}