Connecting oracle 10g express edition to jdeveloper

I am having all kinds of problems connecting oracle 10g express edition with my jdeveloper 10.1.3.3. I can query the database from my command line so I know it is set up, but for whatever reason jdeveloper will not connect with it. When I try to connect with the database through jdeveloper here is the error I keep getting:
Listener refused the connection with the following error:
ORA-12518, TNS:listener could not hand off client connection
The Connection descriptor used by the client was:
localhost:1521:ORCL
I have been all through the google results looking for an answer and have come to the conclusion that it is something with either the listerner file or the tns file, but as of yet have been unable to locate them. here are both of those files too.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = ##########)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = #########)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
Please any help would be appreciated I have been at this for days, thanks.

This has to be some kind of bug with 10g express because I see lots of people having similar problems. I'm in the process of uninstalling 10g, and I will re-install it see if that makes a difference. Again if anyone has any other ideas please keep them coming because this is utter BS it shouldn't be this hard.

Similar Messages

  • Can not connect Oracle 10g express edition from report builder.

    I have newly installed report builder . Different home was selected for Report builder and oracle. Oracle database server is also in the same machine. But i am not able to connect my oracle 10g express edition database. It throws error ORA-12154 : TNS could not resolve service name.( same error displayed while trying to connect from SQL Plus).But from toad i am able to access the database. May be because here I am able to select the proper home.
    Here i am adding my tns entry
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 1ECA66A679AB494)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    can any one suggest what the actual problem is?
    Thanks ..........

    Hello,
    Oracle 10g XE is rather specific and, I'm not sure that you can upgrade it to 10.2.0.4 .
    However, Oracle published an Upgrade Guide for Oracle Express Edition but, it's limited to *10.2.0.3*:
    http://download.oracle.com/docs/cd/B25329_01/doc/server.102/b32391/toc.htm
    But be careful:
    Once you have upgraded to Oracle Database 10g, you cannot downgrade back to Oracle Database Express Edition.Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on May 22, 2010 12:06 AM

  • Oracle 10g Express Edition    Host , Port, ServiceId(SID)

    Hi
    I am trying to connect Oracle 10g Express Edition from Net Beans. But it is prompting for the following detials.
    Host , Port, ServiceId(SID).
    Please help me .
    Thanks in Advance.
    PurnachandraRao.

    Drop down to a command line. Enter the command 'lsnrctl status'. That will tell you all this information.
    Often it is 'localhost', port 1521, and always SID=XE

  • Using JDeveloper with Oracle 10g Express Edition

    Hi,
    can JDeveloper 11g 11.1.1.4.0 Studio Edition be used to develop applications connection with Oracle 10g Express Edition?
    If not, is there a version downloadable that can?
    TIA

    Yes, it can.
    John

  • How to connect to ORACLE 10g Express Edition using struts?

    HI! There
    I am using Oracle Jdeveloper as IDE, JBoss as application server, Oracle 10G Express edition as DBMS. As I am new to Struts & Jboss, so Can anybody tell me that How to connect to Database? Please also give Struts-config.xml datasource config too.
    If someone can give a set of codes to enter and retrieve the data to/from database it will be really help full for me. Well connectivity with any version e.g. 9i, 10g, 10g XE will do......
    Thanks

    Well I have already configure a datasource in struts-config.xml as Stated below:
    <data-sources>
    <data-source>
    <set-property property="autoCommit" value="false"/>
    <set-property property="description" value="Data Source Config. for SMS"/>
    <set-property property="driverClass" value="oracle.jdbc.OracleDriver"/>
    <set-property property="maxCount" value="4"/>
    <set-property property="minCount" value="2"/>
    <set-property property="password" value="password"/>
    <set-property property="url" value="jdbc:oracle:thin:@127.0.0.1:1521:XE"/> <set-property property="user" value="sms"/>
    </data-source>
    </data-sources>
    Now the Only problem That I am facing is how to look up this data source from a Java file of Model layer.
    Please Guide me further

  • Oracle 10g Express Edition - number of simultaneous connections

    Goodmorning,
    I'm goingo to test Oracle 10g Express Edition but I ned to know the max numbers of simultaneous connections it supports.
    Many thanks to all.

    Hi,
    >>Can you tel me how to increase this number in oracle 10g express???
    Just modifying the processes parameter is sufficient. The sessions parameter will be adjusted automatically.
    SQL> alter system set processes=200 scope=spfile;
    SQL> shutdown immediate
    SQL> startupFor more information, take a look at this [url http://forums.oracle.com/forums/thread.jspa?messageID=1672879&#1672879]thread
    Cheers
    Legatti

  • Can i work with oracle 10g express edition by connecting it with visuval studio 2010?

    i have oracle 10g-express edition,and visuval studio 2010, can i have a connectivity between these two?or it requires any additional installations,or any special procedures for installing it? HELP ME..

    You might want to post this in the Oracle 10g XE support forum, where you might get a better response. The is is the support form for Oracle App Express..
    Thank you,
    Tony Miller
    Monroe, WA

  • Java Connection Pooling issue with Oracle 10g Express Edition

    Hello
    I have a Java based web application that uses the Oracle 10g Express Edition database. I am using a connection pool to get connections to the database.
    I use the NetBeans IDE and run my web application on the bundled Tomcat server(5.5.7) that comes with the IDE. Though when I initially run the application from the IDE, the connection pool is set up fine, when I recompile my java code and try to run the application again, I get the following error each time:
    Listener refused the connection with the following error:
    ORA-12516, TNS:listener could not find available handler with the
    matching protocol stack.
    The logs before the error shows up, indicate that the connection pool object is fine and gives me the number of available connections and the number of active connections and so on, which I have printed from the constructor of the Connection Pool class:
    For e.g.:
    Cache size = 17
    Available Connections = 17
    Cache Limit = 1000
    Active size = 0
    However, if I kill my Tomcat server process and run the application again, it works fine with no error.
    I looked around for possible causes and solutions and all I could find
    was increasing the processes parameter value in the init.ora file. I have increased the parameter value to from 100 to 20000 now, in increments of 500/1000 each time but it hasnt worked so far.
    Someone else suggested that I increase the size of my connection pool; I initially had it set to a minimum limit of 5, an initial limit of 10 and a maximum limit of 1000. However if I set the Initial Limit to anything above 17 connections, I see the following log on the Bundled Tomcat log and my application doesn't run at all:
    Log: Loading JDBC Driver : class=oracle.jdbc.driver.OracleDriver ...
    Log: Loaded JDBC Driver
    Log: Connection with URL=jdbc:oracle:thin:@localhost:1521:xe as username/password
    Error code not handled : 0
    Exception Message :java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS: no appropriate service handler found
    The Connection descriptor used by the client was:
    localhost:1521:xe
    // End of log
    And the Bundled Tomcat server automatically shuts down.
    Again the System.out statements from the Connection Pool class constructor show that the cache has been initialized and that currently there are free connections available in the pool.
    E.g.
    Cache size = 18
    Available Connections = 18
    Cache Limit = 1000
    Active size = 0
    Has anyone faced anything similar? Could someone please suggest what I'm doing wrong here and what I should do to set right this problem?
    Swetha

    hello, please pardon me, my english is basic. i do of my best. i had the same problem until reading the pdf documentation 2 days for java devvelloper.it is simple, follow this way.
    try {OracleDataSource ds;
         Connection conn;
      ds = new OracleDataSource();
      ds.setURL("jdbc:oracle:thin:@localhost");
      conn = ds.getConnection("userid","password");
    Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    don't forget to Dowload the user client of oracle Express Edition. do the rest of your program and it will work. take a look to the documentation pdf for java develloper. all it is explained.  good look                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Connection of java and oracle 10g express edition

    hello!!!!!
    I'm new to databases as well as JDBC. I want to know how to connect to oracle 10g express edition with java to create a desktop application.
    Let me know step by step procedure if possible.....
    Also tell me which softwares or drivers other than oracle 10g and jdk1.6 will be required......
    Do i need to keep all the required softwares and drivers in the same folder???
    please give any other information which is required for the connection
    thank you!!!

    hello!!!!!
    I'm new to databases as well as JDBC. I want to know how to connect to oracle 10g express edition with java to create a desktop application.
    Let me know step by step procedure if possible.....
    Also tell me which softwares or drivers other than oracle 10g and jdk1.6 will be required......
    Do i need to keep all the required softwares and drivers in the same folder???
    please give any other information which is required for the connection
    thank you!!!

  • Oracle 10g express edition can support forms 6i & reports

    I have installed oracle 10g express edition and installed forms 6i. while connecting forms 6i into ora 10g express edition it is not connecting in windown xp platform.
    It is showing only "dont send error". I want to know oracle 10g express edition can support forms & reports.
    Please give me solution.
    Thanks
    Govindarajan

    this is from metalink :(https://metalink.oracle.com/metalink/plsql/f?p=140:1:8190633972492825) for windows 2003
    Application Tier Certifications
    OS      Product      Server      Status      Addtl.      Info.      Components      Other      Issues
    2003      6.0.8.26.0 Patch 17      9.2      Desupported      Yes      Yes      N/A      N/A
    2003      6.0.8.26.0 Patch 17      10g      Desupported      Yes      Yes      N/A      N/ASeems you are right, but if you filter only certified version result is NONE!
    And anther link is prooving that:
    https://metalink.oracle.com/metalink/plsql/f?p=200:27:8190633972492825::::p27_id,p27_show_header,p27_show_help:609971.992,1,1
    Nice start to read is:
    http://www.oracle.com/technology/products/forms/htdocs/FormsSOD.html

  • Oracle 10g Express Edition Beta 3 ODBC Driver Always Crashes

    I find that if you set up an ODBC Data Source for Oracle 10g Express Edition on Windows XP SP2 using the "Oracle in XE" driver, anything that tries to access it will crash, even the Windows ODBC Data Source Administratior if you click the "Test Connection" button.
    Having clicked the button, you get a window coming up entitled "Oracle ODBC Driver" with a yellow exclamation mark in it, with no other text in the window except for an OK button.
    If you press OK, then it crashes and goes through the "Please tell Microsoft about this problem" process....

    Hi,
    Thanks for your comment, but I can't get onto the XE forum.
    I found http://www.oracle.com/technology/products/database/xe/forum.html which says:
    Forum registration is possible only by downloading and installing Oracle Database XE. After installation, click on the "Registration" link from the Database homepage.
    However I find that the "Database Homepage" does not exist.
    Choosing the Oracle XE "Go To Database Home Page" takes my browser to http://127.0.0.1:8080/apex which is not available even though my oracle server is running and sqlplus can talk to it.
    There's definitely nothing serving on tcp port 8080, as follows:
    [dcampbel@clevo]~> telnet localhost 8080
    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused
    Regards,
    -- Dave

  • Oracle 10g express edition installation file corrupt?

    Hi
    I have now tried at least 5 times. I downloaded the beta Windows version of Oracle 10g express edition. The download is successful each time but every time I try to run the installer, it says "Error in installation file". Anybody else facing this problem?

    Hi,
    Have you checked for any errors in log file....????
    Can you connect via SQL*PLUS ... , for example...????
    Regards,
    Simon

  • Oracle 10g Express edition,can't visit database homepage

    I have installed Oracle 10g Express edition without error meggage, It seems goes well ,but when I want to visit my database_homepage on http://127.0.0.1:8080/apex, I see this:
    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.
    Please try the following:
    Click the Refresh button, or try again later.
    Open the Web site home page, and then look for links to the information you want.
    If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the Web site home page.
    10061 - Connection refused
    Internet Security and Acceleration Server
    Technical Information (for support personnel)
    Background:
    The server you are attempting to access has refused the connection with the gateway. This usually results from trying to connect to a service that is inactive on the server.
    ISA Server: csscisaser
    Via:
    Oracle is installed on my own computer.I think ISA should do nothing with it.And I have removed proxy setting in Internet exploer,but the error still happed.
    I used netstat-a,and can find this:
    proto :tcp
    local address: myxxxxxx:8080
    foreign address myxxxxxx:0
    state : listening
    does it mean my oracle http listener is started?

    Open a command line and
    - enter ping 127.0.0.1 ... should tell whether
    connectivity is possible. If not, something is
    blocking, and that something is usually a firewall.ping 127.0.0.1. I can connect to 127.0.0.1,very fast.but when I ping 127.0.0.1:8080 ,Can't get response.
    enter ipconfig /all
    enter and post output of lsnrctl status
    There are so many output content.And you may see some #^$*#*&^$#@&* because I'm using Chinese version Oracle and OS.
    IPconfig
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : cjis-e89f34e63f
            Primary Dns Suffix  . . . . . . . :
            Node Type . . . . . . . . . . . . : Hybrid
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
            DNS Suffix Search List. . . . . . : xxxx.wan
    Ethernet adapter 本地连接:
            Connection-specific DNS Suffix  . : xxxx.wan
            Description . . . . . . . . . . . : Broadcom NetXtreme 57xx
    roller
            Physical Address. . . . . . . . . : xx-13-72-7D-67-8B
            Dhcp Enabled. . . . . . . . . . . : Yes
            Autoconfiguration Enabled . . . . : Yes
            IP Address. . . . . . . . . . . . : 172.18.9.30
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . : 172.18.9.252
            DHCP Server . . . . . . . . . . . : 172.18.18.9
            DNS Servers . . . . . . . . . . . : 172.18.18.9
            Primary WINS Server . . . . . . . : 172.18.18.9
            Lease Obtained. . . . . . . . . . : 2007年7月16日 15:51:15
            Lease Expires . . . . . . . . . . : 2007年7月24日 15:51:15
    LSNRCTL status
    正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    LISTENER 的 STATUS
    别名                      LISTENER
    版本                      TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
    ction
    启动日期                  20-7月 -2007 11:19:13
    正常运行时间              0 天 2 小时 17 分 10 秒
    跟踪级别                  off
    安全性                    ON: Local OS Authentication
    SNMP                      OFF
    默认服务           XE
    监听程序参数文件          C:\oraclexe\app\oracle\product\10.2.0\server\network\
    dmin\listener.ora
    监听程序日志文件          C:\oraclexe\app\oracle\product\10.2.0\server\network\
    og\listener.log
    监听端点概要...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cjis-e89f34e63f)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
    HTTP)(Session=RAW))
    服务摘要..
    服务 "CLRExtProc" 包含 1 个例程。
      例程 "CLRExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
    服务 "PLSExtProc" 包含 1 个例程。
      例程 "PLSExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
    服务 "XEXDB" 包含 1 个例程。
      例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
    服务 "XE_XPT" 包含 1 个例程。
      例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
    服务 "xe" 包含 1 个例程。
      例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
    ['/pre']
    Display contents of
    C:\windows\system32\drivers\etc\hosts.['pre']
    # Copyright (c) 1993-1999 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    127.0.0.1       localhostMessage was edited by:
    sailfish83

  • How get scott user database schema in oracle 10g express edition

    hi
    plz any on can tell me how to get the scott user database table details into the oracle 10g express edition
    Iam created the user as scott but but i didn't get the table details
    ...plz give me the details correctly.

    You will go into this path C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. You can get scott.sql script yhen you need to run the script like @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. Otherwise you just copy the below script and save it into one file then run that file using @
    Rem Copyright (c) 1990 by Oracle Corporation
    Rem NAME
    REM    UTLSAMPL.SQL
    Rem  FUNCTION
    Rem  NOTES
    Rem  MODIFIED
    Rem    gdudey       06/28/95 -  Modified for desktop seed database
    Rem    glumpkin   10/21/92 -  Renamed from SQLBLD.SQL
    Rem    blinden   07/27/92 -  Added primary and foreign keys to EMP and DEPT
    Rem    rlim       04/29/91 -          change char to varchar2
    Rem    mmoore       04/08/91 -          use unlimited tablespace priv
    Rem    pritto       04/04/91 -          change SYSDATE to 13-JUL-87
    Rem   Mendels     12/07/90 - bug 30123;add to_date calls so language independent
    Rem
    rem
    rem $Header: utlsampl.sql 7020100.1 94/09/23 22:14:24 cli Generic<base> $ sqlbld.sql
    rem
    SET TERMOUT OFF
    SET ECHO OFF
    rem CONGDON    Invoked in RDBMS at build time.     29-DEC-1988
    rem OATES:     Created: 16-Feb-83
    GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER;
    ALTER USER SCOTT DEFAULT TABLESPACE USERS;
    ALTER USER SCOTT TEMPORARY TABLESPACE TEMP;
    CONNECT SCOTT/TIGER
    DROP TABLE DEPT;
    CREATE TABLE DEPT
           (DEPTNO NUMBER(2) CONSTRAINT PK_DEPT PRIMARY KEY,
        DNAME VARCHAR2(14) ,
        LOC VARCHAR2(13) ) ;
    DROP TABLE EMP;
    CREATE TABLE EMP
           (EMPNO NUMBER(4) CONSTRAINT PK_EMP PRIMARY KEY,
        ENAME VARCHAR2(10),
        JOB VARCHAR2(9),
        MGR NUMBER(4),
        HIREDATE DATE,
        SAL NUMBER(7,2),
        COMM NUMBER(7,2),
        DEPTNO NUMBER(2) CONSTRAINT FK_DEPTNO REFERENCES DEPT);
    INSERT INTO DEPT VALUES
        (10,'ACCOUNTING','NEW YORK');
    INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS');
    INSERT INTO DEPT VALUES
        (30,'SALES','CHICAGO');
    INSERT INTO DEPT VALUES
        (40,'OPERATIONS','BOSTON');
    INSERT INTO EMP VALUES
    (7369,'SMITH','CLERK',7902,to_date('17-12-1980','dd-mm-yyyy'),800,NULL,20);
    INSERT INTO EMP VALUES
    (7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
    INSERT INTO EMP VALUES
    (7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
    INSERT INTO EMP VALUES
    (7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
    INSERT INTO EMP VALUES
    (7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
    INSERT INTO EMP VALUES
    (7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
    INSERT INTO EMP VALUES
    (7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
    INSERT INTO EMP VALUES
    (7788,'SCOTT','ANALYST',7566,to_date('13-JUL-87')-85,3000,NULL,20);
    INSERT INTO EMP VALUES
    (7839,'KING','PRESIDENT',NULL,to_date('17-11-1981','dd-mm-yyyy'),5000,NULL,10);
    INSERT INTO EMP VALUES
    (7844,'TURNER','SALESMAN',7698,to_date('8-9-1981','dd-mm-yyyy'),1500,0,30);
    INSERT INTO EMP VALUES
    (7876,'ADAMS','CLERK',7788,to_date('13-JUL-87')-51,1100,NULL,20);
    INSERT INTO EMP VALUES
    (7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
    INSERT INTO EMP VALUES
    (7902,'FORD','ANALYST',7566,to_date('3-12-1981','dd-mm-yyyy'),3000,NULL,20);
    INSERT INTO EMP VALUES
    (7934,'MILLER','CLERK',7782,to_date('23-1-1982','dd-mm-yyyy'),1300,NULL,10);
    DROP TABLE BONUS;
    CREATE TABLE BONUS
        ENAME VARCHAR2(10)    ,
        JOB VARCHAR2(9)  ,
        SAL NUMBER,
        COMM NUMBER
    DROP TABLE SALGRADE;
    CREATE TABLE SALGRADE
          ( GRADE NUMBER,
        LOSAL NUMBER,
        HISAL NUMBER );
    INSERT INTO SALGRADE VALUES (1,700,1200);
    INSERT INTO SALGRADE VALUES (2,1201,1400);
    INSERT INTO SALGRADE VALUES (3,1401,2000);
    INSERT INTO SALGRADE VALUES (4,2001,3000);
    INSERT INTO SALGRADE VALUES (5,3001,9999);
    COMMIT;
    SET TERMOUT ON
    SET ECHO ON

  • Email in Oracle 10g Express Edition

    Hi,
    Can i send email with utl_smtp, utlmail or utl_tcp (after jvm installation) in Oracle 10g Express Edition?
    Thanks

    Hi,
    Example using the utl_smtp :-
    PROCEDURE send_mail (p_sender IN VARCHAR2,
    p_recipient IN VARCHAR2,
    p_message IN VARCHAR2)
    as
    l_mailhost VARCHAR2(255) := 'aria.us.oracle.com';
    l_mail_conn utl_smtp.connection;
    BEGIN
    l_mail_conn := utl_smtp.open_connection(l_mailhost, 25);
    utl_smtp.helo(l_mail_conn, l_mailhost);
    utl_smtp.mail(l_mail_conn, p_sender);
    utl_smtp.rcpt(l_mail_conn, p_recipient);
    utl_smtp.open_data(l_mail_conn );
    utl_smtp.write_data(l_mail_conn, p_message);
    utl_smtp.close_data(l_mail_conn );
    utl_smtp.quit(l_mail_conn);
    end;
    Thanks
    Pavan Kumar N

Maybe you are looking for

  • New system recommendations and suggestions

    I am in the market (finally) for a new system, and even though I had issues with my old MSI 975X Platinum PUE at the end, it served me well for over 6 years, so I'm pretty much sold by MSI. This is what I am looking at right now, but I would like to

  • Purchase order format

    Hi, i have created purchase order. Here vendor currency is USD. So when i am creating the purchase order for material which currency i have to mention. In program is it necessary to convert the currency. Edited by: Hima on Mar 25, 2008 5:30 AM

  • Split personality - iTunes playing two songs at once

    I wanted to select song A at the end of song Z but what happened was two songs began playing: the one 'next in shuffle' mode and the one I clicked on. This looks like a problem with the application handling user input during automated functions. Are

  • Can't subscribe to invite to share iCloud calendar.

    Received email invitation to join iCloud calender via my aol account.  Hit subscribe tab but nothing happened.  I have a HTC phone and also have a gmail acct and use Windows 7. Any suggestions as to what can be done?

  • InCopy files are being opened by InDesign

    I have InCopy CS5 and InDesign CS5 on my Mac, running OS 10.6.8. When I try to open an InCopy file, InDesign launches and tries to open the InCopy file. I then get a message saying "Cannot open InCopy files within InDesign. Please choose File > Place