How can I get this application to work?
IS THAT OK! not too much experience with instructions check box in the select. I try to have a query that returns a "CR" address if they do not have CM, CM AND are they have a.They cannot have the two is perhaps a better way of restricted in where clause.
in other words if they record CM give me that address, but if they do not have CM give CR...
Probably an easy things for some of you guys!
Thank you
select
spriden_id,
spbpers_name_suffix name_suffix,
spbpers_name_prefix name_prefix,
spriden_last_name last_name,
spriden_first_name first_name,
spriden_mi mi,
srbrecr_term_code,
srbrecr_majr_code,
srbrecr_program_1,
saturn_midd.utlq.f_matl_code_type(srbrecr_pidm),
CASE WHEN SPRADDR_ATYP_CODE = 'CM' and SPRADDR_ATYP_CODE != 'CR' THEN SPRADDR_STREET_LINE1 END,
CASE WHEN SPRADDR_ATYP_CODE = 'CM' and SPRADDR_ATYP_CODE != 'CR' THEN SPRADDR_CITY END ,
CASE WHEN SPRADDR_ATYP_CODE = 'CM' and SPRADDR_ATYP_CODE != 'CR' THEN SPRADDR_STAT_CODE END ,
CASE WHEN SPRADDR_ATYP_CODE = 'CM' and SPRADDR_ATYP_CODE != 'CR' THEN SPRADDR_ZIP END,
CASE WHEN SPRADDR_ATYP_CODE = 'CM' and SPRADDR_ATYP_CODE != 'CR' THEN SPRADDR_CNTY_CODE END,
CASE WHEN SPRADDR_ATYP_CODE = 'CM' and SPRADDR_ATYP_CODE != 'CR' THEN SPRADDR_NATN_CODE END,
CASE WHEN SPRADDR_ATYP_CODE = 'CR' and SPRADDR_ATYP_CODE != 'CM' THEN SPRADDR_STREET_LINE1 END,
CASE WHEN SPRADDR_ATYP_CODE = 'CR' and SPRADDR_ATYP_CODE != 'CM' THEN SPRADDR_CITY END ,
CASE WHEN SPRADDR_ATYP_CODE = 'CR' and SPRADDR_ATYP_CODE != 'CM' THEN SPRADDR_STAT_CODE END ,
CASE WHEN SPRADDR_ATYP_CODE = 'CR' and SPRADDR_ATYP_CODE != 'CM' THEN SPRADDR_ZIP END,
CASE WHEN SPRADDR_ATYP_CODE = 'CR' and SPRADDR_ATYP_CODE != 'CM' THEN SPRADDR_CNTY_CODE END,
CASE WHEN SPRADDR_ATYP_CODE = 'CR' and SPRADDR_ATYP_CODE != 'CM' THEN SPRADDR_NATN_CODE END
END
FROM
saturn.srbrecr,
saturn.spriden,
saturn.spbpers,
SATURN.SPRADDR
WHERE
spriden_pidm = srbrecr_pidm
AND SPRIDEN_PIDM = SPRADDR_pidm
--and srbrecr_term_code = decode(p_term ,'%',SRBRECR_TERM_CODE,p_term)
and spbpers_pidm = spriden_pidm
and spriden_change_ind is null
and SRBRECR_PROGRAM_1 = 'CMQ'
--AND SPRADDR_ATYP_CODE = 'CM'
AND SPRADDR_STREET_LINE1 IS NOT NULL;
Published by: user648177 on April 22, 2009 08:47
(try lowercase letters for the code of {})
Set apart:
CASE WHEN SPRADDR_ATYP_CODE = 'CM' and SPRADDR_ATYP_CODE != 'CR' THEN SPRADDR_STREET_LINE1 END,
...
which should be rewritten as (*):
CASE WHEN SPRADDR_ATYP_CODE = 'CM' THEN SPRADDR_STREET_LINE1 END cm_street_line_column_alias,
...
your method is going in the right direction.
However, to get the details on a line, you must use an aggregate function, for example. :
MAX(CASE WHEN SPRADDR_ATYP_CODE = 'CM' THEN SPRADDR_STREET_LINE1 END) cm_street_line_column_alias,
...
group by spriden_id, ..., saturn_midd.utlq.f_matl_code_type(srbrecr_pidm)
(*) To put it another way, you're actually saying "If 1 = 1 and 1! = 2 then... "- the second condition is totally redundant as 1 will never be equal 2
Published by: Boneist on April 22, 2009 16:56
Published by: Boneist on April 23, 2009 08:47
Tags: Database
Similar Questions
-
How can I get my application to work settings?
Adobe files open only in firefox, even after I change the settings of the application.
I finally solved it myself!
I had to disable the plugin Adobe PDF for Firefox.
Then I can change the settings in the tools-options-applications tab to open all links in pdf directly with Adobe reader - much faster. -
How can I get this script to work with Firefox?
This 'go to the top of the Page"button does not work with Firefox 5.0.What do I have to do to make it work correctly?
Handwriter you actually use Firefox 3.6.13 based on your useragent (look at the end, not starting). Mozilla/5.0 is on all versions of Firefox. Firefox 5.0 won't come out for a while yet as 4.0 has yet to be released.
-
How can I get this Javascript to work under IE
Here is the code. It works perfectly in DW, but not in IE. What changes do I need to make to make it functional in IE?
Thank you.
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<form>
Invoice Payment: <input type="text" name="InvoiceAmt" id="InvoiceAmt" size="20" maxlength="30" />
Payment Amount: <input type="text" name="Chargetotal" id="Chargetotal" size="20" maxlength="30" />
</form>
<script>
document.getElementById("InvoiceAmt").addEventListener("keyup", invoiceAmtKeyup, false);
function invoiceAmtKeyup(e) {
document.getElementById("Chargetotal").value = (+(e.currentTarget.value)*1.05).toFixed(2);
}
</script>
</body>
</html>My thanks to Kenneth Kawamoto for the above code.
IE8 and earlier do not support the addEventListener method. The following change should work in all browsers:
document.getElementById("InvoiceAmt").onkeyup = invoiceAmtKeyup;
function invoiceAmtKeyup() {
document.getElementById("Chargetotal").value = (+(this.value)*1.05).toFixed(2);
}
-
Original title: all the applications on my computer appear as microsoft works. How can I get this problem? Even internet explore a works file is not displayed and does not open.
All my desktop icons are listed under the ribs owrks and work does not support these applications. How to get back my computer to the way it was?
Hello
1. which is the version of Windows installed on your computer? For example, Windows 7, Vista
2. have you done any software or hardware changes on your computer before this problem?
I suggest you to see the steps in the following link.
When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program
http://support.Microsoft.com/kb/950505
Registry warning
To do: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ )
http://Windows.Microsoft.com/en-us/Windows7/back-up-the-registry
Hope the information is useful.
-
WTH... it became a frustration of long hours, how can I get this download work?
Hi gustolis,
You are on a managed network. If not then please download desktop CC: https://creative.adobe.com/#products/creative-cloud . Sign in using your Adobe Id and password, and try to download Acrobat in the list of applications.
If stil the same question try please download from direct link: http://prodesigntools.com/adobe-acrobat-xi-pro-standard-reader-direct-download-links.html .
Please follow the very important instructions before downloading.
Please let us know if it worked.
Kind regards
Romit Sinha
-
I NEED ASSISTANCE WITH MY ETHERNET DRIVER. HOW CAN I GET THIS TO WORK NEW TI?
Original title: driver ethernet
I NEED ASSISTANCE WITH MY ETHERNET DRIVER. HOW CAN I GET THIS TO WORK NEW TI
Download and install it
The driver should be available in the manufacture of computers site
Use the snid on a label on the computer to search with while you're there
Or if the motherboard came with a disc to load and the reader will be on it.
-
I tried to delete some unused programs of my had drive and cleared PC wlidcl.dll How can I get this program for the PC works as before? The PC works now as slow as a snail climbs. What do you suggest me? Thank you
Norman.--
E-mail address is removed from the privacy *.
original title: wlidcl.dll
Hello
I suggest to follow the steps below and check if the problem persists:
Not one:
Uninstall Windows Live essentials followed the procedure described in the link:
http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program
Step b:
Download and install Windows Live essential from the link:
-
I'm trying to install Acrobat 8 Std on a laptop computer that was in need of a restoration. He asks the file AdobePDF.dll since my Vista CD - I do not have. How can I get this file or another which will allow my Acrobat 8 work on this laptop with Win 8.1, which she did before restoring?
John,
AdobePDF.dll is in the file Data1.cab. Mine is located in C:\Program Files (x 86) \Adobe\Acrobat8\Adobe Acrobat 8 Professional\ You need to extract the file "AdobePDF.dll_64" from the .cab file. You can do this with WinZip or 7-Zip. Everything you need to extract is this file, nothing else... Once you have extracted it, remove the _64, so the name of the file is AdobePDF.dll. Then place the file in any location you want and run the program it when asked. For a file location, I suggest to C:\Program Files (x 86) \Adobe\Acrobat8\
Hope that helps.
-
I'm trying to uninstall Verizon's VZ Access Manager. I get "invalid UNINSTALL Uninstall Wise. LOG file. How can I get this off for Verizon can help me to get the new drivers installed?
Hello retabox, welcome.
It would seem that the installer is corrupted. I recommend trying to use the Windows Installer Cleanup utility to force - to remove the application. Try this:1. go to: http://support.microsoft.com/kb/2903012. click on the download link in the middle of the page3. save the file to your desktop or just click Run the installation of the application4. once the application is installed, open the utility. The utility must be located in the menu START under (START > programs > Windows Installer...)5. in the utility, find the application you want to uninstall, and then click the button 'delete' below6. once removed, restart the computer and see if you can reinstall the applicationLet us know if it works,Thank you!Ryan Thieman
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
I have an Acer Aspire TimelineX 1830 t-68U118. The original hard drive died, so I replaced it with a new hard drive. I loaded Windows 7 x 64 and loaded the chipset drivers and the network drivers. The laptop is always my bluetooth equipment (even if I loaded the drivers Atheros). Does anyone else have this problem? How can I get the bluetooth to work?
It would probably depend on the status of the warranty of the system.
You must contact the service for options.
-
How can I get my screensaver that worked on windows xp to run on windows 7?
Original title: How can I get my screensaver that worked on windows xp to run on windows 7 error: the version of this file is not compatible with the Windows version you are using. etc. I know that you saw the message before.
computer brand new, no change. try to load my programs of hp simple save on my new computer.
The msg is to tell you what is not compatible
You can not copy/transfer a program from another PC
-
How can I get free games to work.
Original title: How can I get free games to work instead of g then he side please help kind screen
you not free games you get in windows? My father, as the spider solatire will u please get back instead went on the side of the screen please help me where I can get the screen back so he can play.
Hi Debra,
- Do you mean that when you're playing the game of the game window moves to the side of the screen?
- The question is limited to the spider solitaire?
- Have you tried to maximize the game window screen?
Reference:
Maximize windows on the desktop using snap
Please provide us with the screenshot of the window so that we can understand the exact situation and troubleshoot accordingly.
Try using this link to download pictures and files on SkyDrive.
Download pictures and files:
http://Windows.Microsoft.com/en-in/SkyDrive/add-photos-files-FAQ
-
I have reinstalled 7home premium windows on my computer laptop samsung R540 laptop came preinstalled w/a webcam. Once windows 7 has been installed, the web cam never came. I ran the update of windows the cam came, but only 2 of the 3 components have been installed. How can I get the web cam work?
By visiting the support Samsung to get the drivers win7 and app photo, specific to your model.
But assuming you used all the recovery of the samsung cd driver & the camera application should be installed in any recovery process.
http://www.Samsung.com/us/support/owners/product/NP-R540-JA02US
Do not use windows update for drivers, especially drivers for laptop
-
Purchased 8 a window PC, reinstalled Photoshop 5.5 on my PC, went to download updates and had a message saying download failed – repeatedly. How can I get this corrected download problem?
If you mean CS 5.5, the updater no longer works. You must make a list of what needs to be updated or that update failed and go here to download and install them manually.
Updates Photoshop, Bridge and so on for Windows.
Maybe you are looking for
-
Why Firefox is not recognized as a modern browser?
Whenever I connect to most of the sites (gmail, youtube, google news, etc.), I get a message telling me that my browser is not supported and I need to upgrade to a modern browser. I am running Windows 7 and the browser is Firefox 8. I have reintalled
-
How to disconnect safely IMac iPod?
Got a new iPod nano and do not know how to disconnect safely.
-
Smart web printing not, web printing not either...
I can't print using normal print in IE8 buttons have also downloaded smart web printing but sheet icon does not appear anywhere. Using IE8 and Win 7 64 bit. Hope somone can help pls.
-
I'm trying to turn Windows Defender on, on my computer.
I get an error 0x800106ba, and order "will start windows Defender manually." Any ideas on how I'm supposed to do? Thank you!
-
WRT320N lose Internet connection
I'm running a 6100G Westell DSL modem, that the modem is connected to a wireless router from Linksys WRT320N, on my laptop, I use a card WUSB600N dual-band wireless n OK know the problem I have is that when the wireless router is connected to the mod