February 23, 2012, Thursday, 53


Calling a stored procedure from your application

From SQL PL Guide for DB2

Jump to: navigation, search

Calling a Stored Procedure from your Application

A stored procedure can be called from many different codes. They can be executed from C/C++, JDBC, SQLJ, PHP, .NET, REXX, etc. In the DB2 Information center are multiple example how you have to write your code:

  • Calling stored procedures in JDBC applications: DB2 9.5
  • Calling stored procedures in an SQLJ application: DB2 9 DB2 9.5
  • Calling stored procedures in C and C++ embedded SQL applications: DB2 9 DB2 9.5
  • Calling stored procedures from CLI applications: DB2 9 DB2 9.5
  • Calling stored procedures from an application using the IBM Data Server Provider for .NET: DB2 9 DB2 9.5
  • Calling stored procedures in PHP (ibm_db2): DB2 9 DB2 9.5
  • Calling stored procedures in PHP (PDO): DB2 9 DB2 9.5
  • Calling stored procedures from REXX: DB2 9 DB2 9.5