A question about the number of error indicated by SQL line * more

Hello everyone,

OS: Fedora Core 17 x86_64
Oracle version: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

I have a question for the line number specified by SQL * more whenever he is in error (syntax error, for example) in your script file. Consider the following script file (myscript.sql) which includes exactly 12 lines. Before the instruction to START I just put 4 blank lines by using - just to make the code clearer to read.
HOST clear;
SET SERVEROUTPUT ON;
SET PAGESIZE 0;
SET LINESIZE 1000;
--
--
--
--
BEGIN
  DBMS_OUTPUT.PUTLINE('Hello');
END;
/
DBMS_OUTPUT. PUTLINE at line 10 is obviously a mistake and it should be DBMS_OUTPUT. Put_line. However, if you run the script here is the output:
SQL> @myscript.sql;

  DBMS_OUTPUT.PUTLINE('Hello');
              *
ERROR at line 2:
ORA-06550: line 2, column 15:
PLS-00302: component 'PUTLINE' must be declared
ORA-06550: line 2, column 3:
PL/SQL: Statement ignored


SQL>
for SQL * the error is in the line 2 and not 10.

Any idea?

Thanks in advance,

>
for SQL * the error is in the line 2 and not 10.
>
No - for Oracle, the error is in the line 2 and not 10.

This is the code that sees the parser. What is the 2 line?

BEGIN
  DBMS_OUTPUT.PUTLINE('Hello');
END

Tags: Database

Similar Questions

  • a stupid question about the string conversion error

    I learn generic

    well generic allows setting the data type that you add to the fields of the object, right?

    I made a simple example

    class generic < String >

    {

    The name of the string;

    void set (String name)

    {myIdName = name ;}

    String get() {return myIdName ;}

    }

    class using {}

    Public Shared Sub main (String [] args)

    {

    generic < String > gn = new

    (generics) < String >;

    GN. Set (90);

    System.out.println ("name entered is:" + gn.get ());

    }

    }

    now the line

    GN. Set (90);

    I know that I send a string to the value method, but I wanted to see the error that comes when I send the argument of type other than a string and sent 90 to set method (without quotes)

    the error that slammed me is

    method defined in the class generic < String > cannot be applied to the given types

    required: java.lang.String

    found: int

    reason: int real argument cannot be converted to a java.lang.String by method invocation conversion

    corresponding to a variable of type String: String extends the object declared in the class generic

    OK here is my stupid question

    I know that int cannot be converted to a string and put 90 quotes will correct the error

    What intrigued me is the last line

    "Chain extends object declared in the class generic.


    I know that everything is under the object class

    that means that means line... ??

    thnq

    What intrigued me is the last line

    "Chain extends object declared in the class generic.


    I know that everything is under the object class

    that means that means line... ??

    Which refers to the class definition you provided:

    generic class

    You "stated" in your 'generic' class a 'collar' stretching ' the object '. It reads as if it said "String declared in the class generic.

    See "Generic Types" in the Java Tutotial

    http://docs.Oracle.com/javase/tutorial/Java/generics/types.html

    Search for the word 'object' and you'll see that word highlighted in the world. Although it appears highlighted read this line:

    As you can see, all instances of the object are replaced by T. A variable of type can be any non-primitive type you specify: any type of class, any interface, any type of table or even another variable of type.

    On this page, you will see this:

    A generic class is defined with the following format:

    class name { /* ... */ }
    

    Where each one is read as: T1 extends object ', "T2 extends object", etc.

    When you said this:

    generic class

    You replaced "T1 extends object" with "String extends object".

  • A few questions about the Satellite A100 PSAANE

    Hi friends,

    I have a Toshiba Satellite A 100 - PSAANE with Vista Home Basic preinstalled in it.
    Now, I have a few questions... I mention below: -.

    (1) if I want to format my laptop, I need a CD to install for Vista Home basic... then I don't have this Toshiba CD when I bought the laptop. So how do? question: How can I format it?

    (2) can I change my Vista Home Basic to windows XP? I think it's much faster than this one. is it advisable?

    (3) I have a GB of RAM in the laptop. Increase the RAM? I think that my laptop has become to slow down. is it advisable?

    (4) and on my screen, everytime I try to change my profile screen to windows Classic view, my screen begins to blink. and after a while, the screen turns off. So I can't change that. I put the color scheme of windows vista only. What to do about that?

    Please help me friends. Thanks in advance.

    Kind regards
    Perkins

    Hello

    Here, a few questions about the number:

    (1) usually, you should get the Vista Toshiba Recovery DVD. If you didn t receive this DVD then you can order it here https://backupmedia.toshiba.eu/landing.aspx or you could install the disc of Microsoft Vista.

    (2) of course, you can do this. I think that Win XP drivers can be downloaded from the Toshiba driver page.

    (3) Yes, you can upgrade the RAM. For more information, see your manual or search on this forum for similar topics

    (4) maybe it s associated with the graphics driver. Check if you can update. I would recommend additional check if you are using the latest version of the BIOS

    Welcome them

  • A question about the virtual processors in the prompt

    Dear Sir

    I have a general question about the number of virtual processors in the guest system.

    I use VMware ESXi 4.0.

    Say if my physical host has only 2 cups carrots (with or without HT should be the same), then is - it true that I can only attribute 2 virtual processors per virtual machine?

    Is it possible to give 4, 8 virtual processors in virtual machines?

    In my drop down menu I can NOT choose more than 2 virtual processors per virtual machine, I want to just make sure that it is not the problem of license.

    Thank you very much.

    Nanfang

    Hi Nanfang,

    linanfang wrote:

    So the general rule is the number of vcpus don't CAN NEVER exceed the number of physical processors. Is this correct?

    Replace "physical cpu" by "physical cores" and you are right, because a vCPU is mapped to a kernel. For example, you can assign 4 vCPU with a Quad-Core processor.

    If you think about it, it makes perfect sense. If you would be able to map 2 vCPU to the base, the vCPUs had to wait for them all the time because the physical kernel can simply perform an action at a time, why you would decrease the performance of your virtual machine by setting 2 vCPUs.

    It is not changed in vSphere 5.

    Concerning

  • An error occurred when DNS was questioned about the resource record (SRV) service location used to locate a domain controller Active Directory (AD DC) for the domain 'HAMI. LOCAL ".

    An error occurred when DNS was questioned about the resource record (SRV) service location used to locate a domain controller Active Directory (AD DC) for the domain 'HAMI. LOCAL ".

    The error was: "an existing connection was to be closed by the remote host".
    (0 x 00002746 WSAECONNRESET error code)

    The query was for the SRV record for _ldap._tcp.dc._msdcs. HAMI. LOCAL

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Forums TechNet Windows 7 Technet.

    Here is the link:
    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

    Hope this helps

  • With the help of TestStand to get the number of errors from a device

    I use TestStand to communicate with a device that tests itself. TS has just appealed a DLL which, through a channel series learns how many errors the device had for each test (such as ethernet). It must be continuously for each test for approximately 3 days. While I realize that this is not the way that TS is supposed to work, due to the end already be finished I just simple settle.

    My question is:

    What is the best way to organize the test steps (calls DLL that returns the number of errors) and the results? I looked at just looping through a test sequence, but this would result in millions of individual results altogether? Is there a way to update the same result for a stage, when it is called 1000 times?

    Thank you

    Add each error to a variable in a loop that runs for 3 days. Save the variable data to the report at the end.

  • A few questions about the use of data and Cliq

    I have the cliq, however I chose to not get 3G (so I bought full fare). So I have a few questions about the phone and the use of 3G / 2 G/Edge:

    1 - is possible to disable completely the 2G / 3 G/Edge? I know you can switch between them, but are anyway just tell the phone to stop using them altogether since I'm not subbed to the service?

    2. when the update takes place, I guess we'll have to reconnect motoblur and etc, but if I don't have 3 G will I have motoblur connection problems after the update? Or he keeps the latest wifi settings so that it would connect to wifi to connect. When I first got my phone it was not a problem b/c I had 3G for the first month.

    I hope that makes sense, thanks!

    To stop all the data, I would like to download an application called APNDroid. He cut them all down. When you log on to blur you have 3G or WIFI doe this without getting a timeout error. During the process of setting up your Blur account, you can press the menu button and set up your wifi to work, this will connect you to Blur and your phone will be connected to the blur. If I were you I would be rethinking to do a data plan since you are really losing out on most of your main features of phones. It's your choice, however.

  • I need my files to open in the monitor # 2 I usually have some important information about the number of monitor 1. I need the files to alternate when they are open. One in 2, then one 1.

    I need my files to open in the monitor # 2 I usually have some important information about the number of monitor 1. I need the files to alternate when they are open. One in 2, then one 1.

    Kind regards

    How it works is usually the application (explorer.exe is an application) in question is open about everything that monitor his last (final) session was closed the.  Not all applications have this built-in memory, but most do.

    I don't think that even something TO manage multiple monitors (this is what it was built for) will do what you are wanting.  ;-)  I see no way of programming of this type of automation.  ;-)

    https://www.DisplayFusion.com/

  • Questions about the management of specific nodes in different hierarchies

    Hi all

    I have a question about the specific management of some particular set nodes, which are located in different hierarchies within a same version.

    I want to know if there is any editing made to certain properties of these specific nodes or if the nodes are deleted/moved/edited approval to be triggered for the data manager.

    or should not allow users to edit (adding/moving/deleting/changing property values) or those specific members.


    According to my understanding of the nodes of domain prevents the removal of nodes, but I don't want my Member prefix/suffix, domain is the only way to prevent the change.




    Thanks and greetings

    Madhu

    We have an obligation to not allow a node to remove or deleted without the approval of the admin, so I created a Boolean property AllowDelete is false, which is substitutable, default and is available only in a category of property Admin, for which most of the users do not have access.  Then, I created a validation of PropRemove with an error message that tells the user to contact a user admin to remove or delete the node.  The admin can change the AllowDelete to true, then can either remove himself or to allow the user to do.

  • HTML (Web), I have a question about the models.

    Hello CC animate developers.

    New features are really good.

    HTML (Web), I have a question about the models.

    <! DOCTYPE html >

    < html >

    < head >

    < meta charset = "UTF-8" >

    < title > $TITLE < /title >

    < meta name = "ad.size" content ="width = $WT, height = $HT" > "

    $CREATEJS_SCRIPTS

    $SCRIPT_START

    var canvas, stage, exportRoot;

    function init() {}

    $CJS_INIT

    }

    $PLAYSOUND

    $SCRIPT_END

    < script type = "text/javascript" >

    "clickTAG" var = "";

    < /script >

    < / head >

    < onload = "init (); the body"style =" background-color: #D4D4D4; " margin: 0px; ">

    < a href = "javascript:window.open (window.clickTag)" >

    < div style = "position: absolute;" cursor: pointer; box-sizing: border-box; border: 1px solid #000000; overflow: hidden; height: $HTpx; Width: $WTpx; Background: rgb (255, 255, 255.0); "> < / div >

    < canvas id = "$CANVAS_ID" width = "$WT" height = "$HT" style = "background-color: $BG" > < / canvas >

    < /a >

    < / body >

    < / html >

    In the example above, the model;

    < Meta name = "ad.siz of" content = "width = $ WTI height = $ HT" > "

    and

    < Div style = "position: absolute;" cursor: pointer; box-sizing: border-box; border: 1px solid # 000000; overflow: hidden; height: $HTpx; Width: $WTpx; Background: rgb (255, 255, 255.0); "> < / div >"

    I use labels. But these tags in the template and import, it gives an error does not occur.

    I think it was a mistake. I want to help in this regard.

    $ HT or Properties $WT , I get an error when I use elsewhere.

    I think I should be able to use anywhere I want.

    The same problem here - I worked around by some DRM models with different values of ad.size, but it's a solution quite short-seight

    Also - you are not able to create the model with transparent background by removing style = "" background-color: $BG ' as it also throws errors - is the only solution that I managed to get updates style = "background-color: $BG; background: none; ", but it's a really bad way of coding things.

    It would be really great to have freedom in changing patterns.

  • Got a legal question about the installation of Adobe Photoshop Elements.  How to get help from Adobe using a chat session?

    Got a legal question about the installation of Adobe Photoshop Elements.  How to get help from Adobe using a chat session?

    AdobeTomFaith

    If your program is Photoshop Elements, then you have posted in the wrong forum. Some how your son got posted in the Forum Adobe Premiere elements (video editing). Please re-post your thread in the Adobe Photoshop elements Forum.

    Photoshop Elements

    Wherever your son is, please include Adobe Photoshop Elements version and operating system and the description of the installation problem (error messages, stage of failure, etc.)

    Support Adobe seems to be limited to Adobe cat and is classically limited to the current version which is 13. Then, you the best avenue to success is likely to be through the Adobe Photoshop elements Forum. But that shouldn't stop you trying to determine what kind of support you can get from Adobe cat on your question.

    I would offer this link that is specific for Adobe Chat download and installation

    Contact the customer service (this is not the same destination as shown in a previous post in your thread)

    This link is specifically designed for

    Photoshop Elements

    Download, installation, setting up

    Download and installation

    Panel discussion

    (18:00 - Friday 7 pm Sunday)

    Thank you.

    RTA

  • A question about the methods and parameters.

    Hey guys, this is my first post here. I am very new to Java and done a bit of C++ before Java. I had a question about the methods and parameters. I do not understand the methods; I know they can be repeated when it is called, but it's almost everything. I also know that a program should have a class that contains the main method. What I really, really understand on methods is what the parameters are. I know they are in parentheses and that is it. Could you explain what they are? I really appreciate it. Thanks to all in advance. Best regards, Michael

    Taking an example:
    Suppose you calculate area of the rectangle you need two inputs one is the length and the width. Area = l X b, where l = length, b = width

    If your method, say, calculateAreaOfRectangle (length int, int width) will be two parameters as arguments.

    System.out.println ("field of rectangle:" + calculateAreaOfRectangle (40,30);)

    public int calculateAreaOfRectangle (int length, int width) {}
    int area;
    Area = length * width;
    return of area;
    }

    So if you call this method then the output will be returned in 120.

    Parameters of a method are simply the input variables for the method of treatment for all calculations or something useful.

    And we cannot have methods inside the main method in Java. It is in the java syntax and if you do, it will throw a syntax error.

  • VMware vSphere 4 licenses essential question and the number of processors

    Hi all

    I have a question about the Essentials of VMware vSphere 4.1 license. We have a client interested in a VMware vSphere Essentials license. The machine runs on 2 x processor Xeon 5675 6 c. Now I read somewhere that there was a limitation of the number of processors that can be used with the edition of Essentials. If I remember correctly, the number of physical sockets is limited to 2, but I remember that there is another limit, but I could not find the document describing and wonder:

    Is there a limitation on the maximum number of 4 cores on one physical processor that can or will be used by VMware vSphere 4.1 Essentials or there is a limitation on the number of 4 vCPU that can be assigned to a guest?

    I would like to know because if this is a limitation on the number of vCPU that can be assigned to a customer that would not be a problem because we have no guests in need of vCPU, then 2 more, but if this is a limitation on the number of cores that would be used by VMware vSphere Essentials, it would be a waste of money to buy a 6-Core ;-)

    Hello.

    2 taken with 3 guests, 6 hearts and SMP 4 lanes for virtual machines.

    These limitations are available at: http://www.vmware.com/products/vsphere/buy/small_business_editions_comparison.html

    Good luck!

  • Question about the OSB proxy service

    Hello

    I'm new to the world of SOA/OSB. I'm working on a POC from the OSB for our existing application. I have a question about the definition of the URL endpoint to the proxy service. It is possible to specify a generic url endpoint to a proxy service. Something like / SomeService / *. I tried and got errors. Is it possible to do somethig like that or it is a mistake on a conceptual level.

    Thank you

    anything you type in the uri of the endpoint of entry will be the contextroot to your service, so /SomeService should indeed be sufficient or as mentioned Pierluigi/SomeService/blabla is also valid (Betty is not a parameter query, but only a part of the contextroot)

    If you want to use a service like http rest

    / SomeService/blabla would still be the contextroot, and after that, you can use the query parameters

    / SomeService/badarou? var1 = test & var2 = test or/SomeService/blabla/employee/id/1

  • Question about the sizing of the portalControlTreeCache

    I have a question about the sizing of the WLP caches that are based on the number of users of the portal in general and the portalControlTreeCache in particular. Are the caches replicated on servers managed in a cluster, or specific to each server? So if I have 4 servers in the cluster, and the maximum number of users at the same time for my application I expect 10000, I can set the size of the cache to 2500 + -, or should I size to 10000 + -?

    Thank you!

    Cache is not replicated on the nodes in the cluster. The number of entries in cache per cluster node will vary with load balancing algorithm and your stiffness of the session. You should also take into account what might happen if a cluster node is taken offline and users of this node now failover to the secondary server. But as a general rule, your thought process is accurate about 100,000 concurrent users / 4 knots = 2500 users per server. Note that only users who have personalized their desktop will get a controlTreeCache entry. No custom desktop computers share a single controlTree cached.

Maybe you are looking for

  • iMac specs for graphic design

    Hello I'm looking to upgrade to an iMac 27 "with the 5K retina display. Im a graphic designer by day. It includes video editing, photo editing and some other processes quite heavy. I'm looking for some advice. IM thinking the the 4.0 GHZ i7 with 16 G

  • Can I remote FOR Mac FROM Windows desktop?

    I apologize if I've asked this question in the wrong group. I'm a Windows user (15 years and more) for a long time, but I've never owned a Mac (I know, I know). I plan to treat me to a Mac Mini (8 GB, 1 TB) and I was wondering if there is a way to re

  • RIP a CD again before you buy the game?

    I'm considering the purchase of match.  I have about 50 CDs that I have not yet ripped off in my library.  I have to pull them out until I have buy the game or after?

  • 64 bit 32 bit operating systems...

    This is probably a stupid question but my system information shows I have 64-bit... I still feel that it works on 32-bit. I don't know if this is possible or if I see things. Also, when I open the task manager (?) and look in the list of processes, e

  • WRT54GC - cannot open a session

    Hello I have a router WRT54GC, worm. 2.0 if it is important, and I can't connect to an IP address. I let the empty user name and password, I type admin, but it does not work. It gives me the 401 Unauthorized. I asked my brother if he changed username