Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I call Oracle stored procedures that ignore parameters?

0
Posted

How can I call Oracle stored procedures that ignore parameters?

0
10

Here’s what we use that works: CallableStatement cstmt = conn.prepareCall ( “Begin procName; END; “); Cstmt.execute (); Where procName is the name of a stored procedure Oracle. This is an Oracle SQL syntax that works with any Oracle DBMS. You can also use the following syntax: CallableStatement cstmt = conn.prepareCall ( “(call procName };”); Cstmt.execute (); This code, which conforms to the specification Java Extended SQL, will work with any DBMS, and not just Oracle.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.