I would like to know if there is an extension that allows me to define regions inside the visual studio 2012 editor while editing user defined functions or plain t-sql queries.
I've tried the following but it doesn't seem to do much:
-- #region This is a region with t-sql code
...
-- #endregion
SQL Visualizer allows for code regions. Using that, you can start a region with --REGION
and end it again with -- END REGION
.
There's also the SSMS toolpack.
Natively, you could choose to wrap the specific blocks with BEGIN and END statements:
http://msdn.microsoft.com/en-us/library/cc281835.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With