Is Oracle is a compiler or interpretter....?

Could You Please tell some details...
Thanks
Rinson K.E.

Oracle is a massive set of large programs.
Some parts are interpreters.
Others are configurators.
Others are compilers.
And the database engine contains a 4GL processor. Fourth Generation Languages are 'descriptive' rather than 'object oriented' or 'procedural'. You describe what you want to occur (insert, select, ...), what results you need (expression list) and the source from which you want the information to be extracted, and the processor creates a set of steps through it's library to fulfill the requirement. Since that has traditionally been a new 'plan' for each time the question is asked, one could call that an interpreter. However, with stored outlines, one could say the plan can be 'compiled'.
But that says nothing about the PL/SQL engine that also exists in the database kernel.
Perhaps you could provide some details about what you are asking about.

Similar Messages

  • Is pl/sql programming language compiler or interpreter language?

    Hello guys,
    Is pl/sql programming language compiler or interpreter language?
    Thanks
    Edited by: Polat on 14.Mar.2012 09:09

    >
    Is pl/sql programming language compiler or interpreter language?
    >
    Both -
    See Compiling PL/SQL Units for Native Execution in the PL/SQL Language Doc
    http://docs.oracle.com/cd/E18283_01/appdev.112/e17126/tuning.htm#sthref1023
    >
    You can usually speed up PL/SQL units by compiling them into native code (processor-dependent system code), which is stored in the SYSTEM tablespace.
    You can natively compile any PL/SQL unit of any type, including those that Oracle Database supplies.
    Natively compiled program units work in all server environments, including shared server configuration (formerly called "multithreaded server") and Oracle Real Application Clusters (Oracle RAC).
    >
    And this from the section How PL/SQL Native Compilation Works
    >
    How PL/SQL Native Compilation Works
    Without native compilation, the PL/SQL statements in a PL/SQL unit are compiled into an intermediate form, system code, which is stored in the catalog and interpreted at run time.
    With PL/SQL native compilation, the PL/SQL statements in a PL/SQL unit are compiled into native code and stored in the catalog. The native code need not be interpreted at run time, so it runs faster.
    Because native compilation applies only to PL/SQL statements, a PL/SQL unit that uses only SQL statements might not run faster when natively compiled, but it does run at least as fast as the corresponding interpreted code. The compiled code and the interpreted code make the same library calls, so their action is the same.

  • Java is a Compiler or Interpreter?

    Java is a Compiler or Interpreter?

    If you mean the executable called "java" that comes with the jre, it is actually both... it's an interpreter that compiles parts of the code it's interpreting to machine code to make it run faster.

  • ABAP is a compiler or interpreter ?

    ABAP is a compiler or interpreter ? also how is it ? or why ?

    hi there
    Abap to some extent has both...
    Before an ABAP program is executed, the ABAP compiler must translate it into an intermediate language.
    This form of program i.e. the program in this intermediate form is called an ABAP load.
    Then the ABAP virtual machine comes into the picture. ABAP virtual machine is an interpreter for ABAP loads, that is, it can execute ABAP loads.
    You can somewhat correlate the whole scenario with the process of Java compilation-interpret process.
    for further assistance u can check the link below...
    http://www.thaisapclub.com/forums/showthread.php?t=45
    reward if helpful
    regards
    niharika

  • ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler

    Hi experts,
    I get the above error when I run the following code using sqlplus:
    create or replace and compile java source named "DirList"
      2      as
      3      import java.io.*;
      4      import java.sql.*;
      5
      6      public class DirList
      7      {
      8      public static void getList(String directory)
      9                        throws SQLException
    10      {
    11         String element;
    12
    13
    14         File path = new File(directory);
    15         File[] FileList = path.listFiles();
    16         String TheFile;
    17         Date ModiDate;
    18         #sql { DELETE FROM DIR_LIST};
    19
    20         for(int i = 0; i < FileList.length; i++)
    21         {
    22             TheFile = FileList[ i ].getAbsolutePath();
    23             ModiDate = new Date(FileList[ i ].lastModified());
    24
    25             #sql { INSERT INTO DIR_LIST (FILENAME,LASTMODIFIED)
    26                    VALUES (:TheFile,:ModiDate) };
    27         }
    28     }
    29    }
    30  /
    create or replace and compile java source named "DirList"
    ERROR at line 1:
    ORA-29547: Java system class not available: oracle/aurora/rdbms/CompilerAny body can tell me what to do to run external commands like os commands using pl/sql in details with example.
    I will appreciate any sooner response.
    Thanks

    What is the output of this query?
    SQL> select owner, object_name, object_type from dba_objects where object_name = 'oracle/aurora/rdbms/Compiler' ;
    OWNER                          OBJECT_NAME                     OBJECT_TYPE
    SYS                            oracle/aurora/rdbms/Compiler    JAVA CLASS
    PUBLIC                         oracle/aurora/rdbms/Compiler    SYNONYM
    2 rows selected.
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
    SQL>

  • 'Hello' does not want to compile and interpret

    I recently downloaded the latest JDK Update 12 from the sun website.
    I typed the basic hello program. The problem is in the compiling and interpreting of the program. In the command prompt, I made a new directory(folder) titled javacoding; in which I also saved the source code for the hello world program. After which i switched to it and I set the path of bin containing the compiler and interpreter to this directory. I typed in the following; javac Hello.java.
    I set the path thus: C:\javacoding> set path =%path%;C:\Program Files\Java\jdk1.6.0_11\bin;.;
    However, the program does not compile and the following message is displayed instead:
    'javac' is not recognized as an internal or external command, operable program or batch file.
    Here is a sample of the program I typed
    class Hello
    /*This program displays Hello*/
    public static void main (String args[])
    //This is the main method
    System.out.println("Hello, World!");
    For the record this was done on a Vista system.
    Thank you.

    Melanie_Green wrote:
    Variable ___________ Value
    Path ______________ C:\Program Files\Java\jdk1.6.0_11\bin;
    // Set this for both user and system variable*@Mel:* Ummm. Not to be too rude, but I'm almost certain that's incorrect, or atleast sub-optimal.
    Presuming that the OP (that's you Ikenna) is a system administrator on there own box, then just set the system PATH... all users will pick it up from there... also setting at the user-level just appends a useless duplicate entry to the PATH, slowing down (unsucessful) path-searches... not that you'd notice.
    *@OP:* Show us a dir of your jdk-bin directory... we'll need the exact command and it's output (at least down to javac.exe)... Question is: Is that directory exactly what's in your PATH? so also show us the command and output of echo %PATH% ... just post the whole command session (typos and all) between a pair of &#123;code} tags.
    Cheers. Keith.

  • Compilation and Interpretation

    class test {
    public static void main() {
    if i am running this program ...it compiles but it doesnt run...
    why it didnt give me a compilation error..
    Could someone tell me what is done during compilation and interpretation..
    Thanks,

    I purposely missed String args[] in the main...
    wat my question is
    why the compiler didnt check the main method signature...its done only when i run...

  • VB6 source code cannot connect to Oracle database after compile to file.exe

    Hi All,
    I have a problem about VB6 connect with Oracle database. It can connect as normal when run on VB program. After compiled to file.exe and execute, it cannot connect to Oracle database. What's going on ? Please advise? Thank you.
    Here is sample of my code connection.
    Option Explicit
    Private wsData As New ADODB.Connection
    wsData.ConnectionString = _
    "Provider=MSDAORA.1;User ID=lsp;Password=lsp2007;Data Source=prd01;Persist Security Info=False"
    wsData.Open
    End sub
    Rgads,
    Ats.

    Hi,
    I believe you're in the wrong forum, this forum is for Oracle Application Express.

  • Oracle JDBC Driver Compile Errors

    I'd like to try out this new Preview Edition but I get the following errors:
    Error(22,8): class oracle.jdbc.driver.OracleCallableStatement is not public; cannot be accessed from outside of package oracle.jdbc.driver
    Error(23,8): class oracle.jdbc.driver.OracleTypes is not public; cannot be accessed from outside of package oracle.jdbc.driver
    These erors occur at the import statements:
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.jdbc.driver.OracleTypes;
    when I attempt to compile a JDev 10.1.3 project in the 11g Technology Preview Edition. Any idea why?
    TIA,
    Jeff

    We don't support project migration from 10.1.3 to the
    technology preview.
    Does the problem reproduce if you create a new
    project in 11tp?Shay,
    Thanks for the quick response. I created a new application in 11tp from scratch. I created a View Object and pasted the offending code into it and got the same compile errors. I actually got the code about a year ago from Steve's Not Yet Documented Applications. He has since removed the App from the page, changed the code and added it to the Dev Guide. The sample app showed how to bind a View object to a REF Cursor returned from a stored procedure and it looked something like this:
    CallableStatement cs = conn.prepareCall("{?=call package.name(P_CODIGO => ?)}");
    cs.rgisterOutParameter(1,OracleTypes.CURSOR);
    cs.setInt(2,16782);
    cs.executeQuery();
    ResultSet result = ((OracleCallableStatement)cs).getCursor(1);
    Changing the code to look more like what is now in the DEV GUIDE will more than likely work because he eliminates the need for the OracleCallableStatement.
    This brings me to my next point. If migration is not currently supported, will it be when the production release of JDEV 11g is available? Shame on me for just quickly skimming the release notes but when the import wizard ran on my project it did not warn me that the feature is not supported or that problems are likely. Upon resolving the issues with the callable statement, I had significant other compile errors in my jspx pages that will probably not be as trivial to fix. If project upgrades are not performed "easily" it will certainly push the 11g adoption date out considerably.
    Thanks again, your comments are always encouraged.
    Jeff

  • Error 315 in Oracle 6i when compiling against DB 10g

    We are using Forms 6i, Patch 4. I know this is an old patch, but for internal reasons we are not allowed to apply a newer Patch.
    Database running is 10g (10.1.0.3)
    Following problem:
    We want to compile a form with a PL/SQL Table and getting the Error 315 PL/SQL Table Declarations must use BINARY_INTEGER Indices.
    In fact, we are using BINARY_INTEGER Indices, therefore this message is confusing me a bit.
    If I compile agains our old 8i Database, which fortunately is still running, everything is fine.
    I also tried to install a newer Patch for Oracle Forms and from Patch 6 onwards, compiling is fine.
    Unfortunately, some of the Forms compiled with this Patch will not run under a runtime Enviroment with Patch Level 4.
    As I said, there is no way to implement a newer Patch within the next 9 months for Oracle Forms.
    Is there any other way to get rid of this problem?
    Any suggestions are welcome.
    Thx and have a nice day
    roedelfroe

    We are using Forms 6i, Patch 4. I know this is an old patch, but for
    internal reasons we are not allowed to apply a newer Patch.
    Database running is 10g (10.1.0.3) I find it particularly curious that you have chosen to move to the absolutely latest version of the database, yet refuse to move the Forms patch level forward.
    Are you working for Dilbert's boss:
    <img src='http://www.unitedmedia.com/comics/dilbert/archive/images/dilbert2052322050726.gif'>
    Message was edited by Steve Cosner
    .

  • Facing Error Installing Oracle Apps 11i. :bad interpreter: No such file

    Dear all
    i am facing the following error during installing oracle 11i . when i run "./rapidwiz" command
    face the following error
    :bad interpreter: no such file or directory1/rapidwiz/bin/runWizard.sh: /bin/sh
    I am on Oracle Linux 5.3
    Please help..
    Thanks
    Regards
    Gaurav Gupta

    Hi,
    Please see (Note: 243485.1 - bash: ./ : bad interpreter: No such file or directory).
    Regards,
    Hussein

  • Oracle 11g report compilation

    Hi,
    I am trying to compile reports using build_report.ksh in 11g.
    I am able to see the error details only on the screen
    I want to know where the file with error details will reside.

    Hello,
    build_report.ksh it is a custom script(non-oracle).You should check its content.
    You can use below command to compile a report and generate a log:
    $ORACLE_INSTANCE/config/reports/bin/rwconverter.sh userid= batch=yes source=name.rdf stype=rdffile dest=name.rep dtype=repfile overwrite=yes compile_all=yes > name.log >> name.log
    Kind regards,
    Alex
    If the answer helped, please mark it accordingly.

  • ABAP Compiler or Interpreter?

    Hi guys
    This question has been asked several times and been answered in several ways.
    But still i am repeating the same question since i couldnt found an exact answer.
    Does ABAP have a compiler or an Interpreter or both ?
    I have gone through several answers and documents regarding this.
    Some says YES but some says NO.
    If it is YES, could someone please explain why?
    Also is this compilation takes place at OS level?
    Expecting your kind response
    Thank and Regards
    Hareesh

    @Sumodh: I agree that some quite a few questions in this forum are silly and could have been answered if the poster would have done some research. However, before I start giving a generic answer or point to forum rules I personally like to take this small challenge: If you think something is really a stupid question that's answered in the documentation, give it a quick try and find a reference that answers the question. If I don't have the time or the question is really silly, I tend to ignore it.
    I'm quite often surprised how hard it actually is to prove something seemingly obvious with an official reference from SAP. So if I know the answer, but still am not able to find some official reference (or need some time), then maybe it's not that obvious at all... (well, or possibly my searching techniques suck, but at least from that perspective I'd be at best as skilled as the original poster)
    So in this particular case, if you have a good reference, please share it with us. I couldn't find anything really useful and had to give rather odd links in my answer. I usually don't like to just quote some previous forum postings, because among the really insightful answers there's also lots of rubbish out there (and let's be honest, some of the stuff might have been right at some point, but is now simply outdated).
    @Hareesh: As you can tell from my perspective your question was completely legitimate: Any question that shows the original poster did some research before asking and is specific enough is ok, but hey, that's just my opinion. So don't get discouraged, obviously in a large community opinions differ from time to time...
    @Sandra/PK/Suhas: Thanks for the kind words, but I'm just another one of the tons of average and confused SAP techies (though rather opinionated and a stickler for detail) trying to make sense out of all those applications. Be assured it's me who's following your insightful postings!
    Cheers, harald
    p.s.: The questions that really amuse me are the really generic ones listing basically the requirements for a task somebody has to solve/implement. Whenever I see nice and detailed answers to such questions I'm really tempted to write to the posters asking them if they'd consider working for me - no salary, health benefits or any of that crap, but I'd offer some really nice highscore system, where I would publish top employees with their scores...
    p.p.s.: Darn, another overlong posting. My bad.

  • Oracle 10g Native Compilation

    Hi,
    I would like to set one of my schemas to work with oracle native compilation.
    Oracle note : 43208.1 list the certified compilter for each O.S
    I am using hp-ux b11.23 itanuim , and would like to know which ANSI C PreCompilers are installed in my machine.
    Can one help with the command to find this detail ?
    Thanks

    You may need to contact your Unix Sysadmins to determine this. You have not stated which version of the database you are using - for 10g, requirements are documented at http://download.oracle.com/docs/cd/B19306_01/install.102/b25293/pre_install.htm#sthref111
    HTH
    Srini

  • Cannot use oracle 10g ProC compiler

    Every time I run the ProC compiler of Oracle 10g I get the following error:
    PCC-F-NOERRFILE, unable to open error message file, facility PR2
    What does thidoPost=true

    You have your ORACLE_HOME environment variable incorrectly defined.
    C:\>set ORACLE_HOME=invalid
    C:\>proc
    PCC-F-NOERRFILE, unable to open error message file, facility PR2
    C:\>

Maybe you are looking for

  • Problem with Ultrabeat and Bounce in Place

    Hi, I'm new here and reasonably new to Logic as I have been an Ableton user for quite a few years. I was eventually enticed by Logic Express 9 due to the fantastic price and the features on offer. Anyway on to my problem! I have been getting my head

  • How to web filtering via two network cards?

    I have Installed Server 2008 and two network cards on my pc. One LAN card for clients access and one for internet router. I need to share internet connection to my client computers with web filtering. So how to do that? I need to block some sites to

  • Mail or gmail? why should i switch?

    so i'm a recent switcher. i'm happy happy happy with the things about macos that enable much greater productivity and pleasure when interacting with my little macbook. so the reason to switch from PC to MAC is very clear. i can easily talk to others

  • Composite primary key in ejb

    Hi all, I am new to ejb. I am trying to create a BMP bean for a particular table which is having composite primary key. I made a primary key class for that and I have done all the important things required for creating such a class viz, 1) implement

  • Recovery of solvents in process industry

    Dear All, We have a scenario where say methanol is a raw material for producing item X and during this production process some quantity of methanol is recovered which will be recirculated with fresh methanol in producing item X.  At some point of tim