SQL Queries in CUCM - Can I choose multiple devices

Hi,
I am trying to get an output from multiple phone mac-addresses using SQL in CUCM. Can it be done:
run sql select d.name,d.description,dmap.numplanindex, n.dnorpattern from device as d inner join devicenumplanmap as dmap on dmap.fkdevice=d.pkid inner join numplan as n on dmap.fknumplan = n.pkid where d.name= 'SEP0008308B4BEE' and d.name= 'SEP000D9D546430'
name description numplanindex dnorpattern
==== =========== ============ ===========
Thanks,
John

Hi John
You need an OR not an AND
where d.name= 'SEP0008308B4BEE' OR d.name= 'SEP000D9D546430'
You can us IN with a , separated list
where d.name IN('SEP0008308B4BEE','SEP000D9D546430')
You can also use LIKE where the % is the wild card
where d.name Like 'SEP000F%'
The IN is probably your most useful
Graham

Similar Messages

  • Can I have multiple devices on one iCloud account

    can I have multiple devices on one iCloud account? Like a iPad and Mac Book Pro
    If so how can I do this?

    Sure. That is what iCloud is meant for, so you can keep your devices synced.
    When you set up iCloud on the devices, use the same Apple ID on all devices, then the iCloud account will be the same.
    see this page:   http://help.apple.com/icloud/#/mmfc0f1e2a

  • How can I choose multiple pictures, on the iPad, to attach in an email using Mail?

    I can easily choose and attach one picture from Photos to an email in Mail. I cannot seem to figure out how to choose multiple pictures, then attach all of them at once. I even tried using a separate folder to attach but that did not work either. Thanks in advance.

    From the Photos app tap Edit.
    Tap to select up to 5 photos. More and the Mail option is not possible.
    Tap Share.
    Tap Mail.

  • HT204053 can you have multiple devices on one apple id?

    i ahve added a new iphone to may wireless account but both phones are now using the same apple id.

    Not sure what your question is? You can have multiple devices signed on to the same Apple ID. Do you have any other questions concerning that?
    Cheers,
    GB

  • I CAN´T CHOOSE AUDIO DEVICE?

    Hello,
    I have two questions, i can choose in Flash media Live Encorder 3,2 by Video Device "AVerMedia USB Polaris Analog Polaris Capture" but when i choose by Audio Device my "AVerMedia USB Polaris Analog Polaris Capture" too, then the FME  crahes. I couln´t choose my Audio Capture. What can i do? Is that a bug.
    I would stream Video from my Receiver, because of that i choose Avermedia by video device, how can i choose the audio from my receiver? it´s not right when i choose by Audio Device the Avermedia too?

    http://www.rogueamoeba.com/audiohijackpro/

  • Can I use multiple device for reading ebook ?

    My company have own shop that will be integrated with ACS4 and one important feature of my shop is
    that "customer pay for single ebook then they can read that ebook on multiple devices that is registered with my shop".
    And my shop can manage, add, edit and remove customer device itself. Is it possible to do that ?
    I notice that when I download ebook from sample store I can copy acsm file to my friend and he can open acsm file then download an ebook
    via adobe digital edition. How can I specific only user who buy ebook can download ?

    Yes and no.  Yes, if you sell a book through ACS4 (without adding a device restring), the user can read the on any computer or device that they have activated with their Adobe DRM account.  No you can not manage these devices on your site or specify a subset other than have a single device restriction.

  • Can't choose audio device inputs...

    I can't seem to select the desired inputs on for my audio device in STP.
    One day it worked, but most others I can't configure it.
    I can choose the device in the inputs tab, but it only lists the device name (AudioFire4) and not listing the different inputs available..
    Is there some trick to getting this to work in STP? Everything works great in all other apps i use.. Peak, Live, Logic..
    How should I be configuring Soundtrack Pro?
    OS and Apps are all up to date, and I'm using an Echo AudioFire4 firewire interface..
    Macbook    

    I am also perplexed and frustrated with this issue. I
    have tried every combination and order of set-up but
    can't get my M-Audio Black Box audio interface to
    show up in STP. I can record just fine in GarageBand
    but the interface doesn't even appear in STP. All
    software is the latest including drivers, firmware,
    etc. on the interface. I am wondering if the M-Audio
    is just plain glitchy? Or is STP fussy?
    Grrrr.
    G5 Dual 2.0
      Mac OS X (10.4.8)  
    UPDATE: After a lot of uninstalling and re-installing and plugging and unplugging (several times), I think I have stumbled upon the issue. Previously, I had the the interface plugged in through a Belkin powered USB hub. I tried plugging the interface directly into the front USB jack of the G5 and - voila - it works. I can see it and record through it in STP. Mystery solved, I guess. Could this be the problem some others have had in seeing their interfaces in STP? Good luck.
    Terry
    G5 Dual 2.0   Mac OS X (10.4.8)  

  • Can I add multiple devices to "Find My iPhone" that have different Apple ID's?

    I was just wondering if it was possible at all to add multiple devices to "Find My iPhone".  These devices however, have separate Apple ID's.  Is this still possible? And if so, how do I go about diong that?

    The same way you do it for one. Just repeat the steps but first log into each account to add the device connected to that Apple ID.

  • Can't choose multiple items from drop down menu...

    Been trying to hold down Control button while clicking, thought that worked before. Did I disable something unintentionally?

    The Control key works like that on MS Windows. On the Mac, it brings up the contextual menu when clicking, i.e. it simulates a right-click. That works with both single button and multiple button mice.
    You want to use Command (the apple key) for selecting more than one item, such as items 2, 7, and 5 from a list. You can also use Shift when you want everything in between so you don't have to click on each one, like items 3-8 in a list.
    This works when selecting items in the Finder or selecting items from a list that allows you to select more than one item, such as Mail or perhaps choices on a web page.
    Not all lists will allow you select more than one item since sometimes you are suppose to select only one.

  • HT5517 How can I choose multiple speakers to play simultaneously from AppleTV in the same way I can from iTunes on my PC?

    Is there a way to select multiple speakers with Apple TV?

    i don't think so if I remember properly... I've wanted to do that and I remember I couldn't... would be a good feature!

  • How can I manage multiple devices in iCloud?

    I have 30 devices that I need to manage.  I want all devices to be managed under a single iTunes account.  Attempting to have a separate itunes account for every device would be a huge headach, and serious time-waster.
    I do not care one whit about iTunes on a computer, so please don't point me to the article on using multiple iDevices on a single computer.  These devices are not synchronized to computers, unless individual users decide to sync their phone to load up music, photos or whatever.  Further, when the phones come into IT I do not care at all for the data stored on the phones.  These are business phones. So if a user chooses to put anything on the phone, that user is responsible for backing it up / reloading if we have to wipe it.
    So, with those criteria -- HOW do I manage all of these devices on a single iCloud account?  Most specifically, I am trying to get "Find My iPhone" to work, but it says that all devices are off-line.  I have my assigned phone in my hand, turned on, and using the internet.
    In truth, I actually don't care about anything except the Find My iPhone functionality -- we do not sync our phones with iCloud.

    The following link has instructions: Manage your iCloud storage - Apple Support

  • Can I manage multiple devices from a single iTunes account?

    Currently have (2) iPhones, and iPOD and planning on acquiring a iPAD Can use a single iTunes account to manage all of these devices?

    Here are some tips: How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495

  • How can I connect multiple devices to Mac mini display port? I need to connect a Canon 5D to my Mac and display the result on a VGA video projector. I am using mini hdmi to mini display for the camera. Can I connect the VGA to any other port?

    Hi there I am connecting a Canon 5D to my laptop trying to use it as a webcam trough camtwist.
    At the same time I need to output the streaming to a videoprojector.
    The cam is connected to the mini display port do there is no port available for the VGA cable anymore.
    Do I need to use a different port for the projector? Should I buy a video card?
    Can't connect the camera via USB as that is too slow and it will freeze.
    Many thanks for all your help
    Best
    Faeve

    You might do better on a forum other than this one, which is "Using iPhone"

  • Can I use multiple devices on a single BIS account?

    I need to buy and use several different Blackberries to test some new software. Can I activate a single BIS account and just swap SIM cards or is the BIS license tied to a specific IMEI?

    you can only have 1 PIN/IMEI oer BIS account, so answer is NO.
    Click on KUDOS to appreciate our efforts and mark the thread RESOLVED if your issue is resolved.

  • How can I sync Multiple devices with I tunes

    Hi, I only have one Itunes account but I have an I phone, my wife has an old i phone and my daughter a new ipod touch.
    Is there anyway that I we can have our own music all on my i tunes library but when I sync any of teh 3 devices it would just upload their music. Hope that is clear but example...
    In i tunes I have Joy Division for me and JLS for my daughter but when i sync my daughters ipod it uploads all of the library?
    Any help much appreciated

    Welcome to Apple Discussions.
    I assume you already have all the music in iTunes and yiou all log into the same account?
    You could set up three playlists, one for each person and put each persons music into the relevant playlist. Then when each device is connected to iTunes tell it to only sync the relevant playlist, rather than syncing all music.

Maybe you are looking for

  • Simple transformation tt: utf-16 to utf-8 encoding

    Hi, (reposting here as no response in the ABAP General forum) I have a simple transformation the results of which are written to a file using open dataset. The XML in the file is appearing with encoding utf-16 but I need utf-8. I tried placing the fo

  • Help me out with infotypes

    Hi Could anyone help me with infotypes 65,69,71,19. Thanks and regards Asha

  • BPC 7.5 NW SP 06 Currency Translation - Planning Applications

    Hello Gurus, We have created a planning application for internal management reporting and want to enable the currency conversion business rules.  However, for planning applications, we do not need a FLOW type dimension.  But one of the parameters in

  • Getting error in OSB service

    Hi All, I am facing a peculiar error in OSB. I have an application running in OSB. When I redeployed the application it took more than 10 mins to activate the changes which is not at all expected. Also when I deleted the the application and again dep

  • Conversion to Word gives me error message

    I have a PDF doc that I would like to convert to a Word.doc, but every time I try to convert it gives me an error message. What could be the problem?