mickbrooke
IS-IT--Management
Does anyone know of a way to print out the contents of the OSQL buffer? I have written some scripts which, when I run via OSQL, simply return the status of each command. I would like to show the user the sql statement which is being executed.
e.g. osql -d dbname
1> select * from table
2> go
if 1> had scrolled off the screen, how do I display it again? [sig][/sig]
e.g. osql -d dbname
1> select * from table
2> go
if 1> had scrolled off the screen, how do I display it again? [sig][/sig]