Syntax of the function BOX when multiple values equals the same result?

I tried using the key word 'IN' with the CASE function, but it does not work, each case must be indicated separately? trying to save a few lines...

has tried:

case me607.rmc_code
When to (',' MS', 'MP') then 'H311.
end as carrier_code

What I do:

case me607.rmc_code
When'm ' then 'H311.
When "MS," then "the H311.
When 'MP' and then 'the H311.
end as carrier_code,
etc...

Thanks for any help...
case when me607.rmc_code
 in ('M','MS','MP') then 'H311'
end as carrier_code

Max

Tags: Database

Similar Questions

  • I'm trying to download the trial version for Acrobat DC edit PDF files, but when download initializes, it gets to 11%, gets stuck, then gives the message "request from Web Get failed. I canceled, downloaded the installer again and got the same result.  I'

    I'm trying to download the trial version for Acrobat DC edit PDF files, but when download initializes, it gets to 11%, gets stuck, then gives the message "request from Web Get failed. I canceled, downloaded the installer again and got the same result.  I'm on a PC running Windows 8. Any suggestions?

    Hiddm93421458,

    Restart your system and then try again to install Acrobat Reader DC using this link Download Adobe Acrobat free trial | Acrobat Pro DC.

    Let me know if the problem persists.

    Kind regards

    Nicos

  • When I open a saved PDF file it stalls.   After 10 min, I close and try again the same result.

    When I open a PDF - registered Adobe Reader (not answer) and it it stalls stalls.   After 10 min, I close and try again the same result.  Sometimes it works for a few minutes, then it will start in neutral and I get nothing fact.

    What is your operating system?  Version of player?

    Can you open Reader by itself?

  • I've uninstalled and reinstalled the drive several times with the same result, my problem is when I download the drive icons for my browsers and above all my desktop icons change adobe logo, so when I click on them Adobe tries to open them.

    I've uninstalled and reinstalled the drive several times with the same result, my problem is when I download the drive icons for my browsers and changing most of my the desktop icons for the adobe logo, so when I click on them Adobe tries to open them, of course, he does not format because it's not an adobe application , so I tried to restore the computer to an earlier date and it wont let me as long as Adobe reader is installed, so I need to uninstall and now I have nothing to open files and downloads of Adobe, someone had this problem and if so, did you get it resolved? Thank you Tommy...

    This may help: Application, file icons change in Acrobat/Reader icon

  • Get the same results without line of sight

    Hi gurus,

    My version of the database is 10.2.0.4.0.

    I have a couple of tables as follows:

    CREATE TABLE xxgroups(group_number NUMBER, description VARCHAR2(30));
    
    INSERT INTO xxgroups VALUES(1,'Group 1'); 
    INSERT INTO xxgroups VALUES(2,'Group 2');
    INSERT INTO xxgroups VALUES(3,'Group 3');
    INSERT INTO xxgroups VALUES(4,'Group 4');
    INSERT INTO xxgroups VALUES(5,'Group 5');
    
    CREATE TABLE xxgroup_persons(group_number NUMBER, person_number NUMBER, first_name VARCHAR2(30), last_name VARCHAR2(30));
    
    INSERT INTO xxgroup_persons VALUES(1, 1, 'John', 'Smith');
    INSERT INTO xxgroup_persons VALUES(1, 2, 'James', 'Smith');
    INSERT INTO xxgroup_persons VALUES(1, 3, 'Joe', 'William');
    INSERT INTO xxgroup_persons VALUES(2, 4, 'Julien', 'Ford');
    INSERT INTO xxgroup_persons VALUES(2, 5, 'James', 'Kelly');
    INSERT INTO xxgroup_persons VALUES(3, 6, 'Francis', 'Smith');
    INSERT INTO xxgroup_persons VALUES(5, 7, 'Jerry', 'Ford');
    INSERT INTO xxgroup_persons VALUES(5, 8, 'Alfred', 'Willis');
    INSERT INTO xxgroup_persons VALUES(5, 9, 'Jon', 'Preston');
    
    COMMIT;
    I would like to get a query to return for each group, the person with less person_number (if no one assigned to the group, then the query must return again with an empty person group). I know I can do this by using for example:
    SELECT group_number, person_number, first_name, last_name 
    FROM (SELECT a.group_number, b.person_number, b.first_name, b.last_name
               , RANK() OVER (PARTITION BY a.group_number ORDER BY person_number) person_order
          FROM xxgroups a, xxgroup_persons b
          WHERE a.group_number = b.group_number (+)
         ) 
    WHERE person_order = 1
    ORDER BY group_number;
    
    GROUP_NUMBER PERSON_NUMBER FIRST_NAME                     LAST_NAME
    ------------ ------------- ------------------------------ ------------------------------
               1             1 John                           Smith
               2             4 Julien                         Ford
               3             6 Francis                        Smith
               4
               5             7 Jerry                          Ford
    but it would be possible to achieve the same results without inline mode?

    Thank you.

    You can try this function KEEP:

    scott@orapdt>  SELECT a.group_number,
      2         min(b.person_number) as person_number,
      3         min(b.first_name) keep (dense_rank first order by person_number) as first_name,
      4         min(b.last_name) keep (dense_rank first order by person_number) as last_name
      5  FROM xxgroups a, xxgroup_persons b
      6  WHERE a.group_number = b.group_number (+)
      7  group by a.group_number;
    
    GROUP_NUMBER PERSON_NUMBER FIRST_NAME                     LAST_NAME
    ------------ ------------- ------------------------------ ------------------------------
               1             1 John                           Smith
               2             4 Julien                         Ford
               3             6 Francis                        Smith
               4
               5             7 Jerry                          Ford
    
    5 rows selected.
    
  • I have a p6210f (Win 7), that does not illuminate. As recommended, I tried a new power supply with the same results.

    In my post in November, I explained that I had tested the power supply with a multimeter and read the correct voltage. Two people to the Board of Directors always seem to think it was the power supply, so I replaced it with a new one (Corsair CX 430 R) and it still won't turn. I had suspected the power switch because when I bypass the MOBO 20 pin plug 'on', the power led lights up, fans have come on short and I heard the rotation of the disk. I also tried to troubleshoot the switch by jumpering the pins on the motherboard, but still no luck. Someone there ideas more before I replace the card MOTHER and CPU? Thanks in advance.

    Roamstead

    Cloud_strider,

    Thanks for the reply. After swapping the PSU, CPU, taking the RAM pins on jumping on the MOBO for power/LED/reset button, each separately and with the same result, I eventually swapped the MOBO to an ASRock A785GM - THE and who did! He finally put under tension. Thanks again.

    roamstead

  • Disc and DVD player read not only draw message get open no disc in the drive, again with the same results.

    Sought to follwed and previous forum information steps to unload the upper and lower registry filters but none are included.

    Have you tried devcon in back and get the followin message "devcon is not recognized as a builtin or external operable program or batch file."
    'Fix It' have tried without success
    Bought new dvd but still get the same results.

    Hello lyneham5155,

    Thank you for using the Microsoft answers Forum

    When this disk is listed in your device manager and you view the properties give any particular error as code 39 or code 10 code? Article below may help determine what the issue might be or helping to solve completely. Sometimes, the stack of filters in the registry is corrupted by software that is using the drive for some actions, such as write applications or multimedia CD or DVD. Take a look at the article below and see if it helps you solve your problem.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs

    http://support.Microsoft.com/kb/314060

    Judd
    Engineer Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows Live OneCare: I downloaded Windows Live OneCare scan my computer and everytime I run the program it gives me the same results.

    I downloaded Windows Live OneCare scan my computer and everytime I run the program it gives me the same results.

    But he never cleans or removes anything just the same results each time.  How to clean my computer?

    Found registry 7, 1cleaned, 6 errors.
    0 was ignored by the user.

    COM/active (1 error, 0 has been ignored by the user)
    File type associations (4 errors, 0 has been ignored by the user)

    System softward (1 error, 0 has been ignored by the user)

    Found 3140,6 MB, cleaned or compressed
    1.3 MB of temporary files and other
    C:\
    D:\

    Network security
    open ports 0

    Hello

    Are you logged on as ADMINISTRATOR when you access the scanner?

    Some errors cannot be fixed by the scanner, and many of those who are not at all important.

    Check-in of the Windows Live a Forums

    Security scan bulletin boards and return products
    http://OneCare.live.com/site/en-us/community/default.htm

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • My lightroom is having problems to import images, I tried a different card with the same results readers

    My lightroom/mac is having problems to import images, I tried a different card with the same results readers

    This means that ccouldn can't ccopy Lightroom photos in the destination directory. You must determine which directory is specified in the Lightroom Import dialog box, it is on the right in the Destination. Then, you will need to enter your operating system and change the permissions on this specific issue to the WRITE permission.

  • I created a photo album on my iMac with 241 photos but my iPhone shows that 220 photos. I deleted the album and created a second time but got the same result.

    Hi - I created a photo album on my iMac with 241 photos in it, but my iPhone shows that 220 photos from the same album. I've deleted the album and created a second time, but got the same result, only 220 photos appear. I 2.9 GB available in iCloud, so it can't be the issue.

    Al

    Try the settings/iCloud and remove the synchronization. Wait a few minutes and then resynchronize.

    Have you tried the signature to iCloud and then reconnect?

  • printer Lexmark Pro 200. Does not print the correct colors. I restarted my computer and the printer is off but get the same result.

    Printer Lexmark Pro 200.  Does not print the correct colors. I restarted my computer and the printer is off but get the same result.

    Hello

    • What were the changes made before the problem occurred?

    You try to run this fix and check.

    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    If above does not work, try contacting Lexmark support for assistance.

    http://www1.Lexmark.com/en_US/global-services/customer-support-services/index.shtml

  • Calendar Creator does not start. I reinstalled the program - the same result. If I uninstallthe and reinstall then, will I lose all my data?

    I use Windows XP.
    Calendar Creator of Broderbund does not open. I reinstalled from the disk and got the same results. I have used this program for a few years.
    If I uninstall, will I lose my data? Your suggestion (s)?

    Hi Jerry,

    I suggest that you contact the software manufacturer for further assistance. In addition, check if there is an update of the program version.

  • Lightroom CC will not open. Flash screen flashes, but that is it. Uninstalled and reinstalled (with CC), but got the same result.

    I installed Lightroom CC CC on Macbook Yosemite 10.10.3 running App. It says it is installed, but the attempts to open it get only a snapshot of the screen flash, then nothing. I uninstalled and reinstalled, but get the same result.

    I can assure you that disconnect from creative cloud and reconnect works, like the post above.

    Adobe: Creative cloud must die a horrible death. Bring regular return of your product licenses. CC has been nothing other than a nightmare.

  • I can't get Adobe Flash Player to date on my Mac. It keeps telling me to close Safari, even if it is closed. I tried all the suggestions on the Adobe site and always get the same results. Thanks for any help

    I can't get Adobe Flash Player to date on my Mac. It keeps telling me to close Safari, even if it is closed. I have tried every thing on the Adobe site to solve the problem with the same results still. I went to the site of both Mac and said to go to Adobe for a solution. It worked fine as a new Mac in February, but it will not update now, so no Flash Player ay all. Thanks for any help.

    By clicking the red dot on the safari window it minimizes, but leave the program running.

    To exit Safari completely, open Safari by clicking on the dock icon, and then choose Safari > Quit Safari to the upper left of the screen.

  • I need to restore my windows xp system, but when I run the system restore program, I get the message that no changes were made and to choose another restore point, but all have the same results. Why?

    the system restore program is activated.

    A restore point is selected. program is activated.

    It runs and after system restart, it is said that no changes have been made, run another restore point.

    Same results every time!

    Help!

    Hi larryburrage,

    1. did you of recent changes on the computer?

    2 when was the last time it was working fine?

    3 do you have Norton installed on the computer security software?

    If you use Norton Security software on the computer then refer to the article below and check if it helps.

    http://Service1.Symantec.com/support/sharedtech.nsf/pfdocs/2005113009323013

    If you don't use security software Norton then temporary deactivation of security software installed on the computer and check if it helps.

    Important: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

Maybe you are looking for

  • Just got new computer, when content access several Web site via firefox namely craigslist. Almost all of the text is yellow, you can't read it. Internet works fine exp

    Since the purchase of new computer am forced to use internet explore as Firefox is causing text on many sites to see in yellow. Some sites have only a few lines that appear in yellow and the other like craigslist are 80 to 90% of yellow text. I can't

  • Search table

    Hi all I have a problem regarding research table. Looks like it's impossible to find some items in the table 1 d that I deliver to me. Because it returns-1. I have attached my vi + the file Koen

  • HP Media Center M7370: HP Media Center M7370 no boot

    My computer tries to start but doesn't she get further than the HP Blue and white screen. I can't go in the options (Start menu, etc. system recovery) because it does not meet a key entry. It started a few days ago. Since then, I have tried to reboot

  • Help! My Lightroom does not open!

    My Lightroom does not. I just get a message that says: "cannot open the catalog Lightroom called"Lightroom 5 Catalogue"because another application already opened it." The catalog is not open.My computer crashed and now it does not open.

  • Baffled

    I can't download Flash on my 10.9.5 mac with a 7.1.2 version of Safari.  It says my password is incorrect, but I changed the password, even created a new account on Adobe and STILL does not accept the password.  I'm confused and out of options.  For