?
Solved

Anyone know the query syntax for calling a Stored Procedure in DB2?

Posted on 2002-04-15
3
Medium Priority
?
246 Views
Last Modified: 2011-09-20
I would like to start using stored procedures in DB2 with JSP, but I don't know the query syntax and the IBM site is almost useless.

Anyone have query examples they can share?
Thanks
0
Comment
Question by:cgttsp01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
cheekycj earned 200 total points
ID: 6944855
calling a stored proc in JSP is the same as in standard Java.  Use the CallableStatement Object.

http://www.j-netdirect.com/GenStoredProcedures.htm
http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html

Sun's entire tutorial is an excellent resource:
http://java.sun.com/docs/books/tutorial/jdbc/index.html

for db2 specific info:
http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg245945.pdf

CJ
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 8692632
Thanx for the "A" and good luck.

CJ
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn how to use the free Acronis True Image app to easily transfer data between iPhones and Android phones.
What's worse than having your data encrypted by ransomware? Getting attacked by a so-called "wiper," which simply destroys the data and offers you no hope of ever seeing it again.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question