getTimestamp Method (int) (SQLServerResultSet)
Retrieves the value of the designated column index in the current row of this SQLServerResultSet object as a java.sql.Timestamp object in the Java programming language.
Syntax
public java.sql.Timestamp getTimestamp(int columnIndex)
Parameters
columnIndex
An int that indicates the column index.
Return Value
A Timestamp object.
Exceptions
Remarks
This getTimestamp method is specified by the getTimestamp method in the java.sql.ResultSet interface.
This method returns values only from SQL Server datetime and smalldatetime columns.
See Also
getTimestamp Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho