This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes PL/SQL method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "PL/SQL method" Watch "PL/SQL method" New topic
Author

PL/SQL method

Jackie Wang
Ranch Hand

Joined: Apr 18, 2002
Posts: 315

if i wanna write a very similar method in pl/sql.
what's the equivalent?
Thanks!
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1121

Hi Jackie,
How's this:

Just out of curiosity, have you read the PL/SQL User's Guide and Reference?
I couldn't tell from your post which version of Oracle you are using, so I am assuming the latest version. Here is a link to the online version:
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/toc.htm
Hope this helps.
Good Luck,
Avi.
Jackie Wang
Ranch Hand

Joined: Apr 18, 2002
Posts: 315
hi Avi,
thanks for the quick respond and i found the site is VERY useful =)
appreciated that.
Jackie Wang
Ranch Hand

Joined: Apr 18, 2002
Posts: 315
how to handle
when there's exception?
new java.math.BigDecimal();
Is that the same function?
Thanks avi
Jackie Wang
Ranch Hand

Joined: Apr 18, 2002
Posts: 315
i.e.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: PL/SQL method
 
Similar Threads
Catching PK violations in JDBC
WA #1.....word association
how can fix this error
Closing cursor in a stored procedure when invoked from a callable statement
execute block