×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to order procedures and functions in database package

How to order procedures and functions in database package

How to order procedures and functions in database package

(OP)
Hello

I reverse engineered a database package, from an Oracle8i database, or a script, into a PDM model.
The package has many procedures.
The problem is that QDesigner (Quest's PowerDesigner) v. 9.5 orders the procedures by their name inside the package.
I wanted to maintain the same order like in the database.
I have a procedure in the package body only, that is used by other procedures in the package, and it must appear before the others.
QDesigner is also removing the comments inside the package and package body that are outside of the procedures or functions.

Regards,
Ronald Sönksen

RE: How to order procedures and functions in database package

The order of procedures in a package is not important to Oracle.  Order makes no difference to Oracle.  Think about what is cached in your shared pool - the whole package or just the program units most recently used???

As for Quest's product, I do not know how to tell it to stop stipping comments.  Sounds like a buggy product.

9i OCP

RE: How to order procedures and functions in database package

(OP)
Hello

If the package body has private functions or procedures, the order is important.

Regards,
Ronald Sönksen

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close