SQL command editor doesn't take more than 1 insert command

i am trying to copy whole table from a text file with creat table
command and insert in to (with data) in the same table but SQL command
editor giving me error and only allow me to enter one row of data at a
time, any help would be much appriciated. 10g Express edition. started
Oracle first time last week. You guys see me here a lot un till i get
on the stage where i can start helping others.
INSERT INTO LOCATIONS VALUES (9,'Poole');
INSERT INTO LOCATIONS VALUES (10,'Durham');
INSERT INTO LOCATIONS VALUES (11,'Doncaster');
Column Name Data Type Nullable Default Primary Key
LOCATION_ID NUMBER No - 1
DESCRIPTION VARCHAR2(50) No - -
error message:
ORA-00911: invalid character
but its working with same line of code in a one at a time
Edited by: mrHarris on 20-Oct-2008 04:11

Hi,
you have multiple options here:
1) upload as a script:
a) save the statements in a file
b) go to sql workshop > sql scripts
c) upload script and run the script
2) run the script line by line in the sql commands window directly:
a) go to sql workshop > sql commands
b) copy all statements there
c) highlight the first statement with the mouse
d) click "run" or press <ctrl>+enter
3) use sql developer
a) go to http://www.oracle.com/technology/products/database/sql_developer/index.html
b) download and install
c) connect to XE
d) run the statements there
Regards,
~Dietmar.

Similar Messages

  • Delete Command button doesn't take more than one parameter while update command does

    Hi,
    Does anybody have an idea WHY sharepoint does not send the parameter information to a delete command while the exact same parameter is being sent to the Update command?, the data is being pulled from an asp:TextBox bound  to the 'comments' field in
    the data source which happens to be the field I need to update, the code works for Update commands but not for Delete commands. Unfortunately I have to use sharepoint designer because SP is restricted at work, so I can't write code behind the scenes. I would
    appreciate any help, here's my code
    <%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/v4.master" title="Test" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full" %>
    <%@ Register tagprefix="SPSWC" namespace="Microsoft.SharePoint.Portal.WebControls" assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register tagprefix="cc2" namespace="Microsoft.SharePoint.WebControls" assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register tagprefix="WebUI" namespace="Microsoft.Office.InfoPath.Server.Controls.WebUI" assembly="Microsoft.Office.InfoPath.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register tagprefix="WebPartPages" namespace="Microsoft.SharePoint.WebPartPages" assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <asp:Content id="Content1" runat="server" contentplaceholderid="PlaceHolderMain">
    <asp:SqlDataSource runat="server" ProviderName="System.Data.SqlClient" UpdateCommand="sp_updateStartedApprovals" ID="SqlDataSource2" ConnectionString="Data Source=MCARLOSJ2;User ID=sa;Password=****;Initial Catalog=MyDB;" SelectCommand="SELECT * FROM mainView " __designer:customcommand="true" UpdateCommandType="StoredProcedure" DeleteCommand="sp_rejectApprovals" DeleteCommandType="StoredProcedure">
    <UpdateParameters>
    <asp:Parameter Name="comments" Type="String"/>
    <asp:parameter Name="id" Type="Int32" />
    </UpdateParameters>
    <DeleteParameters>
    <asp:Parameter Name="comments" Type="String"/>
    <asp:parameter Name="id" Type="Int32"/>
    </DeleteParameters>
    </asp:SqlDataSource>
    <asp:GridView runat="server" id="GridView1" AutoGenerateColumns="False" DataSourceID="SqlDataSource2" DataKeyNames="id" GridLines="None" ForeColor="#333333" CellPadding="4">
    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
    <Columns>
    <asp:boundfield DataField="description" HeaderText="Status" ReadOnly="True" SortExpression="description">
    </asp:boundfield>
    <asp:boundfield DataField="Employee Last Name" HeaderText="Employee Last Name" ReadOnly="True" SortExpression="Employee Last Name">
    </asp:boundfield>
    <asp:boundfield DataField="Employee First Name" HeaderText="Employee First Name" ReadOnly="True" SortExpression="Employee First Name">
    </asp:boundfield>
    <asp:boundfield DataField="Pending approval" HeaderText="Pending approval" ReadOnly="True" SortExpression="Pending approval">
    </asp:boundfield>
    <asp:boundfield DataField="Atnmt %" HeaderText="Atnmt %" ReadOnly="True" SortExpression="Atnmt %">
    </asp:boundfield>
    <asp:boundfield DataField="Country" HeaderText="Country" ReadOnly="True" SortExpression="Country">
    </asp:boundfield>
    <asp:boundfield DataField="comments" HeaderText="comments" ReadOnly="True" SortExpression="Comments">
    </asp:boundfield>
    <asp:boundfield DataField="processStartedDate" DataFormatString="{0:MM/dd/yyyy}" HeaderText="Date Opened" ReadOnly="True" SortExpression="processStartedDate">
    </asp:boundfield>
    <asp:boundfield DataField="Due Date" DataFormatString="{0:MM/dd/yyyy}" HeaderText="Due Date" ReadOnly="True" SortExpression="Due Date">
    </asp:boundfield>
    <asp:templatefield>
    <ItemTemplate>
    <asp:TextBox runat="server" id="comments" Text='<%# Bind("comments") %>'/>
    <asp:LinkButton runat="server" Text="Approve" id="Button1" CommandName="Update" CausesValidation="False" />
    <asp:LinkButton runat="server" Text="Reject" id="Button2" CommandName="Delete" CausesValidation="false"/>
    </ItemTemplate>
    </asp:templatefield>
    </Columns>
    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <PagerStyle HorizontalAlign="Center" BackColor="#284775" ForeColor="White" />
    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <EditRowStyle BackColor="#999999" />
    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
    </asp:Content>

    Hi,
    you have multiple options here:
    1) upload as a script:
    a) save the statements in a file
    b) go to sql workshop > sql scripts
    c) upload script and run the script
    2) run the script line by line in the sql commands window directly:
    a) go to sql workshop > sql commands
    b) copy all statements there
    c) highlight the first statement with the mouse
    d) click "run" or press <ctrl>+enter
    3) use sql developer
    a) go to http://www.oracle.com/technology/products/database/sql_developer/index.html
    b) download and install
    c) connect to XE
    d) run the statements there
    Regards,
    ~Dietmar.

  • Module ContrentSwitch 3 command takes more than a minute to respond

    I have two CAT 6509 switches with a CSM module in slot 3 in SW1 and a CSM module in slot 8 in SW2.
    From the router config when I type - module ContentSwitch 3 on MSFC in SW1 - it takes more than a minute to get the CSM config prompt.
    Then every command I type - eg, vlan 46 client - takes about a minute to respond.
    This happens only on CAT 6509 SW1. On the other CAT 6500 - SW2 - which has the CSM in slot 8 - when I say - at router config prompt - module ContentSwitch 8 - I get an immediate response with the csm config prompt and every command I type I get immediate response.
    One CAT 6500 number Sw1, I did a reset 3 at the CatOS prompt and tried again. Same problem, Could it be a H/W problem on this CSM in this CAT6509. The CSM versions of the two CSMs in the two CAT6509 are 4.1(3) and the MSFCs in the two CAT6509 are 12.1(2)E.
    It can't be version problem because the two CSMs and the two MSFCs in the two CAT 6509 have the same versions. Tomorrow I will replace the CSM in the problem CAT6509 and try again.
    I have configured one CSM and I need to configure this other CSM whick takes more than a minute to respond to commands and so I gave up after I typed 3 or 4 commands.
    Any suggestions please?

    I meant to type 12.1(22)E2. Please see below for the version and it is the same on the MSFC of both CAt6509 switches.
    IOS (tm) MSFC2 Software (C6MSFC2-JK2SV-M), Version 12.1(22)E2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
    CSM is 4.1(3) - see below:
    HTCUITS1> (enable) show mod
    Mod Slot Ports Module-Type Model Sub Status
    1 1 2 1000BaseX Supervisor WS-X6K-SUP2-2GE yes standby
    15 1 1 Multilayer Switch Feature WS-F6K-MSFC2 no standby
    2 2 2 1000BaseX Supervisor WS-X6K-SUP2-2GE yes ok
    16 2 1 Multilayer Switch Feature WS-F6K-MSFC2 no ok
    3 3 4 Content Switching Module WS-X6066-SLB-APC no ok
    4 4 8 Intrusion Detection Mod WS-SVC-IDSM-2 yes ok
    5 5 8 1000BaseX Ethernet WS-X6408A-GBIC no ok
    6 6 48 10/100/1000BaseT Ethernet WS-X6548-GE-TX no ok
    7 7 48 10/100BaseTX Ethernet WS-X6348-RJ-45 no ok
    Mod Module-Name Serial-Num
    1 SAD051905VW
    15 SAD0518057D
    2 SAL085286E3
    16 SAL09020C29
    3 SAD0825082B
    4 SAD091208RC
    5 SAL06110XWG
    6 SAL091389PP
    7 SAL05052SZ5
    --More--
    Mod MAC-Address(es) Hw Fw Sw
    1 00-01-64-76-08-3e to 00-01-64-76-08-3f 2.2 7.1(1) 8.3(7)
    00-01-64-76-08-3c to 00-01-64-76-08-3d
    15 00-06-28-75-f1-00 to 00-06-28-75-f1-3f 1.2 12.1(22)E2 12.1(22)E2
    2 00-09-12-58-2d-ce to 00-09-12-58-2d-cf 5.1 7.1(1) 8.3(7)
    00-09-12-58-2d-cc to 00-09-12-58-2d-cd
    00-d0-04-e0-6c-00 to 00-d0-04-e0-6f-ff
    16 00-13-19-34-f6-80 to 00-13-19-34-f6-bf 2.8 12.1(22)E2 12.1(22)E2
    3 00-11-5c-eb-5f-ca to 00-11-5c-eb-5f-d1 1.7 4.1(3)
    4 00-12-80-f1-31-26 to 00-12-80-f1-31-2d 5.0 7.2(1) 4.1(4)S91
    5 00-09-12-60-d4-44 to 00-09-12-60-d4-4b 2.1 5.4(2) 8.3(7)
    6 00-13-7f-4d-ae-c0 to 00-13-7f-4d-ae-ef 10.1 7.2(1) 8.3(7)
    7 00-03-6c-1c-f1-70 to 00-03-6c-1c-f1-9f 1.5 5.4(2) 8.3(7)

  • RMAN archive backup takes more than 1 hour.

    Hello,
    We execute the following command from HP Data Protector 5.50 in order to backup archives from an Oracle 8.1.7 database running in HP-UX 11.00:
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=inf,OB2BARLIST=Oracle_Archivers_Inf)';
    allocate channel 'dev_1' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=inf,OB2BARLIST=Oracle_Archivers_Inf)';
    allocate channel 'dev_2' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=inf,OB2BARLIST=Oracle_Archivers_Inf)';
    sql 'alter system switch logfile'
    sql 'alter system archive log current'
    backup
    filesperset 1
    format 'Oracle_Archivers_Inf<inf_%s:%t:%p>.dbf'
    archivelog until time 'SYSDATE-2'
    delete input;
    backup
    filesperset 1
    format 'Oracle_Archivers_Inf<inf_%s:%t:%p>.dbf'
    archivelog all;
    This process takes more than 2 hours for just 3 GB and we don't think this is network issue.
    Is our RMAN command doing more thinks than just archives backup?
    Almost at the end of backup we get following message:
    Default exp binary /INF/oracle/app/product/8.1.7/bin/exp/ is used for catalog export.
    Does this message mean an export is done at the end of archive backup?
    Note that message belongs it is more than 2 hours later.
    Thanks in advance for your help.
    Regards,
    Carles

    Yes, it appears one of your utilities is doing an export backup, check HP Data Protector settings.
    -- and/or -- you are having tape problems: ... type[b] 'sbt_tape'

  • I bought a ipad mini online from the apple store. His battery doesn't last more than 6h. I return it back to them they send me a new one, but the problem is same. Battery doesn't last more than 5-6h!

    I have purchased a iPad mini online from the Apple store. Since day one I had 2 issues with it. First is that the battery life doesn't last more than 5-6h active usage, and the second one is with the wi-fi. It works properly but after I leave it for a while in sleep mode and try to reuse it, it doesn't want to open a web page or app store or mail (anything connected with the internet search) but it shows that is properly connected with my home network. So I have to turn off the wi-fi connection and turn it on again so it start to work properly. After couple off days this becomed very annoying so I contacted the support via phone and they gave me instructions for return it and that I'll receive a new one without aditional fee. I get the second device in the predicted time but again I have the same issues with the wi-fi and battery life. I will be pleased if someone from the Apple expert team explaine to me what should I do, because I dont find it for normal what is happening. On the Apple official site under the specifications for iPad mini it says that the battery lasts for at least 10h and the wi-fi problem isn't mentioned anywhere. Thanks in advance.

    This is a user to user forum. No one here is an employee or representative of Apple.
    If you want someone from Apple to explain what you should do make an appointment at an Apple store if there is one near you and take your iPad there and talk to Apple. If no Apple store is close enough then call Apple to find out what your alternatives are. There is a Contact Info link at the bottom of every page in this forum.

  • MacBook pro takes more than 10 minutes to start with ML ?

    My Macbook pro takes more than 10 minutes to start. I press Start and it takes more than 10 minutes before I can enter my password. Need your help !

    Sounds like time for a PRAM reset. Here's how:
    1. Power down the machine.
    2. Locate the following keys on your keyboard in preparation for Step 4:
    ‘command’ – ‘option’ – ‘P’ – ‘R’
    3. Press the ‘power on’ button.
    4. Immediately – and before the grey screen appears – hold down ‘command-option-P-R’ all together.
    5. Keep them held down until you’ve heard the start-up chime twice. After you release them you should hear it again, and hopefully your Mac will boot up as normal.

  • My iMac 21.5 Inch takes more than 10 minutes to boot. How to solve??

    I have just installed Mac OS X v10.6.7. The iMac just boot super slowly. It takes more than 10 minutes to become responsive...
    How can i solve the problem???

    This could be something as simple as a corrupted cache or as drastic as a failing hard drive, but try the less drastic first. Back up all your data and run Onyx 'automation'. You could empty all your caches manually, but Onyx will do it in one click. If Onyx doesn't resolve the start up issue you will have to start thinking about more drastic measures.
    Onyx: http://www.titanium.free.fr/download.php

  • Datatype which takes more than 5000 characters

    I want to have a column which can take more than 5000 characters. Which datatype can I have ? varchar2 is not working.
    Please help me.

    Pradeep_Warangal wrote:
    I want to have a column which can take more than 5000 characters. Which datatype can I have ? varchar2 is not working.
    Please help me.Varchar2 can have 32000 chars in PL/SQL. Are you looking for an SQL datatype? Then CLOB ist the answer.

  • When I close my iPhone and I want to open it to use it again, the opening process takes more than an hour, I regretted to buy the iPhone because of this problem that you do not suffer at all with Nokia,how I can solve this problem?

    When I close my iPhone and I want to open it to use it again, the opening process takes more than an hour, I regretted to buy the iPhone because of this problem that you do not suffer at all with Nokia,how I can solve this problem?

    mostafa182 wrote:
    ... how I can solve this problem?
    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • I just got an iPod touch, it was fine with battery life before I added Apps but now the battery doesn't last more than a night, what should I do?

    I just got an ipod touch from my sister yesterday which she has had since October. The battery life went for days with her but as soon as I started checking my email and adding apps the battery doesn't last more than a couple of hours. I deleted some apps but no change. I also kept my email logged in and my notifications turned on so I'm wondering if they are part of the problem. Please let me know what I should do. Thank you so much.

    Yes, notifications are part of the problem.  For more information look at at the previous posts on this problem.  Yu can find some of those on the right hand side of this page under the heading: More Like This.  I keep mine in airplane mode when asleep.

  • Splitting an event takes more than 3 min

    Hi,
    I have about 8.000 photos in my library and 2.500 photos in a single event. Now I want to extract a set of pictures from this event and move it in a new event. Is there a faster way doing this than splitting the event before and after the set of pictures? This created 3 events and then I have to move the 3rd event back into the first, the 2nd event is what I want to keep.
    BTW, with over 8.000 pictures in the library, is it normal that splitting an event takes more than 3 minutes?

    Danielle
    Flag the pics you want to move to the new Event and the go Events -> Create Event from Flagged Photos. That will probably be faster.
    BTW, with over 8.000 pictures in the library, is it normal that splitting an event takes more than 3 minutes?
    I wouldn't have thought so, but it might take a while with an Event that has more that 2,500 pics in it. Remember, Events in the iPhoto Window correspond exactly with the Folders in the Originals Folder in the iPhoto Library package file (Right click on it in the Pictures Folder -> Show Package Contents). So splitting an event literally means creating a folder and moving files to it and so on.
    Regards
    TD

  • I used scripting brigde to add a movie that has size bigger than 5GB, exactly after two minutes iTunes return a failed, but the processing of the file is actually added to iTunes Library successfully. The copying take more than 5 minutes to complete. Why?

    I used scripting brigde to add a movie that has size bigger than 5GB, exactly after two minutes iTunes return a failed, but the processing of the file is actually added to iTunes Library successfully. The copying take more than 5 minutes to complete. Why the iTunes Scripting Brigde returned failed when it is actually success? It occurred exactly 2 minutes after submit the request to Scripting Brigde. Is this 2 minutes related to the Apple Event time out? if it does, how do I get around this problem? thx

    I can tell you that this is some of the absolutely worst customer service I have ever dealt with. I found out from a store employee that when they are really busy with calls, they have third party companies taking overflow calls. One of those companies is Xerox. What can a Xerox call center rep possibly be able to authorize on a Verizon account?  I'm Sure there is a ton of misinformation out there due to this. They don't note the accounts properly or so everyone can see them. I have been transferred before and have asked if they work for Verizon or a third party also and was refused an answer so, apparently they aren't required to disclose that information. I spent a long time in the store on my last visit and it's not just customers that get the runaround. It happens to the store employees as well and it's beyond frustrating.

  • I am having the  problem . it says it shouldnt take more than 3 minutes then i get this message Could not activate iphone. i have taken the sim card out and put it back in even then its of no use. if any one out there can help us it would be very nice

    i am having the  problem in my 3gs iphone. it says it shouldnt take more than 3 minutes then i get this message Could not activate iphone.
    i have taken the sim card out and put it back in even then its of no use.
    if any one out there can help us it would be very nice of them. thank you for your time.

    I can not get to iPhone screen, so no way to get to Settings. That is the problem. When I connect phone to iTunes I get screen asking to insert SIN card. On the phone I'm getting Cinfigure screen asking Launguage , Country or Region, Wi-Fi, ( I can connect to my home wi-fi), and last screen "Activating your iPhone". After two minutes of waiting IM getting message: Your iPhone could not be activated because the activation server in temporary unavailable. try connecting to iTunes or try later or contat apple.com/support.
    Like I mention, I went to Bell as well Rogers store and tried to insert active SIM card with no results.
    Yes, my friend unlock the phone to use with Rogers but I don't know where

  • How to make an indicator takes more than one input

    Hello,
    I want to know how to make an indicator ( like gauge for example) response to more than one case strrcuture result. In other words, how the indicator can take more than one input and move based on different input values ( the arrow of the gauge moves to different angles basesed on the logic structure and not only to one degree).
    Thanks in advance,
     

    YES, you got it right Coastal !
    This is what i want to do,
    I dont know how to establish this output in the software, i am still learning LabVIEW.
    I put a merge block to join the outputs but it didnt work.
    check it in the attached VI file.
    I am sure it is an easy thing but I dont know how to implement it.
    Any help you provide is appreciated,
    Best wishes 

  • I have been using USB 2.1 10/100M ethernet adaptor. But it takes more than 15 mins to detect network interface. What should I do. I am not using apple's company adaptor. It's local company.

    I have been using USB 2.1 10/100M ethernet adaptor. But it takes more than 15 mins to detect network interface. What should I do. I am not using apple's company adaptor. It's local company.

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Acrobat 9.5.5 in WinOS7 crashes on scan

    Acrobat Pro used to be great at scanning with my Epson 4490.  However, it now crashes whenever I invoke any command related to scanning or scan properties.  Has something changes in the Windows OS or has an Acrobat update caused this problem?

  • Convert tiff to pdf using on line converter

    i signed up with the annual subscription but cannot convert my tiff files on line.  Need help please

  • URL longer than it needs to be.

    I've created a web site, www.shadyhollowstingrays.com.  The name of the site in iWeb is Shady Hollow Stingrays.  For some reason iWeb has created a folder at the root of my site called shady_hollow_stingrays so now every URL is longer than it needs t

  • HELP - Windows 7 saves an entry of a connection to a network location in the start menu

    Hello Technet. I have a question regarding what the title says. After i connected to a network path on a client PC, from the start menu search, like; \\Fileserver01\Files$, even after a restart of the client, it still saves the entry in start menu if

  • Moving iweb site to Wordpress

    Hi. I have made a few sites now using iweb. As much as i like it, i has become a bit frustrating having to add all sorts of bits and bobs to try and do some SEO. My sites are doing ok, but i really want to change to Wordpress so that i can easily edi