Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Accessing an Oracle Function

Status
Not open for further replies.

khurampk

IS-IT--Management
Mar 9, 2009
1
US
Hi There,
I am trying to access an oracle function and getting an error.

CREATE OR REPLACE FUNCTION simple RETURN VARCHAR2 IS
BEGIN
RETURN 'Simple Function';
END simple;

<cfstoredproc procedure="simple" datasource="MySource" returnCode ="no">
<CFPROCRESULT name="simple_function">
</cfstoredproc>

Error:
Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Oracle][ODBC]Syntax error or access violation.

I do have access to this function. I tried it from SQL Plus and it works fine.

any help in this will be highly appreciated.

Regards,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top