SMSUG.ca

...your virtual communITy
Welcome to SMSUG.ca Sign in | Join | Help
in Search

Garth Jones

Limiting to a Collection.

 

SELECT

Distinct

R

.Netbios_Name0,

ARP

.DisplayName0

FROM

dbo

.v_R_System R

INNER JOIN dbo.v_GS_ADD_REMOVE_PROGRAMS ARP ON R.ResourceID = ARP.ResourceID

Inner Join dbo.v_FullCollectionMembership FCM ON R.ResourceID = FCM.ResourceID and CollectionID = 'SMS00001'

WHERE

ARP

.DisplayName0 in ( 'Microsoft Office Professional Edition 2003',

'Microsoft Office Enterprise 2007',

'Microsoft Office Professional Plus 2007',

'Microsoft Office Project Professional 2003',

'Adobe Indesign CS3',

'Adobe Acrobat 8 Professional - English, Franais, Deutsch',

'Adobe Acrobat 7.0 Professional',

'Adobe Photoshop Elements',

'FAS 100 Asset Accounting',

'Keyboard Express',

'Macromedia Dreamweaver MX 2004',

'QuickBooks Pro 2007',

'Traffix for Windows 8.0')

Digg This
Published Dec 14 2009, 10:02 PM by Garth
Filed under: , , , ,

Comments

 

graemeswalker said:

This is a great query, but is there any way to change this to prompt for a collection and also prompt for a value rather than having to list the all the products you want (ie use Microsoft% or Adobe% etc... to just list products by that company)?

I'm new the the SQL side of things with this and really feel out of my depth at the minute with it.

Thanks

August 17, 2010 4:01 AM

This Blog

Syndication

News

Training

Powered by Community Server (Non-Commercial Edition), by Telligent Systems