Finding duplicates file in PDMWE

I know that we have a considerable number of duplicate filesin our vault. This all happened when we bulk loaded our files. Someare exact copies (same size, date, stc.) but most of them have beentouched since the builk load and are now different.

Does anyone know how to do a search of the database to look forthese duplicate file names?

Thanks,SolidworksSolidworks Pdm enterprise Pdm
Comments 5
JG
JG 2008-09-08
Jennifer -

Are you familiar with T-SQL? If so, you can run this query.

Select D.DocumentID, D.FileName AS [File Name], P.Path AS [ProjectPath]
From Documents AS D
INNER JOIN DocumentsInProjects AS DIP ON D.DocumentID =DIP.DocumentID
FULL OUTER JOIN Projects P ON DIP.ProjectID = P.ProjectID
WHERE D.Filename IN (Select Filename FROM Documents Where Deleted =0
GROUP BY Filename
HAVING (COUNT (Filename) > 1))
ORDER BY D.Filename

Regards,
Joy
SF
SF 2008-09-11
I'm still puzzled why the default out of the box settingallows duplicate file names in the Enterprise Vault.
JS
JS 2008-09-11
I have grown to like it. A majority of file types I don'tmind having duplicate file names; the CAD files are the exception-not the rule. It is easier to select the exceptions than viceversa.
SF
SF 2008-09-11
We have it on intentionally. Our work here is project based,not product based, so we pretty much duplicate file names for eachjob and they are kept separate by the different job folders.

WT
SF
SF 2008-09-12
Hello Jeff and Wayne-

Thanks for your responses, you have good points.

When I explain this setting to QA Admins at Medical DeviceCompanies, they are shocked. For example in Agile, used by a lot ofMedical Device Companies here in Southern California, duplicatefile names are not allowed.

The concept of Duplicate File Names is counter-intuitive to them,it goes against their thinking.

Thanks.