1) Do all the SQL complete settings get saved in the vssettings file maintained by SSMS or is there some separate file?
2) I was wondering if there was some option to indent the code between the BEGIN & END statements.
for eg, this is how I would expect to see all statements between the begin and end blocks below (please ignore that I'm using just select statements here).
Code: Select all
BEGIN TRY
SELECT *
FROM Categories
SELECT *
FROM Customers
SELECT *
FROM Orders
END TRY
BEGIN CATCH
PRINT 'error'
END CATCH
Code: Select all
BEGIN TRY
SELECT *
FROM Categories
SELECT *
FROM Customers
SELECT *
FROM Orders
END TRY
BEGIN CATCH
PRINT 'error'
END CATCH