By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,854 Members | 833 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,854 IT Pros & Developers. It's quick & easy.

Visual Explain on UDB DB2

P: n/a
Hi,

How do i get an explain report of a UDB DB2 stored procedure. DB2 is
installed on Unix

Currently i am copying each SQL in my stored procedure on to the
comman cneter and geting the visual explain report.

Is there a way i can run explain for the complete stored procedure.

Any pointer on this would be of great help.

Thanks,
Ranga
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Ian
Ranganath M V wrote:
Hi,

How do i get an explain report of a UDB DB2 stored procedure. DB2 is
installed on Unix

Currently i am copying each SQL in my stored procedure on to the
comman cneter and geting the visual explain report.

Is there a way i can run explain for the complete stored procedure.


You can use the db2expln utility to explain all of the statements within
a package (this applies with SQL stored procedures, and external stored
procedures that use static SQL).

See the command reference for details.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.