I want to store SQL statements inside SQL db. What datatype would you recommend for that?
At the moment I am using varchar(max), is it OK?
Also I do have a problem, probably because of the brackets, it tells me:
Incorrect syntax near the keyword 'NULL'.
Do you have any example how should I execute query to avoid such error?
Thanks