Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Call Oracle Procedure ?

Hi All,

Qlikview can call Oracle procedure ?

I ever call oracle function already, but i want to call procedure.

Thanks,

4 Replies
Not applicable
Author

have done in sql using sql execute

must be possible for oracle also

regards

peter

Not applicable
Author

Hi all,

Thanks for your response and how about that command ?,

thank you again

regards,

Anonymous
Not applicable
Author

In Oracle, you can call a stored function with a syntax like:

var result number
exec :result := pkg_ims_status.ext_checkdbstatus()

The function will return a value to be stored in the variable result.

You can call the same function in QlikView using an ordinary SQL SELECT-statement like:

SQL SELECT
pkg_ims_status.ext_checkdbstatus() as status;


Running a stored procedure without returning any recordset:

Use the function CALL to specify the name of the stored procedure.

Example (Launches XYZ with the two parameters 2 & 5):

sql call XYZ ( 2 , 5 );

This works for both ODBC and OLE DB. However, when opening the connection using OLE DB, make sure to add (mode is write) before the finishing semi colon in the connection string.

Not applicable
Author

hi johannes

How can i call a oracle procedure with 2 input parameters and 2 output parameters????

it will be a great help if you can give a step by step syntax????

Thanks