[racktables-users] Re: Another Report Question
- From: "Aaron Dummer" <aaron@xxxxxxxxxxx>
- To: racktables-users@xxxxxxxxxxxxx
- Date: Tue, 03 Feb 2009 12:32:47 -0600
Hah. Thanks. I ran the query against the racktables database, but it only returned 3 items... I just need to select all objects and list their Port.name and Port.label.
Paul,This query returns object_id, object name, port name and port label (includes all objects and ports).
SELECT P.object_id,
R.name AS object_name,
P.name AS port_name,
P.label
FROM Port P
JOIN RackObject R ON P.object_id = R.id
--
Aaron Dummer
aaron@xxxxxxxxxxx
- References:
- [racktables-users] Another Report Question
- From: Paul Seymour
- [racktables-users] Re: Another Report Question
- From: Rob Buijs
- [racktables-users] Re: Another Report Question
- From: Paul Seymour
- [racktables-users] Re: Another Report Question
- From: Rob Buijs
- [racktables-users] Re: Another Report Question
- From: Paul Seymour
- [racktables-users] Another Report Question
Other related posts:
- » [racktables-users] Another Report Question - Paul Seymour
- » [racktables-users] Re: Another Report Question - Rob Buijs
- » [racktables-users] Re: Another Report Question - Paul Seymour
- » [racktables-users] Re: Another Report Question - Rob Buijs
- » [racktables-users] Re: Another Report Question - Paul Seymour
- » [racktables-users] Re: Another Report Question - Aaron Dummer
- » [racktables-users] Re: Another Report Question - Luis Fernando Lacayo
- » [racktables-users] Re: Another Report Question - Rob Buijs
- » [racktables-users] Re: Another Report Question - Paul Seymour