Which is better: Ad hoc queries, or stored procedures?

Posted by Will on Stack Overflow See other posts from Stack Overflow or by Will
Published on 2008-08-22T17:10:30Z Indexed on 2010/05/03 20:58 UTC
Read the original article Hit count: 183

Filed under:
|
|

Assuming you can't use Linq for whatever reason, is it a better practice to place your queries in stored procedures, or is it just as good a practice to execute ad hoc queries against the database (say, Sql Server for argument's sake)?

© Stack Overflow or respective owner

Related posts about sql

Related posts about stored-procedures