query of queries case-sensitive

Hello

I have a question regarding this issue.  I am pulling data from an xml file and dump these data in the query of queries and their output.  The problem is when I try to order the CSA query, the stem will be high and fewer will be on the bottom.  Is it possible to sort them before the dump in query data?  Or ways around this?

Thank you.

functions upper() and lower() SQL function in q.

Tags: ColdFusion

Similar Questions

  • Oracle query sort by case-sensitivity

    Hi all

    I use the oracle 11g database.

    My use case is that I have a table with the following values

    Name table - test

    product id     productsortdescription
    H58098        ACETAMIDOHYDROXYPHENYLTHIAZOLE
    043994         Alloy .MM.INTHICK
    

    My query is

    select * from test order by productsortdescription;
    

    This query gives the result as it is like

    product id productsortdescription

    H58098 ACETA

    product id productsortdescription

    H58098 ACETA

    produit id productsortdescription

    H58098 ACETA

    product id     productsortdescription

    H58098        ACETA

    product id     productsortdescription
    H58098        ACETAMIDOHYDROXYPHENYLTHIAZOLE
    043994         Alloy .MM.INTHICK
    

    MIDOHYDROXYPHENYLTHIAZOLE

    043994 alloy. MR. INTHICK

    but early output/outcome should be as below:

    product id productsortdescription

    043994Alloy. MR. INTHICK

    H58098 ACETAMIDOHYDROXYPHENYLTHIAZOLE

    like all and ACE in productsortdescription

    l is in a small suitcase to C.

    The NLS Session parameters are as follows

    SELECT * from NLS_SESSION_PARAMETERS;

    NLS_LANGUAGE AMERICAN

    NLS_TERRITORY AMERICA

    NLS_CURRENCY $

    NLS_ISO_CURRENCY AMERICA

    NLS_NUMERIC_CHARACTERS.,.

    NLS_CALENDAR GREGORIAN

    NLS_DATE_FORMAT DD-MON-RR

    NLS_DATE_LANGUAGE AMERICAN

    NLS_SORT BINARY

    NLS_TIME_FORMAT HH.MI. SSXFF AM

    NLS_TIMESTAMP_FORMAT-DD-MON-RR HH.MI. SSXFF AM

    NLS_TIME_TZ_FORMAT HH.MI. SSXFF AM TZR

    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI. SSXFF AM TZR

    NLS_DUAL_CURRENCY $

    BINARY NLS_COMP

    NLS_LENGTH_SEMANTICS BYTES

    NLS_NCHAR_CONV_EXCP FAKE

    Please, help me in this scenario.

    One option is to use the NLSSORT function. Most of the ASCII character set defines the sort lowercase before uppercase but EBCDIC kinds of lowercase before uppercase. So you can use

    with t as)

    Select the id "H58098", "ACETAMIDOHYDROXYPHENYLTHIAZOLE" union str double all the

    SELECT id, ' 043994 ',' alloy. Mr. INTHICK' double str

    )

    SELECT id, str

    t

    NLSSORT order (str, 'NLS_SORT = EBCDIC')
    ;

    ID STR

    ------ ------------------------------

    043994 alloy. MR. INTHICK

    H58098 ACETAMIDOHYDROXYPHENYLTHIAZOLE

    Of course, if your strings can contain non-alphanumeric characters, you should check that the sort of EBCDIC order is acceptable for them as well. To check this, you can use something like

    with t (str, ascii) as long as)

    Select chr(level+32), level + 32 double connect by level<=>

    )

    Select str, ascii from t by NLSSORT (str, 'NLS_SORT = EBCDIC')

    ;

    or simply do a search of the internet on EBCDIC. You can also substitute other kinds of language for EBCDIC and see if any of them meet your needs. See Appendix A of the Guide to support globalization for the list of valid values for NLS_SORT.

    You say that you are on 11g - if you want to say 11.2.x, then you can use the listagg function to get a more compact view of the sort order:

    with t (str, ascii) as long as)

    Select chr(level+32), level + 32 double connect by level<=>

    )

    Select listagg (str) in the Group (order by NLSSORT (str, 'NLS_SORT = EBCDIC')) as EBCDIC_order

    t

    ;

    EBCDIC_order


    ----------------------------------------------------------------------------------------------

    . <(+|&!$*);- %_="">?': #@'="abcdefghijklmnopqr~stuvwxyz[^]{ABCDEFGHI}JKLMNOPQR\STUVWXYZ0123456789

    Kind regards

    Bob

  • case-sensitive password problem

    I created a login using DW8 (php and mysql) page. The behavior on my test site, I discovered that my passwords are not case sensitive. The BigBoy password even get away with bigboy, BIGBOY or any other variant of the case.
    How can I configure my password only access bargain? Is there specific settings, that I need to make the mysql table?

    See you soon,.

    phpStumped wrote:
    > The BigBoy password even pass like bigboy, BIGBOY, or any other variation
    > case. How can I configure my password only access bargain? Is
    > there special settings I need to make the mysql table? See you soon,.

    SELECT queries are case insensitive. To perform a search case-sensitive,
    You must add the binary before the search value. If you have
    used Dreamweaver Log server behavior to the user, you must go to
    Mode Code to modify the SQL query, which should look something like this:

    $LoginRS__query = sprintf ("SELECT username, pwd FROM users WHERE
    user name = %s AND pwd = %s',
    GetSQLValueString ($loginUsername, "text"),
    GetSQLValueString (password$, "text"));

    Change to this:

    $LoginRS__query = sprintf ("SELECT username, pwd FROM users WHERE username =
    BINARY %s AND pwd = BINARY %s. "
    GetSQLValueString ($loginUsername, "text"),
    GetSQLValueString (password$, "text"));

    Who will uphold the case looking for the username and password.

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Application of Web service on weblogic 10.3.6 (Illegal treatment target instruction ("xml"), xml (not case sensitive) is booked by the plug.)

    I built a server service web application in 11.1.1.7 Jdeveloper and deploy it on weblogic 10.3.6 to the demands of the external partner is used.

    I tested the app using the tool SoapUI and everything works fine and I get as a response from the server.

    Use case:

    1 - the customer can not get as a response from the server. They always receive 500 internal error from Server

    2 - I have faced this problem before with other clients because the client sent not writing xml format that is accepted by the server. Problem is solved at the time when they start to send the right xml format.

    3 - newspapers, I see the following stack (part of it): (Google, I knew there's something wrong with xml, the client sends to the server: wso2 - how can I manage this in Wso2ESB that does not Respone to the Client - Stack Overflow)

    4. now I need a way to know exactly what is to reach my server as xml. Is it possible to save the queries coming to the server weblogic. xml Without knowing what will happen on the server, I don't know what is going wrong in the xml file.

    < error > < com.sun.xml.ws.transport.http.HttpAdapter > < BEA-000000 > < could not create a SOAP message because of the exception: XML reader error: com.ctc.wstx.exc.WstxParsingException: Illegal treatment target instruction ("xml"); (not case sensitive) xml is reserved by specs.

    [row, col {source unknown}]: [10,16]

    com.sun.xml.ws.protocol.soap.MessageCreationException: cannot create SOAP message because of the exception: XML reader error: com.ctc.wstx.exc.WstxParsingException: illegal treatment target instruction ("xml"); XML (not case sensitive) is booked by the specifications.

    [row, col {source unknown}]: [10,16]

    at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:295)

    at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:294)

    at com.sun.xml.ws.transport.http.HttpAdapter.access$ 500 (HttpAdapter.java:102)

    to com.sun.xml.ws.transport.http.HttpAdapter$ HttpToolkit.handle (HttpAdapter.java:519)

    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:253)

    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:141)

    at weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:172)

    to weblogic.wsee.jaxws.HttpServletAdapter$ AuthorizedInvoke.run (HttpServletAdapter.java:708)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)

    at weblogic.wsee.util.ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)

    to weblogic.wsee.jaxws.HttpServletAdapter$ 3.run(HttpServletAdapter.java:311)

    at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:336)





    Update 1: I found that I need to add the following lines of code to enable logging on the server. But I thing execution is not to join them and fail before that. No idea how to highlight the execution of any request. Maybe in jdeveloper and weblogic server?


    System.setProperty ("com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump", "true");

    System.setProperty ("com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump", "true");

    System.setProperty ("com.sun.xml.ws.transport.http.HttpAdapter.dump", "true");

    System.setProperty ("com.sun.xml.internal.ws.transport.http.HttpAdapter.dump", "true");

    System.setProperty ("javax.net.debug", "true");


    Update 2: I just need to set the following properties of java (-Dcom.sun.xml.ws.transport.http.HttpAdapter.dump = true) in the setDomainEnv this file for the side server, see this link: How to apply Log and response with Java JAX - WS Client and web service server? But how to connect their good in files not just their output in the console?

    I am in a position to know what is the cause of the error (Illegal treatment target instruction ("xml"), xml (not case sensitive) is booked by the plug.)

    Update 2 in the question, I am able to see which is reached from the server console. The customer was sending additional labels and with in the body tag, which is not recognized by the server of web service application and it throw the customer 500 internal server error. The problem is solved by sending exactly the XML except without additional or missing tags.

  • E-mail account became case-sensitive?

    I have several email accounts on my iPhone and my iPad. One is a gmail account where I capitalized the first character of the email on the iPad (even if the gmail account is tiny everywhere).

    Recently, I changed the PW and, of course, has had to update my gadgets Apple with the new PW as well.

    No problem on the iPhone (7.1.2), but on the iPad (9.3.5) I'm stuck in a deadlock situation.

    He told me that I have to 'Enter the password again' and I get redirected to another page (web page?) where I get my new PW. However, he is rejected because "the user name or the IPL is wrong" which they are not.

    As I am out of the normal e-mail settings page (and can't get there until I asks me to enter the new PW again), I can not change the spelling of the user name.

    I came to the conclusion that some Apple update has changed the 'method of comparison of the name of the user' from case-insensitive to case-sensitive. I'd rather be changed to how it works on my iPhone. Or at least to find a way to change my user name capitalization, somehow.

    Any ideas? (Deletion and reopening of the account according to me, would be not a little practice, I would lose a few emails sent from the iPad, I don't)

    Hello. The web page is a login to Google to confirm the validity of your change. Your Google user name may be case sensitive. Maybe it's a change in security by Google. If gmail saves sent mail (I don't know), then deleting your account on the iPad shouldn't lose those who can not be recovered.

  • Migration using Time Machine - case sensitive issue

    I get a message "the selected source can't be used for migration-source do not use a case-sensitive file system" when I try to migrate using a Time Machine backup.  Any ideas?

    What this comes down to say the following:

    • Your existing backups located on a volume that is NOT case sensitive. In other words, it has been partitioned as Mac OS extended (journaled).
    • The destination drive you are trying to migrate these files to is a volume that is case-sensitive. In other words, it is partitioned as Mac OS extended (case-sensitive, journaled).

    You can check this in OS x disk utility by selecting the drive and then, by selecting file > read the information.

    The image below is an example of result to do. Note the value of parameter "is case-sensitive. In this case, this volume is not case sensitive, which means that a file named Bob or bob would be the same file. It is the default setting for the Mac's internal hard drive.

    I think that the only option at this point is to change the volume of destination is NOT case-sensitive to proceed with the migration.

  • "Search" Firefox Ctrl-F function always starts with "Case-sensitive" automatically activated

    "Search" Firefox Ctrl-F always begin with 'Match case' activated automatically every time I start up the browser, even when I start with safe mode disabled modules. Is there a way to have case-sensitive have (without having to check it manually) when I type ctrl-F?

    dcode147 said

    "Search" Firefox Ctrl-F always begin with 'Match case' activated automatically every time I start up the browser, even when I start with safe mode disabled modules. Is there a way to have case-sensitive have (without having to check it manually) when I type ctrl-F?

    If you don't have a user.js file, as I did not, then you can find this information in your profile folder prefs.js. To find this folder, click menu triple horizontal slash on Firefox button, then click the question mark at the bottom, then click "Troubleshooting information" and then click on "View file" next to the profile folder. At this point, you need to open the js file (prefs.js to me, maybe user.js for others) with Notepad.

    The entry "accessibility.typeaheadfind.casesensitive" cor - el mentioned above must be just off the top, and if "Match case" is highlighted then it should have a '1' beside him. You will need to close Firefox, then change 1 to 0 and save. When you restart Firefox "Case-sensitive" must return to being disabled.

  • 'Find' is case-sensitive and the option does not appear on the search bar

    As I said, it is case sensitive. I looked for an answer and everyone says uncheck case-sensitive on the search bar, but he's not here. I am on a mac with os x 10.9.4 using Firefox 32.0.1.

    I thought about it. I had to restart with disabled addons. I don't know which extension caused the problem, but the change stuck when I re-enabled the addons.

  • not case sensitive UNIX commands?

    Howdy,

    Maybe the books on Unix I use are just too old and not OS X specific. But they all say that the commands are case-sensitive, while system variables are.

    For example, ls and LS both work in the way as described in the books. I searched the internet and I saw concerns using the auto-completion tab being case-sensitive, but nothing regarding orders. But the answers regarding the tab thing throws blame on HFS not being is not case-sensitive. So if I understand correctly, orders are in fact files and therefore HFS design and there are a not case-sensitive. What is a good conclusion?

    Thank you very much

    DN

    Hmm, I guess I meant are tiny, while variables are uppercase in the traditional Unix system of things.

  • Quick search is case-sensitive. I do not think that this used to be the case. How can I 'quick search' break?

    Do the 'quick search' not quite as fast quick search is case-sensitive. How can I make case-insensitive? I think that it used to be case sensitive, if it's a "feature" can we have the old, faster, the 'quick search' in the back?

    You can open the normal search bar via ' Edition > Search "(Cmd + F) and remove the check mark in the box"Option match case.

  • pages 09 - search for case-sensitive words?

    Pages 09 - you can search by case-sensitive words?

    See the following screen captures for the advanced search and replace. It considers cat and only cat based on the search criteria.

  • Time machine does not take into account my partition which is case-sensitive.  Recovery has no data of this partition.

    I have a partition on my drive that is formatted for OS X Journaled, case sensitivity.  When I perform a backup, then recovery, all data in this partition is missing.  Time Machine does not recognize partitions of case-sensitive?  Strange, as the default format for Time Capsule itself is case sensitive.

    You cannot use the formatting case-sensitive with OS X. You will need to repartition the drive to Insensitive in full. You can not do any repairs or restore from a backup Time Machine.

  • Cannot create disk image writable, case-sensitive on El Capitan

    Hi all

    It is my first time posting, so bear with me, pls if this seems to be a stupid question.

    I tried to create a HFS disk image + case-sensitive (logged) on my MacBook (early 2015 model. OSX El Capitan 10.11.2).

    The goal is to build Android AOSPS (according to the website of the AOSPS, case-sensitive file system is required).

    But so far, I was not able to successfully create a desired image (sensitive to case AND write).

    With "Disk utility", I was able to create an image in writing (i.e. when mounted, the file system is read/write) but not case sensitive.

    Why is "Disk utility" unable to do so because it provides even an option for "logging case-sensitive HFS +?

    Then I tried to use "hdiutil create" tool command-line (based on the results of online research), which has succeeded in creating case-sensitive, but read-only images (i.e. when mounted, file system is read-only).

    I tried different combinations of "-format ' & '-fs ' options, but nothing seems to work so far.

    With the help of 'hdiutil convert' does not help.

    All opinions are appreciated.

    Thanks in advance!

    This is a bug. The solution is to clear the disk image mounted in disk utility, choose HFS case-sensitive like the format.

  • Adobe case-sensitive volume

    I am having trouble with my macbook pro retina (bought new at Apple four months ago)

    DSS corrupt on me and will not start, so I had to make a recovery of the internet.  Discovered there is an SSD firmware update after that I managed to get my camera up.  As applied.  All has been well since.

    But today I tried to install Adobe CC that I could restore my installation of Photoshop CC.  I get an error telling me that the installer does not support case-sensitive volumes.

    When I check disk utility, my SSD appears as a "logical volume group" (with a journaled "Mac OS extended" partition type

    It is the visible real disk (Mac HD) and it shows up as a "logical" partition

    I don't remember doing something special when you are recovering from the internet, or by choosing some funky options. Yet, here I am.  I spent a lot of time to restore applications and other.  Any recommendations? I feel a sort of reformatting is in my future.

    In the Finder, please press the combination of keys shift + command + C, or select

    ▹ go computer

    in the menu bar. A window opens showing all mounted volumes. Select the one in question and open the Info window. Which is shown as the Format in the General section?

  • Case-sensitive option in find and replace the chain

    Hello!

    Attached is my problem.

    I'm looking 'toto' in the 'toto + tototi' input string and replace 'toto' by 'A0 '.

    I want to "respect" the input search in order to get a string result: A0 + tototi

    Are there options allowing for case-sensitive option?

    BR,
    Vincent

    You use search and replace with Regular Expressions selected (the little asterisk icon).  \b represents a word boundary, basically the imaginary space between the character is a letter, number or underscore, and the other is not.  In other words, it is an assertion of width zero, which means that \b does not capture anything.

    For example: toto is toto, toto1, toto_1 etc.  toto\b matches the string 'toto' when it is followed by something that is not alphanumeric or underline, is why it will not match toto1 but will match toto + or 'toto '.

    Go to pcre.org for more information or follow the assistance detailed in LV I assumed you knew because you need to turn on Regular Expressions in S & are so I assumed that you had done.  You've probably done without being aware of what you were doing.

Maybe you are looking for