Required Query to Generate Report

Required Query to Generate Report

Dear All,
Our Requirement is to generate a report which will show the history of "Computer Name Change", Below is a sample format for ready reference.

Asset Unique ID      Computer Name            Login User Name            From Date             To Date
ABCD                        Name1                        User1                           01-JAN-2015      20-JAN-2015   
ABCD                        Name1                        User2                           01-JAN-2015      20-JAN-2015   
ABCD                        Name2                        User3                           21-JAN-2015      31-JAN-2015   
ABCD                        Name2                        User1                           21-JAN-2015      31-JAN-2015   
ABCD                        Name2                        User2                           21-JAN-2015      31-JAN-2015   
ABCD                        Name3                        User4                           01-FEB-2015      28-FEB-2015   
ABCD                        Name3                        User5                           01-FEB-2015      28-FEB-2015   
ABCD                        Name3                        User1                           01-FEB-2015      28-FEB-2015 

I hope specify clearly, We have Microsoft Sql Server Database.

Best Regards
                New to ADManager Plus?

                  New to ADSelfService Plus?