There is only one parameter for the sp. Just a simple search query returning a 
resultset. (MSSQL). It is declared in the proc as char(11). I'm not sure why it 
works in the cfquery call without quotes. The proc must treat it as a string 
regardless until the datatype is declared. Why should this be so hard? Anyone 
know of a tutorial or explanation of the CF sp tags/usage other than the CFML 
Reference?

>> Hi, I have an SP that I want to call correctly. I can
>
>> The proc returns a resultset like any other query
>> 0-whatever number of records.
>
>> Ideas?
>
>As Kevin says, the variable attribute is used for a return value --
>dbvarname was deprecated -- cfprocparam doesn't support calling
>parameters by name ... check your stored procedure, make sure
>pinnumber is the first (only?) parameter and that it's a varchar data
>type... your original syntax didn't have quotes around the parameter,
>so it looks like a numeric (although that could certainly be a typo).
>If none of those lead you anywhere you might try changing the drivers
>-- is this an Oracle database? I've heard (and experienced) that
>oracle drivers can be rather finicky.
>
>
>s. isaac dealey   954.522.6080
>new epoch : isn't it time for a change?
>
>add features without fixtures with
>the onTap open source framework
>
>http://www.fusiontap.com
>http://coldfusion.sys-con.com/author/4806Dealey.htm

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207266
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to