From 0b982dba101ea0c9996ce9b3cd670c8b2d4c40d1 Mon Sep 17 00:00:00 2001 From: eeckert Date: Fri, 15 Sep 2023 14:18:19 -0600 Subject: [PATCH] more spaces... --- Generate Egnyte Export.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Generate Egnyte Export.sql b/Generate Egnyte Export.sql index b7f198c..5bd1ec8 100644 --- a/Generate Egnyte Export.sql +++ b/Generate Egnyte Export.sql @@ -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)