According to the accepted answer to this question, the osql.exe utility can be run as a standalone program on a computer wit开发者_开发技巧hout SQLServer, simply by copying the binary file to the new
I\'m trying to write a program in Java that uses osql to generate a list of databases on a server. My code is as follows: