Stored Procedures, Dynamic SQL or static SQL and testing.
| From: | Richard Quadling | Date: | Sat, 26 Mar 2011 13:00:23 +0000 |
| Subject: | Stored Procedures, Dynamic SQL or static SQL and testing. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-47734@lists.php.net to get a copy of this message | ||
Hi.
What preferences do you all have when using SQL. Stored Procedures or
PHP generated dynamic SQL or parameterized static SQL.
Whichever you use how do you test them? Do you use unit testing in
your PHP code? If so, do you also have unit code testing for the SQL
statements (I suppose this mainly relates to SPs).
Does using a different RDBMS make a difference to the SQL coding style
you'd use?
This isn't for any sort of thesis, just trying to see what the general
consensus is of those that reply.
Thanks for answering.
Richard Quadling.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY