Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.25 KB

File metadata and controls

46 lines (33 loc) · 1.25 KB
title setDate Method setDate Method to date value - string
description setDate Method setDate Method to date value - string
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerCallableStatement.setDate (java.lang.String, java.sql.Date)
apitype Assembly

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