I dn't know if it is possible to do as in MySQL (for example) but you will run SQL scripts from QueryAnalyzer everytime you want to do it. Also you can make your own programs what does what instead of query analyzer. John Fill
mysqlfile.sql is the file containing the T-SQL statements.
I'm not clear what you mean by "save the command in buffer to a file." You can type the OSQL command line in a text editor and save a BAT file to be executed later. If that's not what you need to know, please provide a little more detail. Terry L. Broadbent
faq183-874 contains some tips and ideas for posting questions in these forums. Please review it and comment if you have time. NOTE: Reference to the FAQ is part of my signature and is not directed at any individual.
OSQL doesn't have the abilty to save in the way you want. As John suggested, you can use Query Analyzer which is a much better interactive tool than OSQL. Once you've created the script in QA, you can save it and then execute it in OSQL in the future. Terry L. Broadbent
faq183-874 contains some tips and ideas for posting questions in these forums. Please review it and comment if you have time. NOTE: Reference to the FAQ is part of my signature and is not directed at any individual.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.