title: How to store queries in SQL Server database?
body: <p>I manage a mini database and I write procedures for complex transactions and data cleansing. I also do a lot of ad-hoc querying and I save all of my queries in a folder. Is there any way I can save these queries in the database so that some of my peers can review my SQL queries?</p>
  
  <p>In my search, I understand that I can write a procedure for smaller queries too. But I want to know if there is another method to do this?</p>