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

SQL Anywhere 12.0.1 » SQL Anywhere 服务器 - 编程 » JDBC 支持 » jConnect JDBC 驱动程序 » 将 URL 提供给驱动程序

 

指定服务器上的数据库

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

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

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