more spaces...

This commit is contained in:
Erik Eckert 2023-09-15 14:18:19 -06:00
parent 5e9b6e761f
commit 0b982dba10

View File

@ -8,8 +8,8 @@ from (
REPLACE(
Parent,
"X:\","\\mpe.ca\datadrive\") AS UNCPath,
REPLACE(REPLACE(Parent,("X:\" || Server),"/Shared/N-Data")," \ "," / ") AS EgnytePath,
sum(FileCount), Sum(FileSize), 'Parent' as Source from FolderData
REPLACE(REPLACE(Parent,("X:\" || Server),"/Shared/N-Data"),"\","/") AS EgnytePath,
sum(FileCount) as FileCount, Sum(FileSize) as FileSize, 'Parent' as Source from FolderData
Where Parent != (
SELECT Parent FROM DuplicateList
)
@ -18,7 +18,7 @@ GROUP by UNCPath
UNION
SELECT SERVER, Parent,
REPLACE(PATH,"X:\","\\mpe.ca\datadrive\") AS UNCPath,
REPLACE(REPLACE(PATH,("X:\" || Server),"/Shared/N-Data")," \ "," / ") AS EgnytePath,
REPLACE(REPLACE(PATH,("X:\" || Server),"/Shared/N-Data"),"\","/") AS EgnytePath,
FileCount, FileSize, 'Project' as Source from FolderData
Where FolderData.Project NOT in (
SELECT A.Project FROM DuplicateList as A)