dbTalk Databases Forums  

Oracle's PRO*C to Oracle PL/SQL

comp.databases comp.databases


Discuss Oracle's PRO*C to Oracle PL/SQL in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Selvarengan@gmail.com
 
Posts: n/a

Default Oracle's PRO*C to Oracle PL/SQL - 05-11-2007 , 12:44 AM






I am looking for tools that automate, or help , the conversion of
Oracle's PRO*C to Oracle PL/SQL.Information on any such tools and
experiences are very welcome. Thanks.


Reply With Quote
  #2  
Old   
Ed Prochak
 
Posts: n/a

Default Re: Oracle's PRO*C to Oracle PL/SQL - 05-11-2007 , 01:41 PM






On May 11, 12:44 am, Selvaren... (AT) gmail (DOT) com wrote:
Quote:
I am looking for tools that automate, or help , the conversion of
Oracle's PRO*C to Oracle PL/SQL.Information on any such tools and
experiences are very welcome. Thanks.
This request is unclear. Do you want
to call PLSQL from ProC?
then read the manuals.

to take a given ProC program source code and thru some filter make a
PL/SQL package automatically?
I know of no such tool. It would be very difficult to do given the
differences between ProC and PL/SQL. It seems akin to taking assembler
and comverting back to a high level language like PASCAL or COBOL.

to extract the embedded SQL from the ProC program?
Seems like a text editor should be able to do this nicely keying off
the EXEC lines.

If I was to rewrite a ProC program in PL/SQL, then that's what I'd do:
rewrite it. The embedded SQL comes free but the processing code will
be much different in PL/SQL than it is in C. It may be better to go
back to the Business Requirements document to drive the rewrite.

HTH,
ed



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.