Stored Procedures in Django Comments http://www.chrisumbel.com/article/django_python_stored_procedures.aspx#comments Stored Procedures in Django Sun, 05 Feb 2012 02:53:44 GMT Comment by Paco on Mon Aug 10 2009 14:08:11 GMT+0000 (UTC) Do you have an example of where you can't avoid stored procs? I can't think of any except when your using a shared-db legacy application, which is not the case when your using Django. http://www.chrisumbel.com/article/django_python_stored_procedures.aspx#comments_4c4b2ecf9453131804000020 http://www.chrisumbel.com/article/django_python_stored_procedures.aspx#comments_4c4b2ecf9453131804000020 Mon, 10 Aug 2009 14:08:11 GMT Comment by chrisumbel on Mon Aug 10 2009 16:08:19 GMT+0000 (UTC) Darn close. In my case I'm conditionally performing some write operations via other procedures (essentially logging and transaction tracking) in a third-party second database /* if some condition is met */ call OtherDatabase.LogSearch(...); and conditionally union-ing my query results with a table in that second database; /* if some condition is met */ select title, url from searcher_document union select title, url from OtherDatabase.documents; It's a definite edge-case. http://www.chrisumbel.com/article/django_python_stored_procedures.aspx#comments_4c4b2ecf9453131804000021 http://www.chrisumbel.com/article/django_python_stored_procedures.aspx#comments_4c4b2ecf9453131804000021 Mon, 10 Aug 2009 16:08:19 GMT