How to retrieve the records that contains capital letters only?

Oracle 12 c.

I have a column named LAST_NAME in a table called USER.  Some last_name entries are capitalized.  I want to know them.  How can I write an SQL to get?

E.g.  The returned result should be:

JOHNSON

BERLIN

MCPHILSON

O'NEILL

WILLSON

Thank you.

Scott

Select user name where upper (last_name) = last_name

Tags: Database

Similar Questions

  • How to filter the records that contains the Spanish character?

    Hello

    I had an obligation to always records based on the Spanish character.

    Kindly guide me for below.

    To filter the records that contains Spanish characters?

    For example, I had a value in the column name as 'Sureshn '.

    My query should return the above folder that contains the Spanish character "N".

    Please do the necessary help / advice on that.

    Thank you
    Orahar

    I don't know what you want, because if you want a? ¢ Analysys and Sureshn, then my previous query is sufficient. However, maybe something like that.

    SQL> ed
    Wrote file afiedt.buf
    
      1  WITH Sample_Data AS (SELECT 'â?¢ Analysys' str FROM DUAL UNION ALL
      2     SELECT 'SureshÑ' str FROM DUAL UNION ALL
      3     SELECT 'ABCD' str FROM DUAL UNION ALL
      4     SELECT 'WXYZ' str FROM DUAL UNION ALL
      5     SELECT 'Saubhik' str FROM DUAL
      6     )
      7     SELECT str AS "Contains other than English" from Sample_Data
      8*    WHERE REGEXP_LIKE(str,'[^[a-z,A-Z,0-9]]*')
    SQL> /
    
    Contains other
    --------------
    â?¢ Analysys
    SureshÑ
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  WITH Sample_Data AS (SELECT 'â?¢ Analysys' str FROM DUAL UNION ALL
      2     SELECT 'SureshÑ' str FROM DUAL UNION ALL
      3     SELECT 'ABCD' str FROM DUAL UNION ALL
      4     SELECT 'WXYZ' str FROM DUAL UNION ALL
      5     SELECT 'Saubhik' str FROM DUAL
      6     )
      7     SELECT str AS "Contains English" from Sample_Data
      8*    WHERE NOT REGEXP_LIKE(str,'[^[a-z,A-Z,0-9]]*')
    SQL> /
    
    Contains Engli
    --------------
    ABCD
    WXYZ
    Saubhik
    
  • LOBs and how to retrieve the record inserted with EMPTY_BLOb()

    Hi guys


    How to retrieve the records inserted with EMPTY_BLOb() instead of NULL value.


    Best greetings
    A.G.

    There must be a better way, but these work:

    SELECT... from tableX where length (lob_column) = 0;
    SELECT... from tableX where dbms_lob.getlength (lob_column) = 0;

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    http://www.jlcomp.demon.co.UK

    "All experts it is a equal and opposite expert."
    Clarke

  • How to locate the record that indicates a library search result (bookmarks)?

    When doing a search in the signet library and you get a result (s) URL of the file that contains the information of the URL is unknown or apparently unknown. How can I find the folder that stores the bookmark information.
    Information on the result (name, location, Tags, keywords, Description) appears, but there is no information related to where in the library, the data are stored. For example, the folder that contains that contains this information.

    I found this extension is more suitable for my use: https://addons.mozilla.org/en-US/firefox/addon/7372/

    After install and restart Firefox

    • Open the 'library' bookmarks > show all bookmarks
    • Right-click on the right pane of the column headings, check / click the headins column you want to display. Parent folder column is added by on the extension
    • Drag the column headers left and right for the postion that meet your needs.

    Another extension you can consider: https://addons.mozilla.org/en-US/firefox/addon/go-parent-folder/

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You must update some plug-ins:

  • How to display the data, that contains non-numeric characters.

    Hello

    I have table t1 with column of type varchar2 below

    ID

    ------

    11151

    11412

    1113

    1 to 114

    11b 15

    111 6

    Now, I need to display the data, that contains non-numeric characters.

    Did you get the result like:

    STR

    ----------

    1 to 114

    11b 15

    111 6

    WITH t
         AS (SELECT '11151' str FROM DUAL
             UNION ALL
             SELECT '11412' FROM DUAL
             UNION ALL
             SELECT '1113' FROM DUAL
             UNION ALL
             SELECT '1a114' FROM DUAL
             UNION ALL
             SELECT '11b15' FROM DUAL
             UNION ALL
             SELECT '111c6' FROM DUAL)
    SELECT *
      FROM t
      where regexp_like(str,'[^[:digit:]]');
    

    See you soon,.

    Manik.

  • E4X: How to get the items that contain a string pattern in the name of the node?

    Is there a way to retrieve the children of an XMLList where the name of the node of a child contains a template string?

    For example:

    account <>

    < XblahX / >

    < cow / >

    < YblahY / >

    < / recording >

    How to get items in folder which has a node name that contains the string "blah"?

    var rec: XML =

    ;

    var r: RegExp = / blah /;
    var elems:XMLList = rec.children (). (localName () *.search (r) >-1);
    trace (elems. ToXmlString())

  • How to replace the image that contains clickable images?

    I use RoboHelp HTML 8. Some of my help topics have an image that contains several interactive images that allow the user to click to see, for example, the field or button definitions on objects on this image. In the past, I was able to grasp or to create a new image file and give it exactly the same name as the old image file (for example, ccm_assessment_shg.gif)-a new replacing the old. and when I saw the image in RoboHelp HTML, the new image contain still all image maps of the original image.

    However, now I see an image (.png) file in one of my subjects and I would like to replace it, but my old process 'replacement with the same name' does not seem to work. What is my problem? How can I do this in RoboHelp 8? Is the problem related to the file must be a gif instead of a png? (I must confess that it's been several months that I worked in RoboHelp, so I just forgot something. I can't find instructions on the use of image maps and self-help groups).

    Thanks a lot for all the good advice!

    Hello

    Exactly how you try to replace the image? I ask, because if you open the dialog box Image and work this way, you will probably lose the connection with the regions of image maps. My preferred method is to simply work completely behind RoboHelp back by replacing the image using Windows Explorer. RoboHelp should be none the wiser as long as the file name and location are the same.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • How to duplicate the composition that contains nested compositions?

    I know that if you duplicate the composition in the project the object containinf window will not be dependent on original model. But what about complex compositions that has nestled in 2, 3 compositions, how to duplicate the model of the root and make all the comps child separated from the original?

    http://aescripts.com/true-comp-duplicator/

    Mylenium

  • How to find the page that contains the downloads?

    I am connected to my account valid creative cloud. All I want to do is go to the page that allows me to make downloads of Acrobat, Photoshop, etc..  For the life of me I can't find the page!  Help, please.

    Log on to https://creative.adobe.com/apps

  • How to get a paragraph that contains the string selected in FDK?

    Hello

    I am writing a program that extracts content of the paragraph that contains a selection string. This program runs in the interaction point menu. When the user click on the menu item. The process as follows:
    1. find a chain on a document, for example: F_ApiFind ("ABC").
    2. the F_ApiFind ("ABC") API returns the F_TextRangeT structure.
    3. the string "ABC" has been highlighted on the document.

    Here's my question:
    How can I write code to locate an object ID paragraph (pgfId) that contains the string (or object) 'ABC '?.
    As the 'ABC' object belongs to the current paragraph, how can I get section ID (pgfId) and then get the content of the entire paragraph
    without a loop through FP_FirstFlowInDoc, FP_FirstTextFrameInFlow, FP_FirstPgf and FP_NextPgfInFlow.

    Thank you very much for you help,

    Thai Nguyen

    Hi thai,

    Paragraph ID is returned as part of the structure of F_TextRangeT, as the Member "objId". Let's say you have:

    F_TextRangeT tr;

    ... then:

    TR = F_ApiFind (...);

    On an action to search with success, "tr" will contain the pgfId of the paragraph. I'm assuming you're looking for a string that is entirely contained in a paragraph, in which case two ways contains the ID of the paragraph:

    tr.beg.objId

    TR.end objId

    If you want to retrieve all the text in the paragraph after the search, you could do something like: (attention, incomplete code!)

    F_TextItemsT ti;

    F_TextRangeT tr;

    F_ObjHandleT docId.

    ...

    TR = F_ApiFind (...);

    TR. Beg.offset = 0;

    TR.end.Offset = FV_OBJ_END_OFFSET;

    TI = F_ApiGetTextForRange (docId, & b, FTI_String);

    .. After that the text of the paragraph will be included in the ti TextItems structure. Navigate through this structure can be difficult and I will renounce any discussion about it for now unless you need more help. There is good information in the developer reference as to its use.

    Russ

  • How to restore the drop down from the menu bar at the top that contains bookmarks?

    I tried to remove the Yahoo toolbar, when I turned off accidentally unrolling of the menu bar at the top that contains bookmarks. How to restore the menu drop-down?

    Is s.o.

    In addition, what happened to the file, edit and view menus? if you want to have the menu bar displayed normally.

  • How to make a record that I downloaded on my computer and to make into smaller files so that I'd be able to send them an existing voice mail? From now on, the file is large to send

    How to make a record that I downloaded on my computer and to make into smaller files so that I'd be able to send them an existing voice mail? From now on, the file is large to send.

    Hi kristieann,

    ·         What version of the operating system is installed on the computer?

    You can search for any third-party application, using your favorite search engine to split the recording file.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • How to create a formula that highlights the cell that contains the same data that I type in another cell

    Hi, can someone help me make a formula which detects and highlights the value of the cell that contains the items of data that I entered in another cell? Thank you

    resolved to myself

  • Insertion of text records that contain the '&amp; '.

    Hello
    I'm you insert records in my table in the field NAME (varchar2) PLACES, and the record that I'm trying to insert is as "Barrie & District Park. I didn't know if I wrote my statement correctly.

    Update SITES
    name = q '(Barrie & District Park)' where...;

    Thank you!

    Try:

    SET DEFINE OFF

  • is there a way to retrieve the photos that I deleted from my computer?

    Anyone know how I can retrieve the image I deleted? Thank you.

    Hi amberdgordon,

    Check if the files are available in the Recycle Bin.

    Recover files from the Recycle Bin

    http://Windows.Microsoft.com/en-us/Windows-Vista/recover-files-from-the-Recycle-Bin

    You try also use the option restore files for previous versions.

    If you accidentally delete or rename a file or folder, you can restore a mirror copy of this file or folder, but you must know the location that the file or the file has been saved. To restore a file or folder that has been deleted or renamed, follow these steps:

    (a) Open Documents by clicking the Start button, and then click Documents.

    (b) click on the arrow next to Folders at the bottom of the left pane.

    (c) in the folder list, open the folder that contained the file or folder that was deleted or renamed.

    (d) right click somewhere in the folder (without selecting a file or folder), and then click restore previous versions.

    (e) double click a previous version of the folder that contains the file or folder that you want to restore. (For example, if a file was deleted today, choose a version of the file from yesterday, which must contain the file.)

    (f) in the folder, drag the file or folder you want to restore to another location, such as your desktop or another folder.

    The version of the file or the folder is saved to the location you selected.

    Previous versions of files: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/previous-versions-of-files-frequently-asked-questions

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for