LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 15-Jan-2009, 03:24 AM
Junior Member
 
Join Date: Jan 2009
Posts: 2
olegsb 0 reputation points
Default Inventory database query

Hi!
I would like to get a report from Inventory database using SQL query with the following fields Novell username, Hostname, MAC Address, IP Address.
I can get IP address and MAC address using this query (but I can't get full report)
Maybe anybody knows how to get this report.

SELECT
u.name,
ip.Address,
ipx.Address,
mac.MACAddress
FROM
CIM.UnitaryComputerSystem u,
CIM.HostedAccessPoint s1,
CIM.IPProtocolEndpoint ip,
CIM.HostedAccessPoint s2,
CIM.IPXProtocolEndpoint ipx,
CIM.HostedAccessPoint s3,
CIM.LANEndpoint mac
WHERE
(s1.Dependent=ip.id$ and s1.Antecedent=u.id$) AND
(s2.Dependent=ipx.id$ and s2.Antecedent=u.id$) AND
(s3.Dependent=mac.id$ and s3.Antecedent=u.id$);
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 02:38 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2