ASP.NET - Storing SQL Queries in Global Resource File?

Posted by Arthur Chaparyan on Stack Overflow See other posts from Stack Overflow or by Arthur Chaparyan
Published on 2008-11-06T22:37:08Z Indexed on 2010/06/03 0:44 UTC
Read the original article Hit count: 305

Filed under:
|

Is it a good idea to store my SQL queries in a global resource file instead of having it in my codebehind? I know stored procedures would be a better solution but I don't have that luxury on this project.

I don't want queries all over my pages and thought a central repository would be a better idea.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about sql