How: multiple insert stmt's in Database Express edition SQL commands GUI?

I have installed the Express 10g version today and played around with it for a while.
If I go to the SQL commands GUI and enter one insert like this:
INSERT INTO pageit (PagID, PagParent, PagName, PagActive) VALUES (19, 17, 'Mango tree', 1)
then it works nicely:
But if I do this:
INSERT INTO pageit (PagID, PagParent, PagName, PagActive) VALUES (20, 17, 'Grape trees', 1);
INSERT INTO pageit (PagID, PagParent, PagName, PagActive) VALUES (21, 16, 'Animals', 1);
Then it says:
ORA-00911: invalid character
Looks like semicolon is not allowed,
but if I remove the semicolon then it says;
ORA-00905: missing keyword
Is there a way to use multiple insert statements in one go in this GUI at all?
If not, could someone please recommend how I do this.
I have exported thousands of insert lines from MySql and I would like to get them into my newly created Oracle table without having to type one line at the time in this gui.
Any suggestions?
Then if there is a nice WEB GUI like phpmyadmin for Oracle then I would like to know about that to? (Preferably free)

I've not done a lot with the express edition, so there may be tools I'm not aware of. There is a dedicated Express Edition forum that may be more helpful for some of these questions.
I would normally use the command-line SQL*Plus to run a script with a large number of SQL statements. I'd generally prefer, though, to get a comma-separated data file from the other system and load that into Oracle using SQL*Loader for efficiency reasons.
In Oracle, you would normally only want a single database on a single physical machine. I know in SQL Server that what they call a "database" is roughly equivalent to a "schema" in Oracle, which is created by creating a new user.
Justin

Similar Messages

  • How to connect Java to oracle Database Express Edition?

    Anyone can help me?
    How to connect JAVA TO ORACLE DATABASE EXPRESS EDITION?

    I suggest you to read this article:
    http://wiki.oracle.com/page/JDBC
    Regards,
    Ricky

  • Oracle Database Express Edition SQL Developer

    Hi all,
    I did download the Oracle Database Express Edition from Oracle's website and am trying to create a new connection with the following info
    Connection Name: myconnection
    Username: ora21
    Password: ora21
    Hostname: localhost
    Port: 1521
    SID: orcl
    Note: I even tried to use xe as the SID since it's a express edition but it keeps telling me test failed: ORA-01017: invalid/password; logon denied.
    Could it be because it's an Express edition? Please advice as am a new DBA and am practising on my own

    @Jim: thanks for the reply! I just created the user ora21 but when I try to creat the connection again it gives error ORA 01045 : user ORA21 lacks create session privilege; logon denied.

  • How to install Procedural Option in Oracle 10g Database express edition

    When i try execute exec send_mail shows error ORA-00900: invalid SQL statement.
    Error code shows "This error can occur if the Procedural Option is not installed "
    How to install Procedural Option in Oracle 10g express edition
    I'm using Oracle 10g Database express edition. Let me know how to run a procedure.

    I'm not sure of the meaning of ORA-00900 for Oracle XE but I think that PL/SQL is already installed by default according to the XE features list.
    See the Oracle® Database Express Edition 2 Day Developer Guide about procedure call.

  • How to see the output of stored procedure in database express edition 10g

    Hi All,
    I have done the workout query in database express edition
    create or replace procedure emp_ra (did in number) is
    commission real;
    no_comm exception;
    begin
    select commission_pct into commission from employees where department_id = did;
    if commission is null THEN
    raise no_comm;
    else
    DBMS_output.put_line(commission);
    end if;
    EXCEPTION
    WHEN no_comm THEN
    DBMS_OUTPUT.PUT_LINE ('This employee does not receive a commission.');
    WHEN OTHERS THEN
    NULL;
    end;
    the procedure compiled successfully with out any error.
    After this i executed the below
    set serveroutput on
    Begin
    emp_ra (90);
    end;
    it says
    Statement processed.
    0.00 seconds
    But i unable to see the result,could anyone please help me on this.
    Thanks
    Edited by: thelakbe on May 7, 2012 11:17 PM
    Edited by: thelakbe on May 7, 2012 11:17 PM
    Edited by: thelakbe on May 7, 2012 11:18 PM

    i exectued the same procedure in XE Database and have errors:
    SQL> create or replace procedure emp_ra (did in number) is
      2  commission real;
      3  no_comm exception;
      4  begin
      5  select commission_pct into commission from employees where department_id =
    did;
      6  if commission is null THEN
      7  raise no_comm;
      8  else
      9  DBMS_output.put_line(commission);
    10  end if;
    11  EXCEPTION
    12  WHEN no_comm THEN
    13  DBMS_OUTPUT.PUT_LINE ('This employee does not receive a commission.');
    14  WHEN OTHERS THEN
    15  NULL;
    16  end;
    17  /
    Advertencia: Procedimiento creado con errores de compilaci¾n.I am not a expert of SQL but i think your variables are wrong and you must initialize
    commission real;
    no_comm exception;For better information open a new thread at SQL Forum.

  • Upgrade Oracle Database Express Edition to (10.2.0.4 OR 11g) Release

    hello
    I plan to install the SOA, but need more than the database version 10.2.0.4. How to upgrade Oracle Database Express Edition to (10.2.0.4 OR 11g) Release?Thank you!!

    Hi,
    I plan to install the SOA, but need more than the database version 10.2.0.4. How to upgrade Oracle Database Express Edition to (10.2.0.4 OR 11g) Release?Thank you!!My i know the current version of your database?
    Refer:
    *316889.1 -- Complete Checklist for Manual Upgrades to 10gR2*
    *429825.1 -- Complete Checklist for Manual Upgrades to 11gR1*
    *837570.1 -- Complete Checklist for Manual Upgrades to 11gR2*
    thanks,
    X A H E E R

  • How to install Oracle Spacial with Oracle Express Edition 10g?

    Hello,
    I'm new in Oracle Technology, I just wanted to try Oracle Spatial.
    I don't know how to get it so I've installed Oracle Express and followed this tutorial :
    http://oracledbas.blogspot.com/2009/06/manual-installation-of-spatial-10g.html
    They say Jserver, Oracle interMedia and Oracle XML Database have to be installed, but only one of them seems to be set up (XML DB), I can't install the others.
    If someone can help me to install Oracle Spatial, it would be nice. Bye.

    If you want to use Oracle Express Edition, note that the 11.2 version is available on beta now:
    http://www.oracle.com/technetwork/database/express-edition/overview/index.html
    Its a while since I've used XE but from what I recall you get the Locator functionality, but not Spatial. That makes sense as XE is free, which Spatial needs to be licensed.
    However, you can do an awful lot with Locator. To see if it is setup, just check if you have the MDSYS schema. Then describe the SDO_GEOMETRY type:
    describe mdsys.sdo_geometry
    If they are both there, then you're in business.

  • Installing Oracle Database Express Edition 11g on UBUNTU

    Hello everyone,
    I want to install Oracle Database Express Edition 11g on UBUNTU. I followed the steps from this link created by Dude:
    https://forums.oracle.com/thread/2303639?start=0&tstart=0
    My problem becomes when I type in from the terminal:
    sudo /etc/init.d/oracle-xe configure
    I followed the instructions there, agreeing t HTTP port 8080, port database listener 1521,  specifying a password for my database account, and wanting Oracle Express to be started on boot. This is what I'm getting:
    Starting Oracle Net Listener...touch: cannot touch `/var/lock/subsys/listener': No such file or directory
    Done
    Configuring database...
    Database Configuration failed.  Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
    I have no idea what this means, so I went into the log's location and I found 4 of them, so I clicked on each of them, and this is what I'm getting:
    1. cloneDBCreation.log:
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    ORA-00845: MEMORY_TARGET not supported on this system
    Create controlfile reuse set database "XE"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter system enable restricted session
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter database "XE" open resetlogs
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter database rename global_name to "XE"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter system switch logfile
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter system checkpoint
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    2. CloneRmanRestore.log
    ORA-00845: MEMORY_TARGET not supported on this system
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    declare
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    3. postDBCreation.log
    begin
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    File created.
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    ORA-00845: MEMORY_TARGET not supported on this system
    select 'utl_recomp_begin: ' || to_char(sysdate, 'HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    BEGIN utl_recomp.recomp_serial(); END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    select 'utl_recomp_end: ' || to_char(sysdate, 'HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    4. postScripts.log
    CREATE OR REPLACE LIBRARY dbms_sumadv_lib AS '/u01/app/oracle/product/11.2.0/xe/lib/libqsmashr.so';
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    BEGIN dbms_datapump_utl.replace_default_dir; END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    commit
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    create or replace directory XMLDIR as '/u01/app/oracle/product/11.2.0/xe/rdbms/xml'
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    DROP DIRECTORY ORACLE_OCM_CONFIG_DIR
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    DROP DIRECTORY ADMIN_DIR
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    DROP DIRECTORY WORK_DIR
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    BEGIN dbms_swrf_internal.cleanup_database(cleanup_local => FALSE); END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    commit
    Can somebody that knows this, or has installed Oracle Express on Ubuntu, to please explain it to me what does it mean and why am I getting those errors. Please explain thoroughly as if I am an amateur person, IN DETAIL, STEP-BY-STEP. I want to run it and make it work! I heard that it encourages people to answer for points. I am open for your suggestions and experiences, as long as it's not 'use common sense', 'you're dumb', or an answer that is vaguely explained.  Thank you for those that take the time to read it.
    ec557fac-f825-4356-a220-1ec941ce7cd0 

    Hi Pradeepcmst,
    Thanks for your suggestion, but I found it sometimes misunderstanding on what he's trying to say - his instructions are not step-by-step and precise. Instead, I found this link that helped me a lot:
    Installing Oracle 11gXE on Mint and Ubuntu | The Anti-Kyte

  • Using Oracle Database Express Edition in development environment

    Hi All,
    I have doubt regarding the usage Oracle Database Express Edition in Development environment. I am not sure weather I can ask a non technical question here or not. Pleas forgive me if I have done any thing wrong.
    I am working in an IT company where we take up projects outsourced by our clients. As part of our current project we are making some modification to a web application used by an institution. Our client is using Oracle Data Base standard edition. Due to budgetary constraints of our Company we can not set up a Oracle standard edition data base in our development environment.
    So would it be illegal if we use  Oracle Database Express Edition in our development environment?  We can guarantee that  only our internal development team which comprise a maximum of 10 people will have access to this development database and this development data base will never be opened to our Client for their business purpose(Who have their own Oracle standard edition in their environment). As part of the project we delver only table DDL script and stored procedure to our client and they put it in their environment.The sole purpose of a internal Express database will be development only.
    Could some one please tell me if it would be violation of license agreement if we install Oracle Database Express Edition in our development environment.

    Hi Paul,
    Actually I have already gone through the Oracle Technology Network Developer License Terms for Oracle Database 11g Express Edition . But was not quiet clear about the content. It says in the license terms that "We grant you a nonexclusive, nontransferable limited license to use the programs for: (a) purposes of developing, prototyping and running your applications for your own internal data processing operations". Does the term "your application" includes an application we are developing for another company. Since the Express database  is installed in the development environment only and is not opened to any one else not even for Our client it definitely falls under the term "internal data processing operations" right?

  • How to insert a HYPERLINK in a template Editable Field?

    Question:  How to insert a HYPERLINK in a template Editable Field?
    Hi
    Does anyone know how to insert a HYPERLINK in a template Editable Field?
    I want the link to always display the word "Cities".
    But the URL will change with each child page.
    Here's what I've got so far . . .
    <!-- TemplateBeginEditable name="Cities" -->Cities<!-- TemplateEndEditable -->
    Thanks so much!

    NOTE: This is to go into the TEMPLATE
    Your best bet is to keep the hyperlink OUT of the editable Field and to make the HREF attribute of the link editable.
    This would go in the head of your document:
    <!-- TemplateParam name="href" type="URL" value="" -->
    This would go where you want the link to appear:
    <a href="@@(href)@@">cities</a>
    THE BETTER WAY: You can either paste these quotes into the appropriate places in your template or you can insert:
    <a href="#">cities</a>
    and click inside the opening <a> tag.
    Then go to Modify > Templates > Make Attribute Editable
    In the dialog box "Editable Tag Attributes" you should now see "Choose which attributes of this A tag should be editable."
    If HREF is not showing in the drop-down, do Add and put it there.
    Check the box to Make this attribute editable.
    Give a name for this editable attribute (if you have more than one on a page, you will want it to be understandable, like "cities" for your cities links).
    Make sure it is of Type URL
    If you want a default URL in place, put one in the Default field.
    Then push OK.
    To use it, on each page, do Modify > Template Properties... choose the property to edit, and put the new URL in the entry field.
    Press OK.
    Beth

  • Add multiple users to a certain database in the SQL server in one go

    I wonder if there is any method to add multiple users to a certain database in the SQL server in one go and without using transact code.
    I can add a single user to a certain database “Q” for example by right click on the user “U1” for example then properties then in user mapping tab select
    the database “Q”, so there should be a method to add multiple users ( U1,U2,U3…) to this database?
    Best Regards,
    Ahmad

    Many thanks Visakh16,
    I can do this using the below script, but what I am searching for is do to this without any scripting.
    USE TestDatabase; --Make sure you have the right database
    DECLARE @sql VARCHAR(MAX) = '';
    SELECT @sql = @sql + 'CREATE USER ' + name + ' FOR LOGIN ' + name + ';
    ' +
    'GRANT CREATE TABLE, CREATE PROCEDURE, CREATE VIEW, VIEW DEFINITION TO ' + name + ';
    FROM sys.server_principals p
    WHERE p.type in ('S','U') -- SQL Logins and Windows Login. Do not change!
    and p.name in ('U1','U2','U3'); -- List of names to add. alter to suit
    PRINT @sql; -- Show the statements being executed in the messages pane
    EXEC(@sql); -- Run the statements that have been built
    Thanks,
    Ahmad

  • Downloading Oracle Database Express Edition

    Hi everyone. I just downloaded the freeware Oracle Database Express Edition without any apparent problems. However, when I attempt to go to the Express Edition Homepage, which is location http://127.0.0.1:8080/apex,
    I get the message that my Internet Explorer cannot display the webpage. (It can, however, display other pages.) I cannot understand why this is the case since I successfully added Web site 127.0.0.1 in my Control Panel (as specified in the instructions.) Also, the instructions stated that HTTP port 8080 was the default port, unless my system said that this was not available (which it did not.) I also tried rebooting, which did not make a difference. Help!
    Thanks,
    Jason

    Hi,
    Use this forum to report problems with or suggestions for the download.oracle.com service or content.
    Please post your question in the appropriate forum for a better/faster response.
    Database - General
    General Database Discussions
    Thanks,
    Hussein

  • Upgrade oracle database express edition

    good morning
    i've a question i'm working with oracle database express edition but now the memory is full and i want to upgrade it to oracle enterprise edition but i don't know the steps please can you help me in this
    best regards

    I've a question i'm working with oracle database express edition but now the memory is full and i want to upgrade it to oracle enterprise edition Hi,
    Not to dissuade you from that, but that's quite a leap from XE to EE, are you sure that SE One or SE would not be a 'better option' for you?
    Also, by 'memory is full', I assume you mean you've reached the 4Gb data limit?

  • Oracle Database Express Edition maximum data size

    Hi
    We just need to know what is the maximum data(in gb) Oracle database express edition 10g can store in it?
    Thanks

    915071 wrote:
    Hi
    We just need to know what is the maximum data(in gb) Oracle database express edition 10g can store in it?
    Thanks4GB

  • Oracle Database Express Edition 2 Day Plus Java Developer Guide??

    I posted in the JDeveloper forum, as well as sending email via your feedback link found on the tutorial but I am a little disappointed by this:
    The Oracle® Database Express Edition 2 Day Plus Java Developer Guide has some errors in it.
    in Windows, I simply chose, start
    -> programs -> Oracle Database Express Edition -> Go To Database Home Page -> click documentation from the link -> and run the Oracle® Database Express Edition 2 Day Plus Java Developer Guide tutorial.
    the problem is there are mistake(s) in the tutorial, for example: section 4-19 is this:
    "The complete code for the method should now be as follows:
    public boolean authenticateUser(String userid, String password,
    HttpSession session) throws SQLException { "
    it needs to be this:
    public boolean authenticateUser(String jdbcURL, String userid, String password,
    HttpSession session) throws SQLException {
    Also:
    there is no mention that :
    the port and SID must also be passed in the
    ds.setURL(jdbcUrl) found in the authenticateUser() method, or an exception is thrown. This differs from value of the jdbcUrl string found in the getDBConnection() , which makes it hard to figure out
    The tutorial is great even if it doesn't work out of the box, but I am disappointed that errata or completed code for this project is not available, especially when you explicitely point to it via the steps mentioned above.
    Thanks,
    Patrick

    The tutorial seems to be using the old JDeveloper 10.1.2.
    If you are aiming to learn JDeveloper then just use the tutorials linked from the JDeveloper home page.
    http://www.oracle.com/technology/obe/obe1013jdev/index.htm

Maybe you are looking for

  • My old computer crashed, I have Itunes on a WD passport drive. How do I put Itune on my new computer?

    My old computer crashed, I have itunes backedup on a WD passport drive. I found a music folder on that drive and move it to my desktop on a new computer runing windows 8. I downloaded Itunes software to the new computer. How do I put the the folder w

  • RE: Dynamically mapping data to widgets

    One quick and dirty solution would be something like this (though not terribly efficient): newPanel : Panel; newPanel = <panelCreatedFromWindowWorkshop>.Clone(deep = TRUE);for childWidget in newPanel.children do -- check if the childWidget field name

  • IIS Redirect to Web Logic Server

    I have a web server Machine A dedicated to provide static web pages on port 80. I have weblogic server 7.0 sp 4 installed on Machine B. The web applications are deployed on port 8200. If a user comes with a port number 8200 on the URL. I want to redi

  • Mms to servlet general methodology?

    I am working on a project that involves mobile device to servlet communication. It allows doctors to submit voice-recorded requests for medical information. The recorded data is run thru speech recognition and nlp software and used to generate variou

  • Every time I open a PDF file... I need to register

    Every time I open a PDF file, I am asked to log in with my adobe ID and register the product.  I have.  I do.  I have a monthly subscription to the cloud (plus had purchased acrobat something or other at one point). How can I keep this small but anno