Hi,
New to SQL so please excuse if this is a dumb question.
I am running this query:
osql /U user /P password /S server -d TNGDB -Q"select containerhost,dsm_obj_name from Agent where dsm_obj_name LIKE 'Log%'" -o c:\temp\query.out
The query.out file looks like this:
containerhost dsm_obj_name
SERVERNAME Log#20Agent#20V2
IE the containerhost column and the dsm_obj_name column appear on different lines.
How to I format the output so that it doesn't put different columns on different lines?
New to SQL so please excuse if this is a dumb question.
I am running this query:
osql /U user /P password /S server -d TNGDB -Q"select containerhost,dsm_obj_name from Agent where dsm_obj_name LIKE 'Log%'" -o c:\temp\query.out
The query.out file looks like this:
containerhost dsm_obj_name
SERVERNAME Log#20Agent#20V2
IE the containerhost column and the dsm_obj_name column appear on different lines.
How to I format the output so that it doesn't put different columns on different lines?