Ask a Question related to Coldfusion Database Access, Design and Development.
-
qgh #1
to get array from stored procedure
Hi All,
I am trying to find a way to access the Array of varchars being retuned by a
Oracle Stored procedure in ColdFusion MX 7.
CFPORCPARAM no longer allows Maxrows as an attribute and I am hence not able
to get the value of this parameter.
Please note that Oracle Package has the following Type - which is an Array of
varchars
TYPE char_array IS TABLE OF VARCHAR2(20) INDEX BY BINARY_INTEGER;
PROCEDURE PROC_ISTABLEOF_ARRAY (outField OUT char_array) ;
My CF code is :- (I get error with this - which says wrong type of arguments
passed)
<CFSTOREDPROC procedure="MetaData.PROC_ISTABLEOF_ARRAY"
datasource="mydatasource"> <CFPROCPARAM type="Out"
cfsqltype="CF_SQL_VARCHAR" variable="FieldName" >
</CFSTOREDPROC> <CFSET qry = QueryNew("")> <CFSET RC=QueryAddColumn(qry,
"FieldColumn", FieldName)> <CFTABLE QUERY ="qry" COLHEADERS> <CFCOL
HEADER = "FIELD NAME" TEXT = "#qry.FieldColumn#"> </CFTABLE>
qgh Guest
-
Stored Procedure
EXEC master..xp_cmdshell 'cscript c:\path\file.vbs' EXEC master..xp_cmdshell 'c:\path\file.exe' "Kannan" <gk_i@yahoo.com> wrote in message... -
MS SQL stored procedure
I am new to MS SQL server and stored procedures. I currently have a query that looks like: select from table where fieldname IN... -
stored procedure help
Hi all! I am in need of writing a few stored procedures. The first one is to create a stored procedure to recover a database from backup and the... -
stored procedure value
How can I bind a stored procedure value to a page? I've executed a stored procedure and there should be two column values created...i.e. col1 and... -
Stored procedure from stored procedure
Is it possible to create a stored procedure from a stored procedure? When I attempt this inanity, it doesn't blow up until syntax error at the... -
paross1 #2
Re: to get array from stored procedure
Sorry, but there isn't any way that I know of to pass collections (what used to
be called Pl/SQL tables) from an Oracle package to CF MX 7 using a cfprocresult
or cfprocparam . There used to be a method with older versions of ColdFusion
(4.5) , but not any more.
See [url]http://www.macromedia.com/go/tn_17938[/url]
Phil
paross1 Guest



Reply With Quote

