CASE

Help me



Select (CASE (SELECT COUNT (*) OF BO_MASTER bm
WHERE bm.bo_st_code = 502
AND first_product_type = 'VALC.
AND TRUNC (FIRST_LOAN_DATE) = TO_DATE (OCTOBER 14, 2010 ", ' MM/DD/YYYY')
WHEN 0 then "
ELSE (SELECT COUNT (*) OF BO_MASTER bm
WHERE bm.bo_st_code = 502
AND first_product_type = 'VALC.
AND TRUNC (FIRST_LOAN_DATE) = TO_DATE (OCTOBER 14, 2010 ", ' MM/DD/YYYY'))
END) as double New_customer_count;


AND IAM

ORA-00936: lack of expression
00936 00000 - "missing expression.

Why the CASE... And why would you run the same query twice?
Just use NULLIF

SELECT nullif(COUNT(*) ,0) as New_customer_count
FROM BO_MASTER bm
WHERE bm.bo_st_code=502
AND first_product_type='VALC'
AND TRUNC(FIRST_LOAN_DATE)=TO_DATE ('10/14/2010', 'MM/DD/YYYY')

Tags: Database

Similar Questions

  • 7 leather Apple iPhone case

    Just got the black leather for my iPhone case Black 7.  The finish on the leather is slippery in my hand, will be leather percent and easier to hold after a period of use?

    Hmm, probably not.  You can consider a case for Apple.  They resemble leather cases, but they are more sticky and have a more sticky feeling.  Good luck.

    Let us know what you decide :-)

  • Leather case does not perfectly match iPhone 7

    I recently bought the Apple black leather cover for my new iPhone 7. After putting on the phone, I noticed that it is not firmly on the edges. I can hear the Squeak of leather when I apply a light pressure on the sides (this happens when you hold the phone). I compared it with leather for iphone 6s cases; they do not have this problem. For an expensive case it should perfectly around the phone. -What other people have experienced? Any statement of Apple? It is interesting to go to the Apple store for?

    Thank you

    Hello

    If you are concerned about a manufacturing defect, contact Apple support (mail service may be available) or make a Genius Bar reservation so that your case checked and, according to the decision of Apple, replaced:

  • Apple Watch series 2 protective case

    Hello

    Has anyone found a real Apple Watch S2 case? You are looking for a minimalist design, to display the watch itself without inhibiting its look, then perhaps a clear case (case bumper or other) will do.

    All cases online specify that they are cases Apple Watch S2, but look further into what they are not, as many of them do not account for the new air port (hole on one side, not two) and are also not the right depth, and cutting a port speakers are designed for S1 S2 not.

    You will need to protect my camera, I do use it in the gym a fair bit and worry about the damage.

    Thanks guys and girls!

    Hi RudeBwoy!

    I had the same problem. As far as I can see, case or bumper for the AW 2 series do not exist. I talked to Spigen, catalyst and a couple of others and any sites third 3rd say... manufacturers confirm that their AW products are NOT compatible with series 2 Watch, and that they are working on it!

    All thoughts of good screen protectors? !! They would be compatible? Some protection is better than nothing!

    Let me know if you hear anything!

    Thank you

  • How can I download apps using iOS iPhone 5 s 10 and a waterproof case (without removing the case each time!)

    I have an iPhone 5 s protected by a waterproof case, secure screw using Allen.

    This command removes the possibility of using the ID of the contact.

    Contact ID is required by the App Store!

    I found a way around locking the screen, but not found how to circumvent App Store

    Have you disabled the following: settings > Touch ID & password > iTunes and App Store?

  • iPhone 5 and 5s... same size iphone? Need to know about cases

    Does anyone know if the iphone 5 and iphone 5 s have the same exact dimensions? I buy a protective case and the description said 5s (only).

    You can get analytical information in the paper support. Identify your iPhone - Apple Support model

  • 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.

  • IPhone smart case 7

    I recently bought the smart box for iPhone 7.  The costs of the case perfectly when connected to the charger by itself or when the phone is placed in the case, turned on and connected to the charger. However, if the phone is in the case, which is connected to the charger and the phone is switched off - only the phone will charge and not the case?  I want to turn off my phone overnight, but this way the phone will be charger but the battery case will not?

    Hi goblue2121,

    The reason its called a "Smart Battery Case" is because the case is able to detect when there is a phone connected to it and when that phone is drained. Once you wear the case, she just starts charging your iPhone depleted. If both devices are 100%, and you have the case, the phone will initially use the batteries in the case, and change to empty his own cell. If you turn off the phone while its in the case, the case is will not charge that she believes that the phone is drained.

    Recommendations:

    1. Charge iPhone and case separately.
    2. Activate low power on iPhone at night Mode.
    3. Turn on do not disturb & low power on the iPhone during the night Mode.

    The best

  • Case, but the screen is still in

    Given that I've updated my iPad iOS 10.0.2, my case is no longer locks the screen to close it. The screen stays on. In my view, there is no option to activate this feature. It bother anyone else? No idea if they're going to fix this?

    They moved to / brightness of the display.

  • Police in case of failure

    Is it me or are some areas are much too small after upgrade to Sierra?

    I tried to re scale, it increases simply other unnecessarily font sizes

    Not noticing a difference in fonts on the Sierra here.

    You may have a duplicate or a third-party font that causes a conflict with Sierra and Safari.

    Open the book fonts in your Applications folder.

    Then go to the menu bar of the font book and click Edit > search enabled duplicates

    If there are no duplicates found, return to the menu font book bar, click on file > restore Standard fonts

    Fonts not included in the installation of OS X system will be placed in a "folder of fonts (deleted) next to the fonts folder.

    Then, restart your Mac and see if that makes a difference.

    If this is not the case, a Safe Mode boot removes the system caches that can help after a update/uprade.

    Follow these steps to start in safe mode.

    1. Start or restart your Mac.
    2. As soon as you hear the startup tone, hold down the SHIFT key.
    3. Release the SHIFT key when you see the logo Apple appears on the screen.

    After the Apple logo appears, this may take longer than usual to reach the login screen or your office. This is because your Mac performs a check of directory of your drive to boot in safe mode.

    To leave safe mode, restart your computer without pressing any keys during startup.

    Then, check back fonts.

  • Smart battery case

    Will be the case for smart battery that I use on iphone 6s function on iphone 7?

    It will work, but you will need to take the phone from the case, whenever you want to use as a camera.

    https://9to5Mac.com/2016/09/21/iPhone-7-smart-battery-case-smart-pricey-ugly-big ger-battery-video /? Pushup = 1

  • IMAP is not supposed to retrieve emails from the server only? In my case, all mails are downloaded to my mac and I can see the offline!

    IMAP is not supposed to retrieve emails from the server only? In my case, all mails are downloaded to my mac and I can see the offline!

    His grip on my mac space, even if I'm using the same settings for my Iphone email are not downloaded to the phone and its not not using any space!

    It is often possible to access the same account using IMAP or POP.

    Make sure that your settings are correct. The account type is on the first part of the account preferences.

  • [Apple Watch] I can match with leather band aluminum case?

    I can match with leather band aluminum case?

    On the site, I can not select leather band if I choice an aluminum case.

    Hello

    All Apple Watch bands will be adapted to any Apple Watch of the same size of the case (42mm or 38 mm).

    When initially buying Apple Watch, it is only possible to buy preconfigured case and band combinations. All available options are detailed in the Apple Online Store:

    Additional tapes can be purchased as separate accessories:

  • My iPhone case 6 will fit the iPhone 7?

    I recently bought an iPhone 6 cases and I was wondering if anyone knew if it fits the iPhone 7? Thank you!

    Hello

    The iPhone 6 cover Silicone case in leather and smart box are not compatible with iPhone 7.

    Apple offers separate lawsuits for iPhone 7:

  • photo iOS 10 face recognition does not not with smart battery from apple on the iPhone case 6

    Hello

    After upgrading my iPhone 6 with smart box Apple iOS 10, I tried the new feature recognition of person of photo enforcement.

    He asked me to connect the phone to the power outlet and lock the screen. I connected my case smart battery with the iPhone in to the charger and waited at least 10 minutes. IPhone person kept asking me to connect to the socket and lock screen battery icon showing that the phone is charging and the case of the battery to 100%.

    As I withdrew my iPhone from the record, plugged directly into the outlet and locked to the screen, picture began to go in my photos.

    Anyone else with the same problem?

    If there is a bug where should I report it?

    Kind regards

    Xavier

    It is a Bug, but I think that if you have agreed to share your Apple device status information, they already know the problem

  • When the default is uppercase, which is command to change to lower case on smart keyboard

    What is the command to switch to uppercase lowercase on smart keyboard

    Hey Glenn26,

    The smart keyboard is a great accessory and very convenient to use.

    You must pass between upper case and lower case as well as on a standard keyboard. You can hold down the SHIFT key, or press the SHIFT key.

    See you soon.

Maybe you are looking for

  • MP620 el captain

    Hello I can not connect to Canon MP620 after upgrade to El captain. I followed this thread for help: El Capitan will not allow the Canon MP620 print I tried everything listed and still I can't connect. Any ideas? As I reply to the thread above I post

  • hard drive transfer

    How can I get the music in ITunes while it is connected to the hard drive?

  • TrueSuite finger print access Outlook disappeared

    Hi all I have been using TrueSuite Access to protect MS Outlook (I use Outlook 2003) since I have my laptop Toshiba, in other words when I open MS Outlook, TrueSuite forces me to hit me to swipe my fingerprints in order to access and use MS Outlook.

  • Satellite Pro A100 will not start!

    Hello I am having trouble with a Tosh. Satellite Pro A100 (model: PSAACE). The laptop was acting kinda funny for the last week (turned off on its own, saying that it is running on battery when pluged) then today he has decided to power off on it's ow

  • RS485 auto map two sons may not work

    I use the PXI8431 card for RS485 communication: here has an another usb to RS - 485 (not OR card), and I put the card two 485 both two-wire mode, (for pxi8431, I put two wireless auto mode, and I've shortened the PIN 4 and PIN 8, pin 5 and PIN 9), th