Why does my query only show clients when there is no criteria defined?

My query simply wants to display different properties of a computer.  There is no limiting criteria and yet it will only display those systems that are SCCM clients. The collection is an AD OU with both clients and non-clients. Here is my query.  Thank
you.
select SMS_R_System.ADSiteName, SMS_R_System.DistinguishedName, SMS_R_System.IPAddresses, SMS_R_System.LastLogonUserName, SMS_R_System.Name, SMS_G_System_DESKTOP_MONITOR.Description, SMS_G_System_SYSTEM_ENCLOSURE.SerialNumber, SMS_G_System_PHYSICAL_MEMORY.Capacity,
SMS_G_System_LOGICAL_DISK.Name, SMS_G_System_LOGICAL_DISK.Size, SMS_G_System_COMPUTER_SYSTEM.Manufacturer, SMS_G_System_COMPUTER_SYSTEM.Model, SMS_R_System.Client from  SMS_R_System inner join SMS_G_System_PHYSICAL_MEMORY on SMS_G_System_PHYSICAL_MEMORY.ResourceID
= SMS_R_System.ResourceId inner join SMS_G_System_LOGICAL_DISK on SMS_G_System_LOGICAL_DISK.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SYSTEM_ENCLOSURE
on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_DESKTOP_MONITOR on SMS_G_System_DESKTOP_MONITOR.ResourceId = SMS_R_System.ResourceId

They don't negate non-client results -- your query does because it is using inner joins. Inner joins drop rows in the "left" table if there is no matching row (based on the join condition) in the "right" table.
The SMS_G_System_DESKTOP_MONITOR probably does not have any rows for your non-client resources and so the entire row gets dropped. That's how inner joins work. If you don't want this to happen, then you need to use an outer join -- typically a left outer
join is what you want. This is all SQL specific and has nothing to do with ConfigMgr. It also has nothing to do with SSRS.
There are tons of great resources on both SQL and SSRS -- just use Bing.
Jason | http://blog.configmgrftw.com

Similar Messages

  • Why does my iTunes only show iTunes U and podcast options

    Why does my iTunes only show iTunes U and podcast options at the bottom. I just want to be able to watch movies on my iPad :(
    Plus when I go to the videos app and tap go to iTunes Store I get a blue message that says "cannot connect to iTunes Store".
    Help please, very frustrated as I'm not at all tech savvy

    Check what you can buy in your country:
    http://support.apple.com/kb/ts3599

  • Why does my ipod only show an apple and wont start up

    Why does my Ipod only show an apple and wont do anything else>  And holding down the two buttons has done nothing!

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • Why does my internet password show up when I reply to an email from my cell?

    Why does my internet password show up when I reply to an email from my cell?

    this question is extremely broad. can you describe what you mean? where does the password show up? in the signature line? as the subject? in the body? and what internet password? your home provider? your cell provider? what's the password for? your email account? or is your phone password protected? details.

  • Why does my Apple ID show up when sending messages instead of my phone number?

    When I send a message from my iPad mini and my iPhone, it shows up under my Apple ID to the receiver, why does it do that?

    My phone number and email address are both marked and its checked to start new conversations from my phone number.

  • Why does Local Folders not show up when I install Thunderbird on certain computers?

    I've installed Thunderbird on my computer and it looks normal with "Local Folders" showing up in the left pane. I didn't add an email account, I just installed Thunderbird and an add-on called ImportExport tool and left it with only Local Folders. But when I try to do the same thing and install it on someone else's computer to help them import an .mbox file, when I install Thunderbird on their computer, "Local Folders" is not there. The left pane is just completely blank. And it looks like I can't import an .mbox file without it being there. I tried installing it on another laptop too and the same thing happened with no Local Folders. Why is "Local Folders" not showing up for these other two computers?

    I circumvented the problem by copying the c:\users\username\appdata\local\thunderbird folder and the c:\users\username\appdata\roaming\thunderbird folder from my working PC to the nonworking computers, and Local Folders appeared in Thunderbird on those computers. It seems like these files aren't being generated properly on installation.
    I tried uninstalling Thunderbird from my working PC and reinstalling it again to see what would happen (after also deleting those two appdata folders so that fresh ones would be created), and this time Local Folders did not appear on my PC as well. I don't think I did anything different during installation either. So I'm not sure why the Local Folders are no longer being generated at installation.

  • Why does Startup Manager only show Recovery HD and not my other drives like Macintosh HD and my USB drive?

    I'm not really sure what happened to my Mac but when I start it, it only shows Recovery HD and nothing else.  I tried re-installing Mountain Lion through my Apple ID but it states that I have not purchased it and will not let me proceed.  I have bought a usb drive that has Mountain Lion, since I cannot purchase it in the apple store, on it to install it from there but I cannot boot into my USB because it only shows "Recovery HD" in Startup Manager.  I would really appreciate some input from you all, thank you for your time in advance. 

    Either your drive is failing or has been corrupted. Please try the following. You cannot do the following unless you have purchased Lion or later. From your post that's not clear. Without knowing your exact model I cannot tell you what to do.
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Lion, Mountain Lion, or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
        Note: You will need an active Internet connection. I suggest using Ethernet
                    if possible because it is three times faster than wireless.
    If your computer is a 2010 or earlier model, then you should be able to do the following:
    Reinstall OS X without erasing the drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.

  • Why does my TV only show the background image on my iMac when connected through the thunderbolt port?

    I connected my iMac to my LCD TV using an HDMI cable and then an adapter to connect to the iMac's thunderbolt port. However, I can only see the wallpaper of my iMac, but not any other application that is open. Could anyone help me resolve this issue?

    The TV is  seen as a second monitor, you need to drag content onto it. Just click this window and drag it to the left and it should appear on the TV. If you want the TV to mirror what you see on  your iMac then you have to tell got to System Preferences - Display - Arrangement tab and click Mirror Displays.

  • Why does my macbook only show 30% of the hd space?

    My macbook seems out of space, of 232,5 GB only 2,37GB are available, but from leggible data I only have 84,5 GB on my hd,
    what is the rest of the memory full with?
    interesting is also that my macbook is called name-macbook-7 - this is my first and only macbook!
    and in the section 'About This Mac' / More Info...   it says name's MacBook (4), where does this come from?

    Hello Dustin,
    In Finder's Menu, select Go menu>Go to Folder, and go to "/volumes". (no quotes)
    Volumes is where an alias to your hard drive ("/" at boot) is placed at startup, and where all the "mount points" for auxiliary drives are created for you to access them. This folder is normally hidden from view.
    Drives with an extra 1 on the end have a side-effect of mounting a drive with the same name as the system already think exists. Try trashing the duplicates with a 1 or 2 if there are no real files in them, and reboot.
    If it does contain data...
    http://support.apple.com/kb/TS2474
    Open Console in Utilities & see if there are any clues or repeating messages going by?
    How much free space is on the HD, where has all the space gone?
    OmniDiskSweeper is likely the easiest/best, and is now free...
    http://www.omnigroup.com/applications/omnidisksweeper/download/

  • Why does my iPhone5s not show up when I connect it with iTunes on Window 8?

    I am trying to sync my iPhone5s with my iTunes on my windows 8 laptop and it does not recognize it.
    It does recognise it on a windows 7 laptop?
    where can I find the right insturctions on how to sync it?

    both my ipod touch 4th gen and my iPad Air is not detected., i have tried checking the USB cables,. and the Apple Mobile Device (Stop/Start Service from Computer MAnagement) in Windows 8.1 iTunes 11.1.5 is not detecting the devices,., i have check already for all updates,. nothing happens.,., but WIndows does detect the devices only itunes does not

  • Why does the letter P show up when i try to record audio into Logic Pro and no audio is audible ?!

    Can anyone pleaes help as I have occured this problem today and sent hours trying to fix it and not had any luck !?!?
    I always record in audio by press "R" on the channel strip but today for some odd reason the letter "P" shows up and no audio is audiable ?
    Can anyone tell me what's going on ............!?!?
    "When I try to record in some audio and press "R" it chnages to the letter "P" and no audio is coming through ?!?"

    This is because you have Punch on the fly enabled under Options (top menu)>Audio>Punch on the Fly.... signified by the letter P instead of the letter R

  • Why does application manager only shows me CS6 version of the apps? How do install the CC versions?

    Everything in the Adobe site leads me to believe that the CC versions of the aplications are the current versions, however, when I open application manager, I only see the CS6 versions. Do I have to uninstall something and then reinstal? What do I do to install the CC versions?

    The Creative Cloud versions will not be available until June 17th.  Please see the following related discussions.
    http://forums.adobe.com/message/5361832#5361832
    http://forums.adobe.com/message/5374914#5374914
    http://forums.adobe.com/message/5381796#5381796
    You can also find more details in our Creative Cloud FAQ at http://www.adobe.com/products/creativecloud/faq.html.

  • Why does my iPhoto Library say 32gb when there's only one photo in it?

    I am trying to figure out why my MacBook Air is running out of space, and am finding out that Photostream isn't photos in the cloud, it's photos in the cloud that it stores on my different computers hard drives or storage. So, I turned off Photostream, and deleted the pics as Disk Inventory X is telling me that my iPhoto Library is taking up 32.7gb of storage, despite there only being one picture in there that is no special picture. I deleted all the rest. There is ONE picture in the whole iPhoto Library, I deleted all the rest! What is taking up 32gb of my HD???

    Have you rebooted since the deletions.  That will empty a number of caches and may restore the freed up space. Also open the iPhoto Library package with the Finder as shown in this screenshot
    locate the iPod Photo Cache folder and delete its contents.  Make no other changes to the contents of the iPHoto LIbrary Package.
    OT

  • Why does my macbook only turn on when the power adapter is plugged in?

    The battery life says its at 73% and climbing but whenever I unplug my power adapter the mac automatically shuts down and if I try to turn on the macbook without my power adapter plugged in, it wont turn on. How do I make it go back to where I can turn the mac on without it being plugged in? Thank you for your help!

    I would try two things the first being resetting the System Management Controller:
    1) If the computer is on, turn it off.
    2) Disconnect the AC Adapter and remove the computer's battery.
    3) Press and hold down the power button for 5 seconds and then release the button.
    4) Reconnect the battery and AC Adapter.
    5) Press the Power button to restart the computer.
    If that doesn't work I would recalibrate the battery.
    To calibrate the battery:
    1) Plug in the MagSafe power adapter and fully charge the MacBook or MacBook Pro battery until the light on the MagSafe connector changes to green and the Battery icon in the menu bar indicates that the battery is fully charged.
    2) Allow the battery to rest in the fully charged state for two hours or longer. You may use your computer during this time as long as the power adapter is plugged in.
    3) Disconnect the power adapter with the computer on and start using it with battery power. When the battery's charge gets low, you’ll see the low battery warning dialog on the screen.
    4) Continue to keep your computer turned on until it goes to sleep. Save your work and close all applications when the battery's charge gets low and before the computer goes to sleep.
    5) Turn off the computer or allow it to sleep for five hours or longer.
    6) Reconnect the power adapter and leave it connected until the battery is fully charged. You may use your computer during this time.

  • HT1539 why does the download only show in shared content on my ipad? and can i access the shared content without wifi ( example driving in car?)

    I am using the icloud from a pc, and sharing with my ipad ( 1st generation) new to this. I have downloaded some digital copies into my itunes account. On my Ipad one shows under movies and 2 show under shared. Y is this and can shared content be accessed without being contected to my home wifi?

    I did a little bit more research, and if I go into iTunes and choose to display TV Shows and Movies as a List, I get a nice, sortable list of movies and shows to which I can add columns. A column that you can add is called "iCloud Status."
    This column shows either Purchased or Ineligible for all of the titles. And this is where things get really confusing.
    Sure enough, the items that are "missing" from the iPads, iPhone, Apple TV, etc. are the Ineligible items, but that's not the confusing part. What IS confusing is which items are Ineligible.
    A good example is my Deadliest Catch collection -- I own the entire season 3 and 4 of DC; season 3 is Purchased and Season 4 is Ineligible. Back to the Big Bang Theory, I have five episodes from Season 4 -- 3 are Ineligible and 2 are Purchased.
    It makes absolutely no sense that episodes from the same season of the same show would be a mix of Purchased and Ineligible!

Maybe you are looking for

  • My new Iphone 5 won´t install applications from the cloud. It shows them in itunes but it refuses to sync with new device

    I upgraded from Iphone 4 to a new Iphone 5. I transfered all my info succesfully, but my aplications wont work properly: Viber speaker seems disconnected, I am not able to install new apps. I´ve restaured and tried to start from scratch, but this tim

  • Reports on web in PDF format (Please Help)

    Hi I am testing my dev2000 applications on web. I am using Patch5. I have problem while running reports. When ever I am trying to run a report from forms using "RUN_PRODUCT", report is running on server m/c not on client m/c. I need this report to be

  • Release date for next version of Forms?

    Has anyone heard of a release date for the next version of Forms (10.1.2.0.2 or whatever it will be)? I may be starting a major Forms project shortly and I'd like to use the most current version of Forms with the current Application Server.

  • FM SXPG_COMMAND_EXECUTE and parameters

    Dear all ! I tried to execute the FM SXPG_COMMAND_EXECUTE (SM49, SM69) in order to execute SAPCAR on a couple of file on the server with the parameter <i>-cvf /usr/sap/SBD/interfaces//SP2/CH/BACKUP/comp.car .</i>. Unfortunately the FM changes the par

  • IPhoto 11 blank pictures

    iPhoto 11 has many events where the photos are blank, but as you scroll you can see it. double clicking gives you a hazard warning and exclamation point. Any idea why this is?