Stored Queries?
Posted
by phpeffedup
on Stack Overflow
See other posts from Stack Overflow
or by phpeffedup
Published on 2010-05-05T20:43:44Z
Indexed on
2010/05/05
20:48 UTC
Read the original article
Hit count: 275
mysql
|stored-procedures
Is it considered crazy to store common SQL queries for my web app in a database for use in execution? Or is that common practice? Or is it impossible?
My thinking is, this way, I avoid hard-coding SQL into my application files, and add another level of abstraction.
Is this crazy? Is this what a stored procedure is? Or is that something else?
© Stack Overflow or respective owner