I am thinking of storing non-sensitive SQL code in a column of a table. Is this considered an acceptable practice ? If yes, then what would be the best datatype for this ? This code is to be accessed by C# code.
EDIT - I am using SQL server. But, this seems like a generic RDBMS question.
Also, related question - What are the pros and cons to keeping SQL in Stored Procs versus Code