• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Select Using Join

Andrew21210

ADSM.ORG Member
#1
Hello all. I have been asked to produce a report of all nodes with the following information being critical: Node name, class name and contact field. TDPs are to be excluded from this query. Now, I suck at doing joins so I need some help. This select would span the nodes table and the backups table. If anyone can help out, drinks are on me ;) the file space name may be required as well but for now, the info above will suffice.
 

Ches

ADSM.ORG Member
#2
Not sure how you name your TDP nodes - something like this would work on some of my environments because we just suffix -TDP to the end of the node name:

Code:
select distinct(nodes.node_name),backups.class_name,nodes.contact from nodes,backups where nodes.node_name=backups.node_name and nodes.node_name not like '%TDP'
1526047178930.png
if you need to exclude tdp from the node info itself, then perhaps this would be more effective, but I'm only on a small test server at the moment:
Code:
select distinct(nodes.node_name),backups.class_name,nodes.contact from nodes,backups where nodes.node_name=backups.node_name and nodes.platform_name not like '%TDP%'
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 17 19.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 53 60.9%
  • Let's be formal and just say Spectrum Protect

    Votes: 10 11.5%
  • Other (please comement)

    Votes: 7 8.0%

Forum statistics

Threads
31,469
Messages
134,125
Members
21,569
Latest member
srinathkodela
Top