Why is SQL forcing me to use "column" instead of the column?

Hello

Can anone tell me why I get error ORA-00904: "NAME": invalid identifier

When I type

SELECT name FROM emp;

but I have my list of names, when I type

SELECT 'name' FROM emp;

Thank you

Hello

Welcome to the forum!

Everything outside of the quotation marks (quotation marks single or double quotation marks) is capitalized by the compiler. If you have names of table or column that contains lowercase letters, you must use quotes to keep the compiler to capitalize them.

It's so bad that most people avoid using lowercase letters in names.

Tags: Database

Similar Questions

  • It is possible to write data to files on a local computer using util_file instead of the server?

    Hello

    I use oracle 10g. It is possible to write data to files on a local computer using util_file instead of the server?

    Concerning

    PL/SQL is a programming language on the server side. So the answer is no if you have a shared drive on your server that points to your client you can. But that opens all kinds of security problems.

  • using image instead of the image number labels?

    Hi team,

    I'm building a major project that would be modified during its construction, I stress a little because I'm confident on the timeline to move forward and backward through the structure, (as well as the user with the ability to use a menu to go where ever they want).  Then out to form the menu that specifies where to go, there's a front and back button using framework next and previous to move forward and backward.

    ..  So, what happens if after construction of a large part of this, the client wants to put in an extra page? This will upset my navigation (OR if I put the extra page at the end of the timeline menu works fine, but forward and backward buttons may not work properly)

    So should I use image instead of the image number labels?  (How can I do this gotoAndStop (?);)

    Or y at - it another way I should approach this?  like having a variable to keep track of page instead of numbers of chassis number?

    What do you think?

    See you soon

    Void

    There is no need to rename the image labels just because you add a new.  This is one of the main reasons to use labels instead of numbers frae... it saves you from having to change completely due to a.

    (How can I do this gotoAndStop (?);) ... -->. gotoAndStop ("labeltext");

  • Using ip instead of the name of Scan scan

    Hi all

    ENV: cluster node 3 running 11.2.0.3.0 database

    OS: Linux

    If the user has complained that they have problems with the following errors.

    //

    java.sql.SQLException:Listener has refused the connection with the following error:

    ORA-12516, TNS:listener could not find Manager available with corresponding protocol stack.

    //

    I did a search on the forum and found that he could hit the known bug (doc-id 1555793.1()

    I suggested the same thing for the user, and he insists, if that's the problem with scan name while he wants to use the ip instead of the name of scan scan in his thin jdbc client.

    Now my questions are

    1. isn't it scanning if device we use Ip scan of directly in lightweight client jdbc?

    2. how the client is resolved to different from that of the host?

    3. If we use ip scan directly in jdbc thin client load balancing takes place (round robin in the DNS)?

    Thank you

    Arun

    1. isn't it scanning if device we use Ip scan of directly in lightweight client jdbc?

    2. how the client is resolved to different from that of the host?

    3. If we use ip scan directly in jdbc thin client load balancing takes place (round robin in the DNS)?

    1. Yes and no. DNS resolve just as the SCAN name to IP address. Then you can certainly use the IP address directly. There are only 3 of your choice. You will only be able to use one of them in this case. But for the rest of the answer to this question, read my response to #3 then (that I took in the mess of the way in which it was requested)

    3. well, you won't get alternating in the headphones of SCAN 3. You will only get one of the listeners SCAN. Best hope that they are running. Otherwise, there will be no possibility to connect. That being said, the round robin DNS entries are not running 'load balancing '. LOAD_BALANCE = YES option in your tnsnames.ora will try to balance the connections in all of the instances available for the SERVICE_NAME. This will always be true although you always only hit a listener to SCAN.

    2. he can't solve another listener SCAN. He can only resolve one. This is why we do not normally use IP addresses directly.

    HTH,
    Brian

  • Why my cd written to show a track instead of the name number to sing?

    Why my playlists on my cd show carved a number of track instead of the name of the song?

    Because your custom CD information is not stored on disk or anywhere elsewhere. iTunes uses the Gracenotes CDDB database to recognize commercial CD and the information for each song. There is a feature called CD Text, which can be used to write the metadata on the drive which will include some CD players in the car, but often, the data is ignored. iTunes cannot read this back.

    TT2

  • Why do I get COMING SOON yellow sign instead of the Web site?

    Once a Web site is downloaded, is areas a new delegation, etc., why would sign the yellow COMING SOON appear on the internet instead of the Web site?


    Thank you.

    Too bad. I see now that the home page file name has not been set at HOME, it has been updated with the INDEX and had to be changed under settings in the domain.

  • Using Windows movie maker-how can I use Webcam instead of the digital camera

    How can I configure to use the Web cam so of digital camera. Vista uses as an ongoing program.

    Hello

    I suggest you to visit these links and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/publish-a-movie-in-Windows-Movie-Maker

    http://Windows.Microsoft.com/en-us/Windows-Vista/import-video-files-pictures-and-audio-into-Windows-Movie-Maker

    http://Windows.Microsoft.com/en-us/Windows-Vista/importing-files-into-Windows-Movie-Maker-frequently-asked-questions

    It will be useful.

  • How do you get the e-mail links to use outlook instead of the windows mail app?

    I have Outlook (part of office 365) and Windows 8 - but when I click on any 'email' link it uses windows Messaging. In older versions, it would bring the outlook dialog.  Is it possible to change this?

    Because you have Outlook, I suppose you want to do all the stuff "e-mail associated" with Outlook.  If so:

    • Go to the start screen
    • Start typing "Default programs" without the quotes
    • Select "Default programs" when it comes to the top
    • Select "Set your default programs"
    • Search for "Outlook (office computer)" in the list on the left
    • Select "Set this program as default"

    If for some reason the last step does not work, you can try to replace this step with these:

    • Select "Choose default program"
    • Place a check next to "MAILTO URL: mailto" and save it
  • How to use liquid instead of the tags (for example: {tag_productname})?

    < td >

    < div class = "upper case" data-tag = "productname" > {tag_productname} < / div >

    < table >

    < td >

    < div class = "quantity" data-tag = "productquantity" > {tag_productquantity} < / div >

    < table >

    < td >

    < div tag-data = "producttotal" > {tag_producttotal} < / div >

    < table >

    < td >

    < div class = "removeLinkCol" > {tag_productremovelink} < / div >

    < table >

    For example, for the code above. How would I be able to use the cash to complete the names of products, amount of product, etc.. ?

    Thank you

    Hello

    It is not on a loop through. In available just change the tag in the liquid equivalent. Not all tags have a release of liquid.

    Just read the documentation:

    http://docs.BusinessCatalyst.com/reference/layouts-and-tags/e-commerce/individual-product-Grand-layout.html

    Introduction to liquid

  • Why my phone overview page scroll in length instead of the width?

    It's only 1/2 in. wide on my screen.  Overview of iPhone 5.

    It seems that you preview the layout, not the article. If you click Preview in the overlays Panel, or choose file > Preview Folio, get you an overview only the layout and no property article - specifically, Smooth Scrolling - are included. Using the Panel Folio Builder to get a preview of the article or the folio.

  • How can I send five simple characters (P, H, O, T, O) using ComWrt, instead of sending a single string?

    The manual of instrument mentioned that "for switch mode remote"P","H""O""T","O"are sent as single characters and not as a single string". How can I send simple characters using the Serial Port, rather than send a single string?

    I have no CVI installed on this pc, and in the past, I used VISA instead of the ComWrt. If you know how to write a string, then I don't see where is your problem. You write only 5 channels instead of one--each with a single character.

    You can post to the ICB card if you have problems with C.

  • How to use Readyboost instead of paging fie?

    I connected the USB and that it be used for Readyboost.

    But when my computer is failing on the memory it uses the page file instead of using the space to readyboost.

    How can I use readyboost instead of the swap file to be used as virtual memory.

    In addition to what Gerry C J Cornell and Palcouk said,

    If your system could use the storage as Ready Boost, when you plug the USB device, AutoPlay jump upward and you will see the options under:
    General options:
       Speed up my system
        using Windows ReadyBoost.

    If you don't see this option, your system can not we the as a Ready Boost device USB storage device.

    Thank you

    Marilyn

  • There we have to use AIA instead of any other common object model

    Hi all

    Someone can there, we have to use AIA instead of the other models? whts the diff between integration using SOA with AIA?

    Thank you
    RA

    Hello Ra,
    AIA is not canonical model about. This is your path to SOA and Foundation pack offers best practices, of the main components and [SOA governance framework | http://blogs.oracle.com/aia/2009/03/soa_content_and_technical_gove.html]. AIA EBO (Enterprise Business Objects) are canonical representation based on industry standards. Take a look at articles in [Blog AIA | http://blogs.oracle.com/aia/2008/12/do_i_really_need_aia.html] and similar display in this forum discuss in detail.

    concerning
    Rohit

  • Why are we forced to use Skype

    Why are we forced to use Skype when its especially for video chat. I like windows Messenger I send out there and if I have choice to the video chat I can do. its easy to use has some great tools. If someone wants to then let them use it Skype but for myself and I have read many others want to keep messenger for its ease of use. but we are forced to use something which to me don't want to and I'll have my freedom of choice away. Please let alone Messenger and if someone wants to Skype then let them use Skype but give us a choice.

    FYI...

    You might care to read the below...

    The MSN Messenger to Skype is a Microsoft business decision.

    Here's just a sample of the information available, are not not in any particular order...

    Best regards

    Elaine

    Host community on the link below.

    http://community.Skype.com/T5/Live-Messenger/I-refuse-to-merge-let-us-make-the-choice-merge-opposition-thread/m-p/1189040#M213

  • Why use Top Link is the best in the DB adapter?

    Hi all
    The one you suggest, why use Top Link (Build-in Insert, operation Select etc.) is the best in the DB adapter using the custom query above?

    Thank you

    Hi Michel,.

    to insert / select, it depends on what kind of user you are. TopLink allows you to browse and click on tables and have everything generated for you. If you're a DBA or show me the SQL type then you can simply type SQL directly.

    Some benefits of TopLink would be:

    -The range of SQL generated by TopLink is limited, but if you hard code SQL complex in your service you need to keep it.

    TopLink - can generate when executing the correct SQL for a database, to tell DB2 to Oracle easy.

    -L' merge operation will compare the XML of the columns on the data entry and update only what has changed. It can also make a sparse merger. If only have been 4 columns in the XML file, only 4 columns in the database will be updated.

    -For the incoming interrogation strategy (LogicalDelete, table of sequencing, etc.) is a configuration property and then at run time, several SQL statements are generated. Also leverages the SQL syntax advanced like the Oracle only for UPDATE SKIP LOCKED, he wrote everything yourself can be tedious and error-prone.

    -The main advantage of TopLink is when you go beyond the thinking on one table. If you import more than one table at the same time, TopLink will generate SQL code to select maintain several tables, set the validation and generate a hierarchical XSD. With custom SQL the corresponding XSD is always flat. That is, if you just need to insert a PGE that you could get away with custom SQL. If you need to insert a dept and EMP, I'd use TopLink.

    -C' when the intermediate abstraction of an object/array is also more logical, because you only need to import a schema relationship complex once, then generate inserts, selects, etc.

    So I hope this helps. They are each just as viable and can do something that the other cannot. Where you see an overlap I would go with your personal preference.

    Thank you

    Steve

Maybe you are looking for