What are the differences between osql, isql, and sqlcmd?

前端 未结 4 1405
挽巷
挽巷 2021-02-01 03:01

I am interested in using some kind of a command-line utility for SQL Server similar to Oracle\'s SQL*Plus. SQL Server seems to have several options: osql, isql, and sqlcmd. Howe

4条回答
  •  长发绾君心
    2021-02-01 03:22

    I'm not sure what the scope of your question is, but I believe :

    isql used DB-Library to communicate to the server and is no longer included after SQL2000

    osql used ODBC to communicate to the server and will no longer included after SQL2005

    sqlcmd used OLE DB to communicate to the server and is currently the recommended command line tool.

提交回复
热议问题