casperovjp
Programmer
I have a problem passing a date parameter created using CreateODBCDate to a
stored procedure here is the code
<cfset yourDate = CreateODBCDate("#URL.month#/#URL.day#/#url.year#">
<cfstoredproc datasource="workflowdblocal" procedure="sp_retrieve_sked">
<cfprocresult name="sked" resultset="1">
<cfprocparam type="In"
cfsqltype="CF_SQL_INTEGER"
dbvarname="provider_id"
value="1" null="No">
<cfprocparam type="In"
cfsqltype="CF_SQL_DATE"
dbvarname="seldate"
value="#yourdate#" null="No">
</cfstoredproc>
stored procedure here is the code
<cfset yourDate = CreateODBCDate("#URL.month#/#URL.day#/#url.year#">
<cfstoredproc datasource="workflowdblocal" procedure="sp_retrieve_sked">
<cfprocresult name="sked" resultset="1">
<cfprocparam type="In"
cfsqltype="CF_SQL_INTEGER"
dbvarname="provider_id"
value="1" null="No">
<cfprocparam type="In"
cfsqltype="CF_SQL_DATE"
dbvarname="seldate"
value="#yourdate#" null="No">
</cfstoredproc>