Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
This method was added in SQL Server JDBC Driver 3.0.
Modifies the setting of the sendTimeAsDatetime connection property.
Syntax
public void setSendTimeAsDatetime(boolean sendTimeAsDateTime)
Parameters
sendTimeAsDateTime
A Boolean value. When true, causes java.sql.Time values to be sent to the server as SQL Server datetime types. When false, causes java.sql.Time values to be sent to the server as SQL Server time types.
Remarks
SQLServerDataSource.getSendTimeAsDatetime returns the setting of the sendTimeAsDatetime connection property.
For more information on the sendTimeAsDatetime connection property, see Setting the Connection Properties.
For more information, see Configuring How java.sql.Time Values are Sent to the Server.