Question : Cfstoredproc

Hi ,

In my application , i call a sybase stored procedure using cfstoredproc "wv_SearchCustomer"

here is the code :


dbvarname="@CustNo" value="01AWS" null="No">
dbvarname="@CustName" null="Yes">

 

It takes 2 input parameters ,

if i execute it directly in Sybase it returns only 1 record , but if i get the recordcount through coldfusion , it returns the total number of records in the database.

what could be the problem , pls help.

Thnx in advance
Awsns.

Answer : Cfstoredproc

The following should work if dbvarname actually works, right?
Give it a shot.


dbvarname="@CustName" null="Yes">
dbvarname="@CustNo" value="01AWS" null="No">

 

Unless there is something completely different between the ODBC used for MS SQL and Sybase? I know with MS SQL the dbvarname never worked, you had to declare the cfprocparam in the order the variables where declared in the SP.
Random Solutions  
 
programming4us programming4us