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