Results 1 to 4 of 4

Thread: What are advantages of Pro*C?

  1. #1

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524

    What are advantages of Pro*C?

    Is there any advantage of ProC over other alternatives? In which situation one should go for ProC (for application business logic) instead of SQLJ or VB.NET, because all of them basically do the same thing?

    Any suggestions welcome.

    Thanks

    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  2. #2
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    Pro*C provides the greatest throughput when run on a server.
    It doesn't gain you anything running on a client.

    If you are making a distributed app, where the code runs on the client, use VB or Oracle Forms for the PC apps, Pro*C or PL/SQL for server background support (for example, a server app that runs coninuously and scans periodically for open orders to process them almost as soon as they come in), reporting, etc.

    Our system has 2500 users with 4 unix boxes for servers, and Oracle Forms running on PC clients.

  3. #3

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524
    Well, assuming running on server, what will be better - Pro*C or PL/SQL? Undoubtedly coding in PL/SQL easier than Pro*C. So, what shall I gain using Pro*C instead of PL/SQL?

    Thanks.
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  4. #4
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    Unless you use Oracle 9i, Pro*C uses the standard SQL parser
    (like you can use use new analytic functions, case statement, etc)
    PL/SQL uses an older, separate parser. You cannot access those features in PL/SQL

    In any event, Pro*C is faster, period.

    Go here:

    http://asktom.oracle.com/pls/ask/f?p=4950:1:

    Or better --

    Get Tom Kyte's 'expert one-on-one Oracle' book.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width