共用方式為


getCatalogSeparator Method (SQLServerDatabaseMetaData)

Retrieves the String that this database uses as the separator between a catalog and table name.

public java.lang.String getCatalogSeparator()

傳回值

A String that contains the catalog separator.

例外狀況

SQLServerException

備註

This getCatalogSeparator method is specified by the getCatalogSeparator method in the java.sql.DatabaseMetaData interface.

When using the Microsoft SQL Server 2005 JDBC Driver with a SQL Server database, this method returns a period (".") as the catalog separator.

另請參閱

參考

SQLServerDatabaseMetaData Class

概念

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members