FAQ's on Oracle Sql and PL/SQL

All,
I am looking for job as a Pl/SQL developer. So any one please send me the FAQ's on Oracle SQL and PL/SQL.I read all questions from Geekinterview and All Interview and Appsking sites.
If any is having FAQ's please send it to me.
Thank you,
Gani

I just went quickly through a few links in the orafaq wiki and found this, which is probably what you're after:
www.orafaq.com/papers/d2kinter.doc
that wiki is good - have a read through everything in the newbie section
http://www.orafaq.com/wiki/Newbies_FAQ
and the getting a job section:
http://www.orafaq.com/wiki/Getting_a_job

Similar Messages

  • Oracle SQL Developer 1.0 is easy to install and use, and is portable

    I have tried the latest version of Oracle SQL Developer 1.0 and would like to share my experience of using it.
    Installation of Oracle SQL Developer 1.0
    Download from
    http://www.oracle.com/technology/software/products/sql/index.html?_template
    Unzip the Oracle SQL Developer for Windows (55.8 MB) to C:\sqldeveloper (103MB)
    Advantages: The unzip folder can be your removable disk and you can access Oracle
    anywhere provided that there is an Internet connection to Oracle Server.
    Unzip sqldeveloper-1557.zip to C:\ with folder name;
    double-click on sqldeveloper.exe in c:\sqldeveloper
    Click on [No]
    Tick all check boxes
    Click on [OK]
    Right-click on Connections, New
    Database Connection…
    Enter User name: SCOTT
    Password: TIGER
    Hostname: 127.0.0.1 (or IP of your Oracle Server on the Internet)
    SID: orcl
    If you want to connect to local Oracle user SYS,
    Enter User name: sys
    Password: ora10g_manager_password
    Hostname: 127.0.0.1
    SID: orcl
    Select Role: SYSDBA
    Click on [Connect]
    Right-click on Tables, Create Table
    Click on [Add Column]
    Select Type: NUMBER for COLUMN2
    Click on [OK]
    Table1 is created
    Click on TABLE1, click on “Data” tab
    Click on the “Green Plus” icon to insert record
    Click on “Commit Changes” icon
    Click on “DBConnection1” tab
    Enter: select * from table1;
    Click on “Execute Statement (F9)” icon
    To exit: Click on File, Exit

    Have you noticed that there's a forum dedicated to SQL Developer?
    C.

  • Problem running SQL PLUS in Oracle 8i and 9i on Windows XP

    I've tried installing both Oracle 8.17 Personal Edition and also 9i in Windows XP Professional (each on a different occassion). I have run into the same problem each time. The installation itself goes fine in both cases, but when I run SQL PLUS, the Log On screen appears for 1-2 seconds then whole thing just closes automatically, so I can't ever access that application which is the only thing I need to work with. Any ideas on what's going wrong? Thanks.

    Patrick,
    Well a few things. Did you try TNSPING to see if the listener is up? If it's ok, can you connect with FREE toad? Download Oracle OEM and install that (the SQL net and sql plus portions). If you can't get tnsping to work, sqlplus isn't going too either. I don't know why the sqplus is actually shutting down, but I'm guessing the TNS NAMES entry isnt there (in the tnsnames.ora file). If the tnsnames entry is there then tnsping should work. Get tnsping to work first.
    Tyler.

  • Problem with java.sql.Clob and oracle.sql.CLOB

    Hi,
    I am using oracle9i and SAP web application server. I am getClob method and storing that in java.sql.Clob and using the getClass().getName() I am getting the class name as oracle.sql.CLOB. But when I am trying to cast this to oracle.sql.CLOB i am getting ClassCastException. The code is given below
    java.sql.Clob lOracleClob = lResultSet.getClob(lColIndex + 1);
    lPrintWriter = new PrintWriter(new BufferedWriter (((oracle.sql.CLOB) lOracleClob).getCharacterOutputStream()));
    lResourceStatus = true;
    can anybody please tell me the what is the problem with this and solution.
    thanks,
    Ashok.

    Hi Ashok
    You can get a "ClassCastException" when the JVM doesn't have access to the specific class (in your case, "oracle.sql.CLOB").
    Just check your classpath and see if you are referring to the correct jar files.
    cheers
    Sameer
    PS: Please award points if you find the answer useful

  • Oracle SQL Developer freezes and locks up computer randomly

    I attempted to find a solution to this before posting. I looked through the first 40 pages of this forum and on Google, through the Developer documentation, etc. with no luck.
    The problem: while using Oracle SQL Developer, the computer randomly freezes. Things work, but it hangs too often and for too long to use. This is random - it can happen every 10 seconds or every 2 minutes. The mouse will lock up, and the keyboard buffer will get all messed up. For instance, if it happens to freeze while I'm hitting "backspace", it will delete many lines of text (I've lost a bit of work because of this in the past). The freezing will last about 2 to 20 seconds, and the only way out of it is to ctrl+alt+delete and kill SQL Developer.
    If SQL Developer is running, and I'm in a different window - it will freeze the other windows as well. Again, it's impossible to use unfortunately. My coworker doesn't have the same problem, and he's connecting to the same database with the same version using Windows Vista. It must be something on this computer. I reformatted about 1 month ago, so it's a pretty fresh install and I haven't installed much of anything yet.
    I'm using Windows Vista Enterprise 32-bit w/SP1.
    This was occurring with older versions of SQL Developer (1.2). I'm using the newest install that included the Java JDK. I've completely removed Java, my Oracle installs, and a host of other attempts to fix this, and nothing changes. I've tried running the .exe in the bin directory as administrator as well.
    Currently using Oracle Developer 1.5.1.54.40.
    Any ideas?

    I tried dumping the contents, but the java dump wasn't showing anything at all, and it would never freeze while I had the console window in focus, so it wasn't very helpful unfortunately.
    I fixed this issue by uninstalling the Java runtime on this machine and installing the Java JDK 6 Update 7 from java.sun.com/javase/downloads . I then downloaded the SQL Developer 1.5.1 version without the Java runtime included, and pointed it to the Update 7 .exe file upon first load.
    I was using JDK 6 Update 6 previously, and it must have been behind the errors. Note that the Update 7 has to be downloaded from that website as it's a new version that hasn't been posted on the regular java.com site yet.
    Message was edited by:
    user645599

  • Oracle sql developer and access db

    Hi All,
    I have connection to oracle and Access dbs’ on my oracle sql developer.
    When i try to create a database link from oracle db to access db i have to add Host Name.
    Connection details to access looks like this :
    @jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\ list.mdb;DriverID=22;READONLY=false}
    I tried different variants, but it doesn’t work.
    Is this possible to create database link to access db, and if yes, what i have to add for a host name and what is the syntaxes for cross table ?
    Thank you

    Good documentation here... http://www.orafaq.com/node/60
    TimS

  • Oracle SQL Developer Data Modeler 3.0 Bugs, Resolution and workarounds

    The purpose of this thread is to list bugs discovered while using ORACLE SQL Developer Data Modeler 3.0
    Mainly with SQL SERVER 2005 and ORACLE 10g models.

    SQL Server Physical model doesn't save table identity column.
    here are the steps to get this bug:
    1. create a table in relational model with a column as an integer to be used as an identity.
    2. create or open a physical model for SQL-SERVER 2005
    3. open the table in the physical model
    4. edit the integer column property dialog
    5. tick the identity check box and close the property dialog
    6. save the model and close it
    7. open it again, you will find the identity check is removed! (probably not saved from the start)

  • Oracle SQL Developer 2.1 EA1 and 1.5.5 not working on MacOS X Snow Leopard

    Currently, the Oracle SQL Developer 2.1 EA1 and 1.5.5 are not working on MacOS X Snow Leopard. Is there a plan to support the actual version of OS X?
    When I try to start the MacOS X-Download I always get the following errors using MacOS X 10.6.1:
    ./sqldeveloper.sh oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.ide.Version
         Dependent class: oracle.ide.IdeCore
         Loader: main:11.0
         Code-Source: /Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar
         Configuration: system property PCLMain.createExtensionManagerLoader()
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2176) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1729) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1685) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1670) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:399) [jre bootstrap, by jre.bootstrap:1.6.0_15]
         at oracle.ide.IdeCore.$init$ (IdeCore.java:169) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.IdeCore.<init> (IdeCore.java:176) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.DefaultIdeCore.<init> (DefaultIdeCore.java:64) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.DefaultIdeCore.<init> (DefaultIdeCore.java:69) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.Main.start (Main.java:109) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.Main.main (Main.java:72) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
         at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
         at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
         at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
         at oracle.ide.boot.PCLMain.callMain (PCLMain.java:66) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.PCLMain.main (PCLMain.java:58) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
         at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
         at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
         at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
         at oracle.classloader.util.MainClass.invoke (MainClass.java:128) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain (IdeLauncher.java:190) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.launchImpl (IdeLauncher.java:90) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.launch (IdeLauncher.java:66) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.main (IdeLauncher.java:55) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
         at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
         at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
         at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
         at oracle.ide.boot.Launcher.invokeMain (Launcher.java:729) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.Launcher.launchImpl (Launcher.java:115) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.Launcher.launch (Launcher.java:68) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.Launcher.main (Launcher.java:57) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]

    You have started this annoying discussion.
    I don't have any problems with my OS instead of you.
    I have already told you what to do, if you have no idea how to do that just go and buy yourself another support subscription from your mac support.
    The missing class is not available from any code-source or loader in the system. check that.
    what version of JAVA do you have in your fancy OS? most of the time upgrade java to the latest version will fix the issues.
    Update java from sun website not from another mac tore.

  • Oracle.sql.BLOB and oracle.sql.STRUCT

    I'm development a application in Java with oracle, to manage media files. When I try to insert into oracle , I have this problem "oracle.sql.BLOB cannot be cast to oracle.sql.STRUCT" , and I don't know what that can be ..
    This is my code , please help with that.. If you have a smaple code of java and oracle to insert media , that will be a great help ..
    public void loadDataFromStream(OracleConnection con)
    try {
    Statement s = con.createStatement();
    OracleResultSet rs = (OracleResultSet)
    s.executeQuery("select * from blobs where id='video2.avi' for update ");
    String index = "";
    while(rs.next())
    index = rs.getString(1);
    index+="1";
    System.out.println("llego hasta aki");
    // el error esta en esta linea de abajo ...
    OrdVideo vidObj = (OrdVideo) rs.getCustomDatum(2, OrdVideo.getFactory());
    //rs.getBfile(3);///
    FileInputStream fStream = new FileInputStream("/home/jova/movie.avi");
    vidObj.loadDataFromInputStream(fStream);
    vidObj.getDataInFile("/home/jova/movie.avi");
    fStream.close();
    System.out.println(" getContentLength output : " +
    vidObj.getContentLength());
    OraclePreparedStatement stmt1 =
    (OraclePreparedStatement) con.prepareCall("update blob_col set image = ? where id = " + index);
    stmt1.setCustomDatum(1,vidObj);
    stmt1.execute();
    stmt1.close() ;
    index+="1";
    System.out.println("OK");
    catch(Exception e) {
    System.out.println("exception raised " + e);
    System.out.println("load data from stream unsuccessful");
    }

    I'm development a application in Java with oracle, to manage media files. When I try to insert into oracle , I have this problem "oracle.sql.BLOB cannot be cast to oracle.sql.STRUCT" , and I don't know what that can be ..
    This is my code , please help with that.. If you have a smaple code of java and oracle to insert media , that will be a great help ..
    public void loadDataFromStream(OracleConnection con)
    try {
    Statement s = con.createStatement();
    OracleResultSet rs = (OracleResultSet)
    s.executeQuery("select * from blobs where id='video2.avi' for update ");
    String index = "";
    while(rs.next())
    index = rs.getString(1);
    index+="1";
    System.out.println("llego hasta aki");
    // el error esta en esta linea de abajo ...
    OrdVideo vidObj = (OrdVideo) rs.getCustomDatum(2, OrdVideo.getFactory());
    //rs.getBfile(3);///
    FileInputStream fStream = new FileInputStream("/home/jova/movie.avi");
    vidObj.loadDataFromInputStream(fStream);
    vidObj.getDataInFile("/home/jova/movie.avi");
    fStream.close();
    System.out.println(" getContentLength output : " +
    vidObj.getContentLength());
    OraclePreparedStatement stmt1 =
    (OraclePreparedStatement) con.prepareCall("update blob_col set image = ? where id = " + index);
    stmt1.setCustomDatum(1,vidObj);
    stmt1.execute();
    stmt1.close() ;
    index+="1";
    System.out.println("OK");
    catch(Exception e) {
    System.out.println("exception raised " + e);
    System.out.println("load data from stream unsuccessful");
    }

  • Connection between Oracle 9i and MS Sql Server 2005

    Hey Guys,
    I am hoping to create materialized view of data on a small sql server box using our oralce 9i cluster. Anyway, i have done this with mysql using the standard odbc dirvers and a dblink, but i am having trouble finding an odbc driver for the connection from oracle to sql server. So, i was wondering if you guys know of a free, or cheap odbc driver, or have a suggestion of an alternative connection method.
    PS: i have see: Heterogeneous Services Agents and Transparent gateways floating around, so are these options that don't need the odbc drivers and are free?
    Thanks in advance

    Some links
    http://www.google.lv/search?hl=lv&q=oracle+sql+server+difference&meta=
    http://asktom.oracle.com/pls/asktom/f?p=100:1:487512552646613::NO:RP::
    http://www.mssqlcity.com/Articles/Compare/sql_server_vs_oracle.htm
    http://www.wisdomforce.com/dweb/resources/docs/MSSQL2005_ORACLE10g_compare.pdf
    But you have to remember one big thing - I've not seen yet one compare that was completely indifferent to any of the included DB's. So you can be sure that every doc that you get on MS website will say that SQL server is better, every doc on Oracle website will say that Oracle is better. Every doc on other websites will say that better DB either is:
    1) DB that has payed for the reserach paper
    2) DB that was mostly used by the researchers
    So of course you should be very cautious about each paper you get.
    Gints Plivna
    http://www.gplivna.eu

  • Replication between Oracle Server and MS SQL Server

    Hello,
    Does anybody know of a well known or reliable software that can do data replication between Oracle Server and Microsoft SQL server.
    I suppose I can write my own version using Heterogenous Services in Oracle but I would like to know if such an automated replication between Oracle and SQL is available commercially.
    Thank you.

    Viacheslav Ostapenko wrote:
    Sorry, Aman,
    I couldn't find any info about replication to MS SQL. Is it possible at all? Could you provide link where we can read about this? It could be very interesting.Sorry Viacheslav, even I couldn't find anything for the same. I am not sure that it can be done or not, I haven't heard anyone in my contact doing so. The only place where I have seen Streams being used around me is within Oracle db only. May be someone else can help if he/she has done it.
    Aman....

  • Installing Oracle 10G and SQL Developer for Windows 7 Home Premium

    Hi Folks,
    I need your helping me in getting the correct Database installed for my Windows 7 .
    Can you please help me out in sending me the correct url for Oracle 10G Database & SQL Developer URL
    So i can install both and get on with it...
    Thanks ,
    satish.p

    user4789048 wrote:
    Hi Folks,
    I need your helping me in getting the correct Database installed for my Windows 7 .
    Can you please help me out in sending me the correct url for Oracle 10G Database & SQL Developer URL
    So i can install both and get on with it...
    Thanks ,
    satish.pWith the caveat (as already pointed out by Srini in this thread) that no Oracle product has ever been certified on any "home" edition of any version of Oracle ...
    If I were looking to download any product, I'd start by going to that company's web site (like, www.oracle.com) and look for a tab or link called "download". I'll bet if you did that, you'd find all sorts of goodies.
    But, again, since you are dealing with a "home" edition of Windows, you'll need to start by installing a virtual machine product -- VM Ware's "VMworkstation" or "VMplayer", or Oracle's VirtualBox. Then you can create a virtual machine running a supported OS. Oracle's own Linux (derived from Red Hat Linux) is also free.

  • Oracle SQL*PLUS has encountered a problem and needs to close

    When I have done like below,
    C:\Documents and Settings\himanshu.chaudhari>sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 14 07:38:22 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn sys@dev as sysdba
    Enter password:
    Connected.
    SQL> spool e:/spool/test.log
    SQL> @e:/spool/ms_script.sql
    Got error like ,
    Oracle SQL*PLUS has encountered a problem and needs to close. We are sorry for the inconvenience.
    AppName: sqlplus.exe     AppVer: 0.0.0.0     ModName: oranls10.dll
    ModVer: 10.2.0.1     Offset: 0005d6ff
    I am using,
    Operating System: Microsoft Windows XP Professional Version 2002 Service Pack 3,
    Have two different oracle client on same drive
    1) 10.2.0.1.0
    2) 8.1.7.4.0
    I have tried,
    Run selecthome.bat from BIN but got same error,
    Run sqlpus.exe from particular home then also got same error..
    So , Please anyone can have some idea regarding the same ?

    Is there any other error in error.log file?
    What do you run in that (ms_script) script?
    Have you used both sqlplus?
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Oracle SQL*PLUS has encountered a problem and needs to close.  We are sorry

    I have installed oracle10g release2(10.2.0.1.0) in my system
    my porblem when i am trying to issue command
    SQL> commit;
    Commit complete.
    SQL> cl scr;
    then it is show below mentioned error
    Oracle SQL*PLUS has encountered a problem and needs to close. We are sorry for the inconvenience.
    Please can anybody help for me.
    with regards,
    srinivas.

    When working with mixed environments you should make sure the path environment variable is consistent with the executables you are currently running, and try not to mix them, i.e. if you are working with the sqlplus from 9i, make sure you execute the sqlplus.exe file from the 9i oracle home and temporarily by means of a batch file put your Oracle Home 9i executables prior to those of 10g , and the other way around, when executing from the 10g make sure all executables and paths are consistent. It should be easier since when installing oracle, oracle configures the PATH environment variable so it can be seen first in the path environment variable.
    In your case you are using two compatible versions, but if the dll's get mixed there could be unexpected results.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • [ask] about oracle sql injection and escalation

    Hello,i'm student , i'm studying oracle,now i want to research about oracle sql injection,i had read some tuttorial such as *'Hacking Oracle From Web,Advanced SQL Injection In Oracle Databases,Oracle Hacker HandBook ...'* but when i try to demo on localserver (11.0.1.6) but not run,and this is my demo
    -- first,i created table users
    create table users (name nvarchar2(50),pass nvarchar2(50))
    -- then i created procedure with system user
    create or replace procedure system.adduser(u nvarchar2,p nvarchar2)
    as
    begin
      insert into users values(u,p);
    end;
    -- grant execute privilege to oc user
    grant execute on adduser to oc
    -- login with user oc and create a procedure
    create or replace procedure sqli
    as
    begin
      execute immediate 'grant dba to oc';
    end;
    -- and then,i run system's procedure
    declare
    begin
      system.adduser('admin','admin'' ; execute immediate  ''declare begin sqli() end;');
    end;
    i hope oracle master help me to i can understand and improving my knowledge
    Thanks

    The best forum for this is probably Forum Home » Java » SQLJ/JDBC
    Presumably you are refering to oracle.sql.TIMESTAMP. While this is intended to (and does) correspond to java.sql.Timestamp it can't be a subclass because it needs to be a subclass of oracle.sql.Datum.

Maybe you are looking for