<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 7 - htmldocs - 00000313.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T10:28:56</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#62874" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#48470" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#40211" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#39330" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#36192" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#32286" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#29289" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#62874">
		<title>coldfusion/7/htmldocs/00000313.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#62874</link>
		<description>The documentation appears to be wrong and the history missing some information.  CFMX 7.0.2 under Cumulative Hotfix 1 now uses attribute dbvarname to allow named parameters.  It no longer ignores this attribute; if it is wrong, coldfusion will crash.  Perhaps the docs are not routinely updated to reflect hotfixes, but it would be helpful to mention this behavior right here.  Thanks!&lt;br /&gt;&lt;br /&gt;References: &lt;br /&gt;- ColdFusion MX 7.0.2 Cumulative Hot Fix 1 (cf. note regarding #52712)&lt;br /&gt;http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb400074&lt;br /&gt;&lt;br /&gt;-ColdFusion MX 7.0.2: Using named parameters with stored procedures using cfprocparam &lt;br /&gt;http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=24c08da9&lt;br /&gt;&lt;br /&gt;--abs</description>
		<dc:creator>Ancient Barking Spider</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-02-22T17:51:28</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#48470">
		<title>coldfusion/7/htmldocs/00000313.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#48470</link>
		<description>You still can't use overloaded Oracle procedures if your stored procedure uses ref cursors, as it throws a [Macromedia][Oracle JDBC Driver][Oracle]ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments error. I have seen bug number 53122 associated with this problem back in MX 6.1, but it is still not supported.</description>
		<dc:creator>paross1</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-05-11T14:17:05</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#40211">
		<title>coldfusion/7/htmldocs/00000313.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#40211</link>
		<description>The article http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17938 mentions another way to go through a table (method 2).  Is that still working with mx 7?  or do we need to switch to cursors?&lt;br /&gt;thanks!</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-09-29T13:12:54</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#39330">
		<title>coldfusion/7/htmldocs/00000313.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#39330</link>
		<description>When &quot;type&quot; is set to INOUT, &quot;variable&quot; attribute is optional and &quot;value&quot; is required in 7,0,0,91690. Documentation has it the other way around.</description>
		<dc:creator>ej345</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-09-11T11:34:46</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#36192">
		<title>coldfusion/7/htmldocs/00000313.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#36192</link>
		<description>You need to build a procedure around it to do a decent call, see http://www.orafusion.com/oracf_pls.htm</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-07-01T05:05:11</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#32286">
		<title>coldfusion/7/htmldocs/00000313.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#32286</link>
		<description>My apologies for the continued mistake. Here is a better (if simpler) example.&lt;br&gt;&lt;br&gt;For the following ORACLE stored procedure:&lt;br&gt;****************************************&lt;br&gt;set echo on&lt;br&gt;-- *** @cMACRSampleRefCursor.sql ***&lt;br&gt;-- *** NOTE: Logon using the SCOTT schema ***&lt;br&gt;spool MACR_SAMPLE_PROC.txt&lt;br&gt;-- ***&lt;br&gt;-- *** Create script for PACKAGE: MACR_SAMPLE_PROC ***&lt;br&gt;-- ***&lt;br&gt;CREATE OR REPLACE PACKAGE MACR_SAMPLE_PROC AS&lt;br&gt;&lt;br&gt;  PROCEDURE sampleproc(	&lt;br&gt;			pParam1 in 	integer, &lt;br&gt;			pParam2 out 	varchar2);&lt;br&gt;END MACR_SAMPLE_PROC;&lt;br&gt;&lt;br&gt;/&lt;br&gt;CREATE OR REPLACE PACKAGE BODY MACR_SAMPLE_PROC AS&lt;br&gt;  PROCEDURE SampleProc(&lt;br&gt;		       pParam1 in     integer,&lt;br&gt;		       pParam2 out    varchar2) IS&lt;br&gt;   BEGIN&lt;br&gt;     IF pParam1 = 1&lt;br&gt;     THEN&lt;br&gt;       pParam2 := 'Hello !!';&lt;br&gt;     ELSE&lt;br&gt;       pParam2 := 'Goodbye !!';&lt;br&gt;     END IF;&lt;br&gt;   END SampleProc;&lt;br&gt;&lt;br&gt;END MACR_SAMPLE_PROC ;&lt;br&gt;/&lt;br&gt;***************************************&lt;br&gt;You use the following example CFML code:&lt;br&gt;&lt;cfstoredproc procedure=&quot;SCOTT.MACR_SAMPLE_PROC.SAMPLEPROC&quot;&lt;br&gt;			  datasource=&quot;psdb_jdbc_ora_817&quot;&lt;br&gt;			  RETURNCODE=&quot;no&quot;&gt;&lt;br&gt;&lt;br&gt;	&lt;cfprocparam type=&quot;In&quot;&lt;br&gt;             cfsqltype=&quot;CF_SQL_INTEGER&quot;&lt;br&gt;             variable=&quot;OneIsHello_TwoIsBye&quot;&lt;br&gt;			 value=&quot;1&quot;&gt;&lt;br&gt;&lt;br&gt;	&lt;cfprocparam type=&quot;Out&quot; &lt;br&gt;		cfsqltype=&quot;CF_SQL_VARCHAR&quot; &lt;br&gt;		variable=&quot;HiOrBye&quot;&gt;&lt;br&gt;	&lt;br&gt;&lt;/cfstoredproc&gt;&lt;br&gt;&lt;br&gt;&lt;cfdump var=&quot;#HiOrBye#&quot;/&gt;</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2005-04-25T12:45:44</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#29289">
		<title>coldfusion/7/htmldocs/00000313.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000313.htm#29289</link>
		<description>from above&lt;br /&gt;&quot;You cannot use the cfprocparam tag for Oracle 8 and 9 reference cursors. Instead, use the cfprocresult tag.&quot;&lt;br /&gt;&lt;br /&gt;yet the example above us using cfprocparam with ref cursors!  This same doc mishap  is in the 6.1 docs too.</description>
		<dc:creator>dougk</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-03-08T19:38:29</dc:date>
	</item>
	</rdf:RDF>

