This is my first time using cfstoredproc and I'm having a bit of difficulty...I tried using the dbvarname attribute to pass my variables into my sql2000 stored procedure, but it returned no records and a status code of 0. But when I rearranged my <cfprocparam>'s so that the order of the variables was consistent with the order in the stored procedure, it worked. I thought that if you used dbvarname, the order didn't matter?????
<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" dbvarname="@yr" value="2002">
<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" dbvarname="@semester" value="3">
<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" dbvarname="@myid" value="111111">
<cfprocresult name="Highest">
</cfstoredproc>
Thanks for any insight!
<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" dbvarname="@yr" value="2002">
<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" dbvarname="@semester" value="3">
<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" dbvarname="@myid" value="111111">
<cfprocresult name="Highest">
</cfstoredproc>
Thanks for any insight!