Is there a TSQL statement to configure the output to be Text-Column aligned?
I want to use SQL templates for my coworkers to run some templated UPDATE before/after statements. But when they run the query it needs to output to text and Column delimited
So contrived example say I have this query:
USE master GO SELECT * FROM sys.dm_os_ring_buffers AS dorb WHERE dorb.timestamp = N'<time, bigint, NULL>'
Is there a some SET statement to configure the output to be Text-Column aligned? This is only for these specific queries otherwise my coworker would want their default settings which is grid. I also can't rely on them to know to change it and that is important because unlike my contrived example they are print commands of sql update before/after statements.
Thus far I think my best bet would be to create a SSMS Add-in but I REALLY do not want to spend time doing that!