Dushan, we meet again.
so I wonder if anyone can assist me with the SQL script to query the database SEM5
There are various scripts scattered throughout the forums. I try and keep this thread up to date.
Try this query first. If that fails, try the next three comments listed below.
My comment from 17th Jan is the same as what Mohan posted above. That will give you the last contact time. 18th Jan comment will help you find the duplicate computers and know which one to delete. You can also try this one from the 9th of Feb.
so that I can delete it manually from the SQL Server DB
Definitely not supported by Symantec. You really should only delete computer objects using the console. Once you have found the computer objects, keep the one with the green dot.
Does Installing SEP v11.0.6 in a server (VM) and then clone the server creates duplicate entry in the DB
With out preperation, YES. At the very least, you have to delete the HWID.XML file and delete the Registry keys as laid out in the article #102815 by Symantec. For SEP v12 use article 54706. You might also be interested in this article by Mithun which has been converted into tech article 173650.