/build/static/layout/Breadcrumb_cap_w.png

View Smart Lables and What Machines They Are Applied To

We're going to have to rebuild a bunch of Smart Labels and reapply them to the machines they are currently associated with.

Is there a SQL query/table that contains this info?  E.g., list all smart labels and how many machines are are associated with it, and then maybe query a specific smart label for a list of all machines associated with it?

Thanks


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: feeldamped 5 years ago
Third Degree Blue Belt
2

Top Answer

Try exploring this:


SELECT MACHINE.NAME, LABEL.NAME
FROM MACHINE
LEFT OUTER JOIN MACHINE_LABEL_JT ON MACHINE.ID = MACHINE_LABEL_JT.MACHINE_ID
LEFT OUTER JOIN LABEL ON MACHINE_LABEL_JT.LABEL_ID = LABEL.ID


You can add a filter for specific labels in here, or just dump everything into Excel and filter there. Let me know if you need any help/questions.


Thanks,

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ