Question: how to use osql command?
Answer: To run OSQL, simply bring up a DOS box and type OSQL followed by any required switches. You can view the complete OSQL command syntax with: OSQL -? This technical note describes only those switches required to perform the operations included in the note.