setCatalog Method (SQLServerConnection)
Sets the given catalog name to select a subspace of this SQLServerConnection object's database in which to work.
Syntax
public void setCatalog(java.lang.String catalog)
Parameters
catalog
A String that contains the catalog name.
Exceptions
Remarks
This setCatalog method is specified by the setCatalog method in the java.sql.Connection interface.
The catalog argument is escaped by the Microsoft JDBC Driver for SQL Server automatically. Using this method sets the catalog property for the Connection object. It is not set implicitly in any other way.
See Also
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ