I want to copy only 'Column Headers' from the result set in Microsoft Sql Server Management Studio but I didn't find any option. Same option is there is Oracle SQL server management. I googled about it but didn't find any thing that would help me so wanted to check if there a way to do this
Run your query without any result-set using select * from tablename where 1=2
then use "Copy with Header".This is the only way to copy only columns header.
Instead of result into grid please use Result to text. Result to Text - Ctrl+3
Hope this helps.
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