|
Here's a simple SP I created in an Amazon MySQL RDS (an existing
datasource for an existing OpenBD app): DELIMITER $$ USE `myDatabase`$$ CREATE PROCEDURE `myDatabase`.`testCFSTORPROC` (OUT em CHAR(80)) BEGIN SELECT useremail INTO em FROM `myDatabase`.`user` WHERE iduser = 1; END$$ After I compiled that, I ran this CFML in my OpenBD desktop version 3.0; Build=2013-03-04 04:03:30 GMT <cfstoredproc datasource="myDatasource" procedure="testCFSTORPROC" result="testResult"> <cfprocparam type="out" cfsqltype="CF_SQL_VARCHAR" variable="theEmail" /> </cfstoredproc> <cfdump var="#testResult#" /> <cfdump var="#theEmail#" /> Both the testResult structure (with the execution time) and theEmail variable were displayed out without issue. So OpenBD's cfstoredproc seems to be executing - under this simple test at least! HTH, Al On 3/28/2014 4:51 PM, Alan Holden
wrote:
From a search; it appears as though "cfSTOREDPROC" is present in the OpenBD source, which would lead me to think that it's supposed to be supported: -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. |
- [OpenBD] <cfstoredproc> or <cfquery>? Douglas McGregor
- Re: [OpenBD] <cfstoredproc> or <cfquery>... Alan Holden
- Re: [OpenBD] <cfstoredproc> or <cfquery... Alan Holden
- [OpenBD] Re: <cfstoredproc> or <cfquery>... Aaron J. White
- Re: [OpenBD] Re: <cfstoredproc> or <cfq... Douglas McGregor
- Re: [OpenBD] Re: <cfstoredproc> or <... Alan Holden
- Re: [OpenBD] Re: <cfstoredproc> or... Aaron J. White
- [OpenBD] Re: <cfstoredproc> or <cfquery>... Aaron J. White
- [OpenBD] Re: <cfstoredproc> or <cfquery... Aaron J. White
