Hi KG!
If you are not joking, I innocently tell you -
OSQL is a command line utility application which is stored in 'C:\Program Files\Microsoft SQL Server\80\Tools\Binn' directory. Use the command line which i have mentioned in -
start > run and type the whole string.
OR
Start > run then type cmd [enter]
Type the string of OSQL and then you will find the output in spedified file. There will be no space between -U -S and -P options.
The file may contain some spaces and hyphens remove them.
If you ask me write a
VB program that will automatically create a xml file based on your query, I can write that for you.
But, I think you must be known of OSQL and you must be joking. I liked that ..