/build/static/layout/Breadcrumb_cap_w.png

Name Change Report

Is there a way to build a report on workstations that have had their workstation name changed that will also display previous workstation names?

 

 


0 Comments   [ + ] Show comments

Answers (1)

Posted by: dugullett 11 years ago
Red Belt
0

Using 5.4.

SELECT DISTINCT A.NAME, TIME, VALUE1 AS 'OLD NAME', VALUE2 AS 'NEW NAME'

FROM ASSET_HISTORY A

where CHANGE_TYPE = 'MODIFICATION' AND FIELD_NAME = 'NAME'

Comments:
  • I'm not on 5.4 yet. I guess that is why I'm getting the following error: mysql error: [1054: Unknown column 'A.NAME' in 'field list'] - andyclement 11 years ago
    • Yes that field doesn't exist until 5.4. There might be a better way to do it in 5.3, but I'll have to look. I know the reports like that get a lot easier in 5.4. - dugullett 11 years ago
  • Thank you. - andyclement 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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