Hello, I am a real noob at SQL programming and was wondering if someone could tell me how it would be possible for me to have my sql script output to a txt file?
For example the sql script file I have saved is select * from abc.def:
1. How can I automate the output to a txt file? 2. How can I run the script from a command line since I am doing this now from SSMS.