简体   繁体   English

如果不是ODBC,mysql,postgresql和Oracle sql对它们的命令行客户端使用什么?

[英]What do mysql, postgresql, and Oracle sql use for their command line clients, if not ODBC?

From https://docs.microsoft.com/en-us/sql/tools/sqlcmd-utility https://docs.microsoft.com/zh-cn/sql/tools/sqlcmd-utility

sqlcmd uses ODBC to execute Transact-SQL batches. sqlcmd使用ODBC执行Transact-SQL批处理。

I wonder what APIs are used by the command line clients of mysql, postgresql, and Oracle sql. 我想知道mysql,postgresql和Oracle sql的命令行客户端使用什么API。 ODBC, JDBC, or ...? ODBC,JDBC还是...?

Thanks. 谢谢。

Each of the databases you mention use their own protocol for client-server communication. 您提到的每个数据库都使用它们自己的协议进行客户端-服务器通信。

For MySQL and PostgreSQL these are documented, while as far as I know Oracle's protocol is not published. 对于MySQLPostgreSQL,这些都有文档记录,而据我所知,Oracle的协议尚未发布。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM