Skip to main content
Nintex Community Menu Bar

How to run oracle stored procedure

  • June 27, 2019
  • 6 replies
  • 36 views

Forum|alt.badge.img+3

I am trying to run Oracle Stored Procedure and getting error. can anyone help me out on this. please find below screenshot for more information. connection is working okay but while I run query getting error.2868iA6C6300BD789BCFC.png2869i59A959AC68174EAD.png

6 replies

Forum|alt.badge.img+14
  • Scholar
  • June 28, 2019

EXECute is not an SQL command, it's just a sqlplus shortcut

 

try something like this

 

begin
   tempo.sp_CSSqlInsert( <list of args> );
end;

note as well ORACLE uses single quotes for strings


Forum|alt.badge.img+3
  • Author
  • Nintex Partner
  • June 28, 2019

I am getting following error. can you check is this the right way to pass parameters.

2878i880BED20B984B226.png


Forum|alt.badge.img+14
  • Scholar
  • July 1, 2019

ORACLE doens't understand MSSQL syntax...

so it doesn't recognize those @-signs. as well for named parameter list it doesn't use '=' but rather '=>' operator.

 

get in contact with the procedure developer or your DBA for proper syntax. 


Forum|alt.badge.img+3
  • Author
  • Nintex Partner
  • August 1, 2019

I am trying to run following which is working fine with values but not working with variables. can you help me fix it. please find below screenshot for more information.

 

3774iDC4C0F6BBE9EBE07.png3772iA3187AEBC8CFCE37.png3773i6667A65CE2F074EA.png

 

 


Forum|alt.badge.img+14
  • Scholar
  • August 1, 2019

that's expected - Run now takes variables literaly.

it can not know what values variables might have had in runtime.

you have to run workflow so that DB proc is called with variable values.


Forum|alt.badge.img
  • November 23, 2020

Hello,

 

Good Afternoon,

There are 6 Oracle Executing Stored Procedures and Functions

Please go through this link: https://docs.oracle.com/cd/B28359_01/appdev.111/b28845/ch6.htm

I hope this link will guide you.

 

Thanks & Regards,

Anita