开发者

Which dll's are required to run osql.exe as a standalone?

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 computer. My question is, however, which other files need to be copied along with osql.exe for it to work?

Thanks so much!


This utility uses ODBC to communicate with the server.


A good tool for finding the answer to this question is Dependency Walker

And running depends.exe on osql.exe for SqlServer 2008 64 bit reveals the dependencies msvcr80.dll and odbc32.dll. And those DLLs are very likely to be installed already.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜