Feature BOX does not

Hello

I use SQL to create a list and you want to sort in a certain order. Here's the SQL, I created

Select distinct
(case
When sub_category = "Général" then 1
When sub_category = 'Customer Service' then 2
When sub_category = 'Service Consultant' then 3
When sub_category = 'Technicians' then 4
When sub_category = 'Service problem' then 5
6 other
end) as list_order,
"CATEGORY".
Of
T_SURVEY
where source = 'SECONDARY '.
order of list_order


This query is the following:

1 overall
6 customer service
Service issue 6
6 service Consultant
6 Service technicians


Please advice how to fix...

Thank you

This probably works, but not in a way that you expect. What is the data type of SUB_CATEGORY? If it's a VARCHAR2, or NVARCHAR2 Oracle uses the nonpadded semantics when comparing strings. For example:

SQL> CREATE TABLE TEST(COL VARCHAR2(10));

Table created.

SQL> INSERT INTO TEST VALUES ('ABC   ');

1 row created.

SQL> INSERT INTO TEST VALUES('ABC');

1 row created.

SQL> SELECT COL, LENGTH(COL), (CASE WHEN COL='ABC' THEN 'Yes' ELSE 'No' END) AS COMP FROM TEST;

COL        LENGTH(COL) COM
---------- ----------- ---
ABC                  6 No
ABC                  3 Yes

I inserted two lines to the TEST. One with spaces one without. As you can see in the expression box that they are not the same values.

I recommend that you check the data type of your column and see if he has all the right values. You could do a simple control as follows:

SELECT COL FROM TEST WHERE LENGTH(TRIM(COL)) != LENGTH(COL);

You can find information about the semantics of comparison of the characters here.

Tags: Database

Similar Questions

  • Open Directory dialog box does not work in FM 10 if client API is not built with 10 FDK

    Hello

    We have a FrameMaker API client that we have maintained for more than 10 years, since before the FM 6.

    We just brought the code of FDK 7 to 9 FDK so that we can finally move 7 FM support and focus on FM 9 and 10 features. Almost all the code works fine, but we have problems in a function that uses F_ApiChooseFile in FV_ChooseOpenDir mode.

    We do nothing special in the code (I am aware that by passing a value into directory argument can cause the function returns without displaying the dialog box) and you use F_ApiChooseFile in its simplest form:

    IntT err;

    StringT stemp;

    ERR = F_ApiChooseFile (& stemp, (StringT) "Select the folder containing the files to be processed.", (StringT) "", (StringT) "", FV_ChooseOpenDir, (StringT) "");

    When we create our DLL using FDK 9 client and run it in FM 9, the directory chooser dialog box appears correctly and the user can select a directory.

    When the same DLL is running in FM 10, the dialog box does not appear and the function returns immediately with err =-1 and FA_errno no error reported (as if the user has clicked Cancel).

    If I recompile the DLL using FDK 10 dialog work in FM 10, so the problem seems to certainly be related to backward compatibility with a DLL built with an earlier version of FDK.

    Unfortunately, you cannot run a DLL of FDK in FM 9 10 and we do not want to distribute and maintain two different versions of our DLL to support 9 FM and FM 10 users.

    Is there a solution to this?

    This bug was introduced in FM10. Until FM9, FV_ChooseOpenDir was #defined as "3", while in FM10, it was changed to '4' (as part of the evolution of these sets to focus on the value of flag-based). What customers can do to overcome this, is to get the FM using 'FP_VersionMajor' version, and for versions before FM10, they can pass 3 'in FM10, as an argument, the argument will be 4'.

    We will ensure that we will honor the 3 and 4 as "FV_ChooseOpenDir" in the future, but until then, workaround above should work.

    Kind regards

    Rene beauclair

  • URL address box does not display the current page.

    With the 4.0.1 update, the URL address box does not display the current page.

    All that shows is the text: «Go to web site»

    To now see the url of the current page, you need to make a right click the empty space is the address box and press the button "esc".

    Is there a way to display the url of the current page?

    This problem may be caused by an extension that is not working properly.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • When I press email and attach the photo, my email 'box' does not appear as formerly, and still on the bottom of the screen it says "1 selected item."

    When I press email and attach the photo, my email 'box' does not appear as formerly, and still on the bottom of the screen it says "1 selected item."   And I also waited for a period of time as well very reasonable.  What can I do?

    original title: EMAILING A PHOTO OF "LIBRARIES/IMAGES".

    Hi BrianS.OR,

    1 are you referring to the client program webmail or email?

    2. what e-mail on the computer client program do you use? Is - this Windows Mail or Windows Live Mail?

    3. What size are the image files?

    4. did you of recent changes on the system?

    You can temporarily disable a security software and firewall installed on the system and check if the problem persists.

    Note: Be sure to enable the security software on the computer after checking.

    Hope this information is useful.

  • When I connect my camera (panasonic TZ5) to my PC. the AutoPlay dialog box does not appear. Help

    When I connect my camera (Panasonic TZ5) to my PC. The AutoPlay dialog box does not appear. Help please

    Hello

    · What is the operating system installed on the computer?

    · Were there any changes made on the computer before the show?

    You can access the link below which holds information on the problems of auto play: http://windows.microsoft.com/en-US/windows7/Troubleshoot-AutoPlay-problems

  • PowerShot A630. In automatic mode when 'pull you' touches half green box does not appear

    PowerShot A630 in AUTOMATIC mode when the 'shoot' button is pressed to halfway the green box does not appear. The indicator flash shows and the photo will be shot. Everything works normally, the photo looks OK.

    Your property clean, Ok if the camera is still under warranty, I suggest you start a repair request with Canon and give them a call. They might even know some obscure affecting somewhere... Oh have you tried to do a "reset all" to 'reset to defaults', according to it is called through your settings menu?

    Despite this, it would be a good idea to get this folder with Canon problem

  • I'm opening a JPEG in Adobe Photoshop, but 'Open with' dialog box does not Photoshop

    I'm opening a JPEG in Adobe Photoshop, but the 'Open with' dialog box does not Photoshop in the list of available programs. I have attempte

    Original title: file association

    When Adobe Photoshop is installed it is automatically added to the open with command and usually it is the editor who is added, okay, so in your case, it is not added.

    Right click of your peak, point to open with, click on choose program.

    Put a check mark in the box, always use... If you wish.

    Click on browse, it opens the program files, double-click Adobe, double-click on Photoshop Elements.

    PhotoShopElementsEditor.exe-click, and then click Open

  • My problem is that when I try to save an image from Adobe Photoshop by using the 'save for Web' half of the dialog box does not appear.

    I use a Vista Home Premiuim Windows in an Acer Aspire One 10.1 "." My problem is that when I try to save an image from Adobe Photoshop by using the 'save for Web' half of the dialog box does not appear. Can someone help me please?

    Here is a screenshot of my problem...
    [IMG] http://i55.tinypic.com/of5w01.png [line]
    Help me please.

    Hello

    1. were you able to see the front dialog box?

    2. did you of recent changes to the computer?

    This happens because your screen resolution is less than the required minimum of 1024 x 768.

    You can try to change the resolution of the monitor and check.

    For more information, see the link:

    Change settings display on multiple monitors

    Change the screen resolution

    You can also refer to Adobe support links and also post your request in the Forum from Adobe for assistance:

    http://forums.Adobe.com/thread/433020?TSTART=0

    http://kb2.Adobe.com/CPS/403/kb403268.html

    http://forums.Adobe.com/community/Photoshop/photoshop_windows

    Hope this information is useful.

  • I paid for the Pro account paid feature still does not work

    I paid for the Pro account paid feature still does not work

    Hi davidv92782444,

    Make sure that you open the PDF in Acrobat Pro MS download and install Adobe Acrobat DC to use the Acrobat features not in Acrobat Reader ms, both are different applications.

    Kind regards
    Nicos

  • Serial number on the box does not have 12 items

    Tried to re - install the 12 items after I upgraded to windows 10 - all the numers in the back of the box does not work - how to move forward

    Serial numbers are not ON the box where anyone in a store can see and fly

    Lost serial number http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • Open file dialog box does not appear after a certain time in the latest version of Illustrator CC 2014

    Hi all

    Everyone knows a problem doing a file > open after using Illustrator for awhile? I select file > open and nothing happens after I used Illustrator for awhile. Doesn't seem to have any model, the open a file dialog box does not appear only so I close and reopen Illustrator.

    Thank you

    Ben

    benkop,

    There seems to be a bug in CC2014, that appears when you open Illustrator / place dialogue together for display column and sort by date. You can adapt it to display by name or a list of point of view.

  • 5 Lightroom Import dialog box does not appear previews

    I just installed Lightroom 5 and the import dialog box does not appear for previews of the images.  Without previews, there are no images to select for import.  It doesn't matter if they are JPG or CR2 and if I try to import from the camera card or hard drive.  Version 4.4 also failed at first, but after fiddling around, I finally got the old version to work.  Help, please!

    I use Lightroom 5, Windows 7 64 bit.

    I've expanded the dialog on the right boxes and Destination Panel on the right was the problem.  As soon as I developed it, all the images in the preview window began to appear!

  • Flash Player for the form of intranet distribution - acceptance online box does not work?

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=distribution_form & pv = fp

    acceptance online box does not work

    Maybe I should ask if Adobe does not have distribution agreements more?

    I'll pass this along and try to find the owner of this page.  You're not the first person who's problems reported with IE and this submit button disabled.  In the meantime, can you give that a test with Chrome or Firefox?

    Thank you

    Chris

  • Custom scan box does not touch "scan" because of my 13 "screen.  Cannot reach it.  How can I fix it?  THX

    Custom scan box does not touch "scan" because of my 13 "screen.  Cannot reach it.  How can I fix it?  THX.

    Try increasing your screen resolution.

  • Bounding box does not object (Illustrator CS4)

    I don't know if this is a bug or a mistake on my part, but since last week, the bounding box for my objects really did match objects. It's really problematic when I try to turn the object using the bounding box handles.

    Occasionally, after I have transform the object covering the match again and will transform correctly. Sometimes it will stay off. If he refocus, undoing the changes back to the original size will cause the framework encompassing restore in his State do not match.

    Things, I tried to solve the problem:

    1. Reset bounding box
    2. Copy and paste the form to another document
    3. A new document from scratch (I thought it was possible I corrupted the file)
    4. Return the default keyboard shortcuts
    5. Restart Illustrator
    6. Rebooting my system

    To my knowledge, my system has not been last updated last week, or whatever again was installed. However, HE pushes the interview so there is a possibility that it has been updated and I don't know about it. The only programs open work in Illustrator is bridge, Outlook 2007, IE8, Explorer, InDesign CS4, Word 2007, Photoshop CS4, Acrobat 9 Professional, Dreamweaver CS4, PowerPoint 2007, Previewer and possibly FireFox 3. something (although not necessarily at the same time - usually about 7 of the above listed). My system is XP Professional SP3 with an Intel Core 2 Quad @ 2.66 GHz and 3.25 GB of RAM. The objects are not grouped, contain no clipping masks, contain no transparency masks and are not transparent traces. They are paths/simple forms, often of the rectangles.

    I've included some pics to explain better my problem. This first picture shows how the framework encompassing does not match the rectangle.

    MismatchedBoundingBox.gif

    The second image shows the process of transformation of the form through drag.

    TransformProcess.gif

    The third image shows the result.

    TransformResult.gif

    Thanks for any help you can provide!

    It is a display bug (?) that has been around for a while.  The corners of the rectangle enclosing space requirement and display then the bounding box must be established more then the object it contains.  That's correct, I think - but the bug occurs when you resize and she estimated the size of the bounding box, rather than the size of the object.

    The only solution for the bounding box to work is to zoom in order to have the corners of room bounding box to draw the size of the object.  Alternatively, look at your panel of transformation to manually resize your object.

    Would also report to Adobe so they know that we care about it being fixed: Adobe - feature request/Bug Report Form

Maybe you are looking for