Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 214415

Re: Querying the vCenter Database....

$
0
0

yes......sort of. It gave the the values but the tables don't really have a relationship.

I want to get this all on one query and without using a #temp table.

 

Here's what I have so far but it's not accurate because not all the VM's are returned....

 

SELECT *

FROM         VPXV_VMS v

JOIN dbo.VPXV_VM_FIELDS f

ON v.VMID = f.VMID

WHERE [DESCRIPTION] NOT LIKE '%Template%'

AND FIELDID = 142

ORDER BY NAME ASC

 

 

If anyone has a working query please post.


Viewing all articles
Browse latest Browse all 214415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>