cfstoredproc

Different results with cfstoredproc and cfquery

老子叫甜甜 提交于 2019-12-24 11:34:06
问题 When I execute a stored proc via cfstoredproc , I am getting a different result than calling that stored proc via cfquery . I am passing in the same exact parameter values to each call. And also, when I run the stored proc in SQL Studio, I get the correct results (same as the cfquery). Here's the cfstoredproc call <cfstoredproc datasource="#request.mainDSN#" debug="#request.debug#" procedure="rankingresults"> <cfprocparam type="in" value="8652" CFSQLType="CF_SQL_INTEGER"> <cfprocparam type=

no statement parsed and wrong number or types of arguments - cfstoredproc

天大地大妈咪最大 提交于 2019-12-12 05:16:35
问题 I have an Oracle procedure - editBacklog which I'm calling from a CFM page via cfstoredproc. After several changes to the procedure I started getting ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'EDITBACKLOG' . I've gotten this before and found that if I changed the name of the procedure it starts working again. I changed the name to editBacklog2 and it worked as I expected it to. I changed the name back to editBacklog and got the same error. I changed

array or list into Oracle using cfprocparam

一曲冷凌霜 提交于 2019-12-01 08:55:16
I have a list of values I want to insert into a table via a stored procedure. I figured I would pass an array to oracle and loop through the array but I don't see how to pass an array into Oracle. I'd pass a list but I don't see how to work with the list to turn it into an array using PL/SQL (I'm fairly new to PL/SQL). Am I approaching this the wrong way? Using Oracle 9i and CF8. EDIT Perhaps I'm thinking about this the wrong way? I'm sure I'm not doing anything new here... I figured I'd convert the list to an associative array then loop the array because Oracle doesn't seem to work well with

array or list into Oracle using cfprocparam

人走茶凉 提交于 2019-12-01 06:44:55
问题 I have a list of values I want to insert into a table via a stored procedure. I figured I would pass an array to oracle and loop through the array but I don't see how to pass an array into Oracle. I'd pass a list but I don't see how to work with the list to turn it into an array using PL/SQL (I'm fairly new to PL/SQL). Am I approaching this the wrong way? Using Oracle 9i and CF8. EDIT Perhaps I'm thinking about this the wrong way? I'm sure I'm not doing anything new here... I figured I'd