Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 (中文) » SQL Anywhere 服务器 - 编程 » JDBC 支持 » jConnect JDBC 驱动程序 » jConnect 驱动程序连接字符串

 

如何使用 jConnect 连接字符串指定数据库

每个 SQL Anywhere 数据库服务器一次都能装载一个或多个数据库。如果通过 jConnect 连接时提供的 URL 只指定了服务器,而没有指定数据库,则尝试连接的数据库是服务器上的缺省数据库。

您可以通过下列任一方式提供 URL 的扩展形式,由此而指定特定数据库。

 使用 ServiceName 参数
 使用 RemotePWD 参数
 另请参见