Doubt in the reserved key words

hii all
jut by mistake i found this unusual
SET SERVEROUTPUT ON;
DECLARE
NUMBER VARCHAR2 (100) := 'Everything''s Fine!';--number used as a variable name
BEGIN
DBMS_OUTPUT.put_line (NUMBER);
END;
anonymous block completed
Everything's Fine!
if replace number with integer it will still not give me error can any 1 explain y is this happening

Hi,
It's best not to use keywords (such as NUMBER) as variable names (or column names, or any other identifier). Sometimes you can get away with it, but then you might make some minor change and that will start raising an error. (Sometimes the change can be upgrading to a new version.) It's a bad idea, even if you don;t get punished for it right now.

Similar Messages

  • Java reserved key words method

    Is there any built in method in java that take a string as an argument and returns a boolean depending on whether the passed strig is a java reserved key word or not. for eg..if string such as "public", "class","int"..etc is passed to such a method then it returns true...I would appreciate if someone could help me out with this one..my email is [email protected]

    not as far as i know. but it should not be a great prob to write this method on your own. a quick search brought me to that url:
    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html
    so, now its really easy to write this method, isnt it?

  • Creating Materialized View with the Distinct key word

    Hi
    I need help to create Materialized View with the Distinct key word.
    my query is
    select distinct col1, col2 from t1;
    is there any alternate of DISTINCT because I can not refresh the MV as fast on demand if I am using it and Fast on Demand is a must for me.

    hi
    check out this link
    http://download-west.oracle.com/docs/cd/B12037_01/server.101/b10736/basicmv.htm#i1007299
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/intro.htm#sthref183
    hope this helps
    CHeers

  • Where can find out the java key word elucidation

    Where can find out the java key word elucidation?
    thx

    here:
    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html
    then here:
    http://java.sun.com/docs/books/jls/second_edition/html/jIX.fm.html

  • Case conversion for SQL and PL/SQL reserved key words

    Hi!
    Do we have available in Developer automatic conversion of the reserved words to upper cases?
    For example in vim, it is possible to customize such way that after typing a reserved word : 'create' as am example and I type next a space it automatically converts it to upper case: 'CREATE'
    Thanks,
    Radu

    You can do it afterwards with Format (CTRL-F7), but that will rearrange everything in your worksheet.
    Also using code completion, the reserved words are always lower case. This is very disturbing, as I have to fix the case afterwards and lose more time than I initially won using the code completion.
    I recon the case should be converted automatically upon typing, using the settings from the formatter.
    In case development doesn't agree right away, I've added a feature request: http://htmldb.oracle.com/pls/otn/f?p=42626:39:1041303283166847::NO::P39_ID:10621
    Please go vote to add weight to see it implemented.
    Thanks,
    K.

  • Can someone explain the super key word

    i am using this good from Adobe Training from the Source
    public class ProductEvent extends Event
    public var product:Product;
    public function ProductEvent(prod:Product,type:String)
    super(type);
    this.product = prod;
    public override function clone():Event
    return new ProductEvent(product,type);
    Why type is super but not prod. Thanks

    The super(type) statement is a call to the constructor of
    ProductEvent's super-class, i.e. Event.

  • I would like to know what application I should use for this specific job.  I have 6 photos in Iphoto, and I would like to print them out on one piece of paper with the title and key words showing.  Please help.

    My objective is to print photos on on 8 1/2 x 11 sheets of paper (4 per page).  I want to include the photo title and the photo key words.
    I am not sure how to go about doing this.

    In iPhoto, create an album with the images you want to print.
    Once created, open the album and select all the images (type Command + A)
    Go to the menu View and make sure Titles and Keywords are checked.
    Go to the menu File > Print
    Choose Contact Sheet
    In the lower right corner press the customize button
    In the next window that opens, at the bottom of the window change the column slider to "2"
    You should be good to go. If OK, then press Print at the bottom right corner of the window.
    MtD
    Message was edited by: Meg The Dog to fix typo

  • LEVEL key word in Oracle 9.2.0.1.0 & Oracle 9.2.0.7.0

    Hi experts,
    I'm using a Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production in my development environment and
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production in production environment.
    I use a query with a LEVEL key word and it works fine in the development environment and gives an error in the production environment. When I remove the LEVEL key word it works fine in the production also.
    Was there a change which happen to LEVEL key word in these releases ???

    PrasadDe wrote:
    Was there a change which happen to LEVEL key word in these releases ???Probably. Who can tell. Those are both unsupported versions of the database.
    Why not upgrade to something that's supported and we know works.

  • Find files with key words

    trying to find files using key words is not working using bridge with cs3 and windowsxp.
    when key words are attached to a file they are evident when the image is open. when i try to search for the file using the selected key word i get a no results found response.
    any suggestions

    Lots of posts on this subject in the Bridge forum. Check there, and if you still have problems post question.

  • Is it possible to download  abap key word documentation

    hi experts,
    i want to download all the abap key word documentation.
    i know that if we press f1 on keyword we will get that particuler key word help, but i want all the words document download or copy once.

    I dont think there is a way to download it in that form.
    You can however get the PDF version from here -
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    SAP Library -> Basis Components -> Abap programmng & Runtime Env -> ABAP Programming.
    You can save this PDF on your PC .
    Cheers.

  • HTML Page - Inserting Key Words

    I am real new to this, so please be gentle.
    I am out of work and have created a web page (with IWeb) to hopefully generate some income. I want to insert Key Words on the HTML page. When I get to that page the code looks like I would insert the Key Words on the last line between the first ">" and the next "<" />Key Words<head><body></body></html>
    Would anyone know if this is correct?
    Thanx
    Citizen-Kane

    Try using the freeware SEO Tool....
    http://www.ragesw.com/products/iweb-seo-tool.html
    and search for keywords with.......
    http://www.ragesw.com/products/sekeyword.html

  • Apple should do something for the equipment stolen something like block and only activated by key words given to register the device on the apple's website

    Apple should do something for the equipment stolen something like block it(them) and only activated by key words given to register the device on the apple's website

    Tell Apple:
    http://www.apple.com/feedback
    Doubtful that this would happen.  Privacy laws would likely be tested with this.
    No manufacturer does this.

  • What is the shortcut key to highlight words in adobe reader in macbook pro

    what is the shortcut key to highlight words in adobe reader in macbook pro?
    Shift + U is not working
    how can i change shortcut key?

    I don't believe there is a keyboard shortcut available for that feature. But I believe if you click-select the topmost chapter, and Shift-click the bottommost chapter, it should select them all.
    Other shortcuts for books can be set up in Edit > Keyboard Shortcuts in the Panel Menus product area. There are no default shortcuts in that area.

  • How to translate the key words in ABAp program from lower case to upper cas

    How to translate the key words in ABAp program from lower case to upper case?

    Hi Kittu,
    You need to set the Pretty Printer settings to achieve key words in ABAP program from lower case to upper case.
    Utilities -> Settings -> Pretty Printer (tab) -> Select third radio button.
    Thats all.
    <b>Reward points if this helps.
    Manish</b>

  • Help on web.xml file, what if the parameters contains key words ?

    Hi:
    I am just wondering what should I do if I want to include key words suchs
    as <param> in web.xml file for a servlet config.
    Example:
    <servlet>
    <servlet-name>testServlet</servlet-name>
    <parameter>
    <param-name>some name</param-name>
    <param-value>some value</param-value>
    </parameter>
    </servlet>
    What should I do if I want to repleace 'some value' with '</param-value>some
    value' and still to prevent the engine to terminate parsing the param-value
    at the fake ending? Is there a standard way in XML to distanguish that?
    (in URL format it can be replaced %xx for some chars).
    ie,
    <param-value> </param-value>some value</param-value>
    where the second </param-value> is the real ending.
    Thank you!
    Gang

    Hi!
    You can use "& lt ;" and "& gt ;" xml entities for that. Or wrap text element in <![CDATA[...]]> section.
    Regards,
    Ignat.

Maybe you are looking for

  • Delta record not getting created

    Hello Experts - I'm working with 0mat_plant_attr datasource. In ECC, I made changes to some materials in MM02. I changed the values of MRP Type and Rounding Value in MRP1 tab. The data is saved correctly but a delta record is not getting created. In

  • Java and Python

    Greetings I would like to know about how to use python as script language for make java games. I mean to control some behavior for example as trigger in a scene. Someone knows about any tutorial. Thanks in advance

  • TA44686 how do you connect ipod to new computer

    How do you connect your ipod to a new computer?

  • My macbook screen suddenly is all jittery!?

    All of a sudden the screen on my macbbook is going crazy! Repeated images and horizontal lines. It makes the computer unusable. However, when I restart the grey apple screen come up no problem. Then back to the same old problem. Soooo I'm inclined to

  • How to make a draggable object snap into place?

    I'm new to Flash (sort of - I used it a bit back in 1999-2000, but it's changed a LOT since then). I'm making an educational game for my company that involves dragging labels from a word-bank to their correct position on a diagram. I want the kids to