Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 1.52 KB

File metadata and controls

59 lines (46 loc) · 1.52 KB
title setDate Method setDate Method to date value - string | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql-non-specified
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerCallableStatement.setDate (java.lang.String, java.sql.Date)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 4762e2bd-5e94-4562-97d5-f023ecffc08c
caps.latest.revision 9
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

setDate Method (java.lang.String, java.sql.Date)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given date value.

Syntax

  
public void setDate(java.lang.String sCol,  
                    java.sql.Date d)  

Parameters

sCol

A String that contains the parameter name.

d

A Date object.

Exceptions

SQLServerException

Remarks

This setDate method is specified by the setDate method in the java.sql.CallableStatement interface.

See Also

SQLServerCallableStatement Members
SQLServerCallableStatement Class