Program should work for any DB..and give me the space detials..!

Hi All,
I have a requirement like, whatever the SAP Report program im going to write that should work for any underlying DB.
Like I have bunch of tables like LFA1, MARA etcu2026
I wll check like if sy-dbs = u2018ORACLEu2019
Here I need some code (Table) / FM (ORA) should be there to give me the used space and free space of that particular table like LFA1.
Else I wll check like if sy-dbs = u2018DB2u2019
Some code/FM like above to give me used space and free space.
Else I wll check like if sy-dbs = u2018Sybaseu2019
Some code/FM like above to give me used space and free space.
I wll check like if sy-dbs = u2018Informixu2019
Some code/FM like above to give me used space and free space.
I wll check like if sy-dbs = u2018MaxDBu2019
Some code/FM like above to give me used space and free space.
I need Some DB Table / FM for each DB, which should give me the space details.
Please let me know.

Careful here Pradeep, this is not valid syntax.
status = case endtime
when null then "error"
when not null then "successfull"
endYou want:
SQL> select case
  2            when endtime is null then 'error'
  3            when endtime is not null then 'successful'
  4         end
  5  from t;
CASEWHENEN
error
(and you don't really need both conditions since they are mutually exclusive)

Similar Messages

  • HT6030 Unread mail count still doesn't work for any mail accounts after installing the Nov. 7 Mail fix. I deleted Gmail from my Mac Mail so that's not the problem.

    I still cannot get an Unread Mail count in the Dock even after installing the the Nov. 7 Mavericks update. I deleted my Gmail account from my Mac, so I know that's not a problem. I checked the Mail preferences, and thay is configured correctly. Any suggestions?

    Point noted re multiples posts [ there were loads of  typos in previous]   . Your previous reply  may indeed be one way of  solving my problem. Thanks .
    Nevetheless  why does Apple prodcue "updated " software which isnt properly comptiable or tested;  with the result that it   now  doesnt work well with Gmail when the prevoius version worked fine. You would think an update  would at least work with Gmail as  well as the prevsoius version did.  G mail is  very widely used, so they, Apple,  and probably  Google too are  shooting themselves in the foot if they can't make the software compitable,

  • I have recently had problems in getting my Adobe Premiere Elements 10 to run. One of the gentlemen was able to take over control of my computer, and got it working for me, however since that time the program will sometimes open but most times it just free

    I have recently had problems in getting my Adobe Premiere Elements 10 to run. One of the gentlemen was able to take over control of my computer, and got it working for me, however since that time the program will sometimes open but most times it just freezes the computer and I have to shut it down and re open without any success with opening the elements program.
    Can you help

    Sosure
    What computer operating system is your Premiere Elements 10 running on?
    What video card/graphics card does your computer use? NVIDIA GeForce? If so, please read the Announcement about the Premiere Elements 10 NVIDIA GeForce issue which is found at the top of this web site. Does that apply to you? The explanation for the situation and the fix (roll back of the driver version) are all included in that Announcement.
    We need to rule in or out this factor at the onset before we get to other questions
    a. non NIVIDIA video card/graphics card driver
    b. project preset and properties of source media
    c. computer details
    More later.
    We will be watching for your reply.
    Thank you.
    ATR

  • I'm a video editor working primarily in FCP7 and just purchased the latest Mac Pro running Yosemite ? Does anyone know if any options have become available for running FCP7 on this platform ?

    I'm a video editor working primarily in FCP7 and just purchased the latest Mac Pro running Yosemite ? Does anyone know if any options have become available for running FCP7 on this platform ?

    It would "run" (more like Sunday stroll or walk) if you installed Snow Leopard in a VM. Especially if you have 6-core (and would help to have 6 or 8 cores anyway if you were able to and intend to make best use of nMP for video editing).
    If you "classic" Mac Pro was 2009 or later, adding two AMD graphic cards, upgrading the processor to 8-core 3.xGHz would have gotten you a FCP-X capable machine and still dual boot and use Snow Leopard as needed.
    Any Mac Pro can now use 1000MB/sec SSD PCIe blade to boot from and/or for scratch and editing to help improve work flow.
    SSD Blade Drive for "Classic" Mac Pro

  • I have just downloaded Firefox 4 and my autofill on the google toolbar is not working for any webpages it previously worked with. Is there a way to fix this? Thanks

    Question
    I have just downloaded Firefox 4 and my autofill on the google toolbar is not working for any webpages it previously worked with. Is there a way to fix this? Thanks

    Crap. That's what I was afraid of...Well, since I'm away from home and not near my pc, it sounds like I'm out of luck. The problem is that I need my phone to be at least functional for making and receiving calls. There's an apple store nearby. Perhaps I can go there and have them restore it and at least I'll be able to make and receive calls until I get home and restore from my backup. Does that sound feasible, or am I missing something?
    P.s. I tried to click "correct answer" and accidentally hit "helpful". Sorry about that...

  • Iphone 6 (Verizon,64GB,space gray)  microphone works for text dictation and Siri but stopped working for calls and voice memos.

    My iphone 6 the micorphone has stoppped working unless I speak loudly right into it and its still not clear during calls and voice memos. But it works just fine for Siri and text dictation. I use the earbuds for work so not sure how long its been going on. Only change is I updated to iOS 8.1.3. Not sure if I should exchange my phone or if its a software glitch since the same mic seems to work for some things and not others. Any ideas would be apreciated.
    iPhone 6
    Space Gray
    64GB
    Verizon

    Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose any data by resetting, but it can cure some glitches.
    If this does not help, setting it up as new device would be the next step:
    How to erase your iOS device and then set it up as a new device or restore it from backups

  • Since trying to update yesterday, my computer won't download any updates and itunes 11.1 says "Internal Error" and gives me the following info when I click on a song or podcast: Exception Name: NSInvalidArgumentException Description: -[_NSConcreteUserNoti

    Since trying to update yesterday, my computer won't download any updates and itunes 11.1 says "Internal Error" and gives me the following info when I click on a song or podcast:
    Exception Name: NSInvalidArgumentException
    Description: -[_NSConcreteUserNotification activationType]: unrecognized selector sent to instance 0x25a06b0
    User Info: (null)
    0   CoreFoundation                      0x922216fb __raiseError + 219
    1   libobjc.A.dylib                     0x920108db objc_exception_throw + 230
    2   CoreFoundation                      0x9222563d -[NSObject(NSObject) doesNotRecognizeSelector:] + 253
    3   CoreFoundation                      0x9216af77 ___forwarding___ + 487
    4   CoreFoundation                      0x9216ad22 _CF_forwarding_prep_0 + 50
    5   iTunes                              0x00df38e2 iTunes + 14624994
    6   iTunes                              0x00df36ae iTunes + 14624430
    7   libobjc.A.dylib                     0x9201c6c5 -[NSObject performSelector:withObject:withObject:] + 77
    8   Foundation                          0x93c12d85 -[_NSConcreteUserNotificationCenter _sendDelegateMessage:sendToAppDelegate:withNotificationFromMessage:] + 335
    9   Foundation                          0x93c12eaf -[_NSConcreteUserNotificationCenter _notificationPresentedMessage:] + 58
    10  Foundation                          0x93c137c2 __block_global_1 + 156
    11  libdispatch.dylib                   0x9371b2cf _dispatch_call_block_and_release + 15
    12  libdispatch.dylib                   0x9371ea80 _dispatch_client_callout + 46
    13  libdispatch.dylib                   0x9371c8e8 _dispatch_main_queue_callback_4CF + 223
    14  CoreFoundation                      0x9211b255 __CFRunLoopRun + 1829
    15  CoreFoundation                      0x9211a7c4 CFRunLoopRunSpecific + 308
    16  CoreFoundation                      0x9211a67b CFRunLoopRunInMode + 123
    17  HIToolbox                           0x90b6fc76 RunCurrentEventLoopInMode + 242
    18  HIToolbox                           0x90b76eb9 ReceiveNextEventCommon + 374
    19  HIToolbox                           0x90b76d34 BlockUntilNextEventMatchingListInMode + 88
    20  AppKit                              0x97621923 _DPSNextEvent + 709
    21  AppKit                              0x97621167 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
    22  AppKit                              0x9761d78c -[NSApplication run] + 855
    23  iTunes                              0x0017a898 iTunes + 1546392
    24  iTunes                              0x0017a709 iTunes + 1545993
    25  ???                                 0x00000002 0x0 + 2

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, or by corruption of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain models.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • I work for a university and we have a legal apple vendor.Can we re-install macosx for a replacement hard drive for a old macbook?Just one example.

    I work for a university and we have a legal apple vendor who we get to buy all our Apple products from.Can we (university) re-install macosx for a replacement hard drive once the hard drive gets replaced? How can we as the university IT department legally re-install macosx on a imac,macbook, macbookair etc. We would like to load customized macosx imaging software onto the mac machines(imac, macbook, etc ). The university has its own IT workshop and we would like our users to get their laptops back in the shortest turnaround time.

    We're not "Apple Inc." here, just users like you.
    So whatever we say is not an official statement, nor does it in any way, shape, or form represent the official or unofficial policies or opinions of Apple, Inc.
    But I'll offer my quick opinion, having worked in information-systems and technology support in a wide variety of environments over many years.
    Question #1. "NO!"
    No tech support nor repair facility, even if "Apple-authorized", is automatically empowered to install or upgrade OS X on a replacement hard drive just because it is more convenient or time-efficient. When the repair is complete, the student should be expected to (re)install the operating system themself*!
    Nurturing students (and occasionally dragging them, screaming and kicking!) as budding computer-, tablet-, smartphone-users to become digitally self-sufficient is a worthy goal that any institution of higher education must pursue.
    Making students totally dependent upon "Mother Support" for every little thing about their personal digital devices is a grave disservice to both the students and the people who provide the support. Support-mothered students do become life-long digital dependents, instead of taking the required time to learn enough about the care and feeding of their digital "pets" to sustain them. Entreprenurial students may choose to become 'experts' and actually help each other with their devices, and even make money doing it. Some students may even be inspired/coerced to pursue a career in tech support!!!
    *By all means, if the student requests additional help (re-installing the OS), then the University should charge the student a fair price for the service, provided that the user provides the OS on original or upgrade media, or in the case of the 'digital download' upgrades (for OS X 10.7 and 10.8) provides proof of purchase for the OS upgrade, or the original purchase receipt or other recognized documentation for the purchase of the computer showing the version of OS installed when purchased. Students need to learn about personal responsibility, economics ("What is MY time really worth"?), and proper record-keeping too!
    Question #2. Regarding the customized imaging software, provide it on media or a link for students to download and install it. Make it their responsibility!
    Message was edited by: kostby

  • I have a factory unlocked 4s I'm haveing trouble with the mms withI have a  straight talk I'm useing the sim card swap with tmoblil sim card I'm following the insructions but it works for a while and then its gone. I've set the settings at least ten times

    I have a factory unlocked 4s I'm having trouble with the mms with straight talk I've been useing the sim swap system with tmobile i have put the settings in five times. The setting won't stay it works for a while and then it's gone. I'm not in a good coverage area but when i put the settings in i make sure i'm getting a good signal or near wifi. any suggestions would be great.

        Congrats on your recent upgrade actionkatie! I am sorry to learn of the difficulties you are experiencing with your Samsung Galaxy S4. Let's get to the bottom of this because we want you to love your phone.
    I understand you have done all necessary troubleshooting steps that should have enabled you to send messages to iPhone users without them having to disable iMessage. Have you tried contacting Apple Support regarding the inability to send a text message to iPhone users? Apple can be reached at (800) 275-2273.
    In addition, do you get a certain error message when your WiFi stops working? Have you verifed that Auto Switch network is disabled? To disable this setting simply to go Settings > Wi-Fi > Tap the Menu Key(to the left of the home button) > Select Advanced and it is called `Auto network switch. If you are still experiencing difficulties, please feel free to reach out to us for further assistance.
    Thank You,
    MichelleL_VZW
    VZW Support
    Follow us on Twitter @VZWSUPPORT

  • My ipod won't let me connect to wi-fi, won't let me restore or reset it, and it keeps telling me i knew a passcode for any one and I never set a password up. How do I fix this?

    My ipod won't let me connect to wi-fi, won't let me restore or reset it, and it keeps telling me i knew a passcode for any one and I never set a password up. How do I fix this? Says try again in 6180146 min. my passcode setting is off, but restrictions are on. Very frustrated. please help

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • I can't get FaceTime or iMessage to connect, I enter valid password (tested and works for Apple account) and it won't connect. I have checked all settings, upgrades iOS to 8.3 rebooted, changed Apple acount PW still wont connect. My internet connecti

    I can't get FaceTime or iMessage to connect, I enter valid password (tested and works for Apple account) and it won't connect. I have checked all settings, upgrades iOS to 8.3 rebooted, changed Apple acount PW still wont connect. My internet connection is fine Safari works and I can access all sites. I have an iPad 2. Any help on this will be greatly appreciate.  iPad 2, iOS 8.3

    This is an ongoing problem as you will see by searching the forum. 
    Out of curiosity, do you have 2 step verification enabled?  It was recently extended to include iMessage & FaceTime & I'm wondering if it might be causing some of the issues that some users are experiencing.

  • ITunes 10.6.3 Mac running 10.7.3 not responding I have deleted iTunes and reinstall iTunes and it keeps happening I also scanned the computer for any trojans and any other possible viruses but the pc is running perfect waft do I do ? Please help me ?

    I need help iTunes 10.6.3 Mac running 10.7.3 not responding I have deleted iTunes and reinstall iTunes and it keeps happening I also scanned the computer for any trojans and any other possible viruses but the pc is running perfect waft do I do ? Please help me ?

    Hey thanks for replying.
    Here's what I did:
    First I tried the Winsock reset in the Command prompt. Nothing changed.
    Next, I tried the instructions on http://http://support.apple.com/kb/TS4123. The only other program that came up on the 'Winsock Providers' tab on the program was 2 Windows Live applications, which I can do without. So I deleted all Windows Live Applications.
    I did the Winsock reset in the Command Prompt again and rebooted my comp.
    Unfortunately, nothing has changed. iTunes keeps freezing at various stages of the sync, then shows the candy cane-striped bar with either the words 'Finishing sync' or 'Cancelling sync', before showing the Apple logo.
    Sometimes, iTunes gets to the syncing stage - "Copying # of ####" - where it will trudge through the first, second and third tracks before flashing "Copying 4 of ####" for a split second and I catch "Cancelling sync" briefly before the Apple logo appears.
    Again, I've repeated the steps I mentioned in my previous post. Does ANYONE know when the new version of iTunes is set to be released?! This one is driving me INSANE, to say the least!!

  • Auto To working for one material and not working for other material

    Hi,
    Hope everybody is doing fine.
    I have configured the auto TO. Its working fine for one material and not working for the other material. I checked the material master and wm 1,2 views have the same fileds / values. What could be wrong?
    I didn't setup the back ground processing job. Is that is affecting it?
    thanks for any help.
    regrads,
    KHAN

    Thnaks,
    You are right but then what could be wrong? Its working for one material and not working for otehr material? Any clue?
    Appreciate your time charlie

  • Multicast works for a day and then stops

    I'm running multicast in unicast mode on our WLC because I can't enable PIM on wired side yet for a couple reasons.  It works consistently on 3 out of 6 WLAN's.  And the weird thing is the other 3 WLAN's will work for a day, and when I come in the next day, multicast traffic has stopped flowing.  I have verified this through IGMP snooping, using a bonjour browser, testing airplay, and using packet capture on a wireless NIC.  2 of the WLAN's are configured almost identically, but one works consistently day after day, and the other only works for a day after resetting the wlan.  I have been coming in the morning and changing a single setting back and forth just to reset the WLAN so it will work for the rest of the day.  I'm just writing this to see if someone can think of why it would work fine for the shole day and then stop working by the next morning.  It's not an IGMP timeout setting, because it works for much longer than the timeout and behaves the same way even without IGMP snooping on.  It started doing this after upgrading to 7.0.240.0.  We have very little amount of multicast traffic on wireless, and low channel utilization.  It does the same exact thing whether 802.11a or 802.11g so I don't think it has to do with data rates.  When I have IGMP snooping on, and on the WLAN's where it's not working, the controller will see the multicast group join message from the client, but the client doesn't see the IGMP query from the controller.  It shouldn't be wired config related since it's unicast mode.  I've tried with and without broadcasting enabled.  Any ideas?

    Okay, so I discovered two things, but I still don't know what caused this problem.  When I was running 7.0.230.0 I had increased my EAP-Broadcast key interval to 86400 due to a bug.  This seems to be related to the fact that on the wlan's where multicast was not working, it stopped by the next day.  When I backed this interval down to 3600 the multicast stopped working after an hour instead of a day.  So that's why I believe it was somewhat related to the broadcast key, since that key is used for multicast. 
    What I realized is that multicast was working on all the wlan's on all AP's that had been rebooted since the controller upgrade (They had been rebooted due to a switch losing power).  This is weird because all the AP's were rebooted when they received their own 7.0.240.0 software upgrade, so I don't know why they would have needed to be rebooted again.  Anyway, I rebooted a few more AP's and multicast works properly on all wlan's on those.  I'm just replying to my own thread here in case someone has a similar problem after upgrading your controller - try rebooting all your access points again.  Or maybe reboot after changing EAP-Broadcast Key interval.

  • I have purchased the Acrobat pro subscription for 1 year and have followed the steps to install it. But when i go to start it, It crashes and it does this every time! I have restarted my mac pro and also restarted in safe mode but it just doesn't work! PL

    I have purchased the Acrobat pro subscription for 1 year and have followed the steps to install it. But when i go to start it, It crashes and it does this every time! I have restarted my mac pro and also restarted in safe mode but it just doesn't work! PLEASE HELP!!

    Hi jim1287,po
    Check for the latest updates. Installing latest updates should resolve this problem.
    Also, try to ran disk repair using safe mode in Mac, for instructions please visit: http://support.apple.com/kb/PH14204
    Try enabling root user profile on mac and try to check. OS X Mavericks: Enable and disable the root user
    Regards,
    Ajlan Huda.

Maybe you are looking for