update for UNC PAth
This commit is contained in:
parent
f7f05aa454
commit
3a8d1e0adf
@ -7,8 +7,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,("\\mpe.ca\datadrive\" || Server),"/Shared/N-Data"),"\","/") AS EgnytePath,
|
||||||
sum(FileCount) as FileCount, Sum(FileSize) as FileSize, 'Parent' as Source from FolderData
|
sum(FileCount) as FileCount, Sum(FileSize) as FileSize, 'Parent' as Source, Status from FolderData
|
||||||
Where Parent in (
|
Where Parent in (
|
||||||
SELECT Parent FROM NonDupParent
|
SELECT Parent FROM NonDupParent
|
||||||
)
|
)
|
||||||
@ -18,8 +18,8 @@ GROUP by UNCPath
|
|||||||
union
|
union
|
||||||
SELECT SERVER,
|
SELECT SERVER,
|
||||||
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,("\\mpe.ca\datadrive\" || Server),"/Shared/N-Data"),"\","/") AS EgnytePath,
|
||||||
FileCount, FileSize, 'Project' as Source from FolderData
|
FileCount, FileSize, 'Project' as Source, Status from FolderData
|
||||||
Where FolderData.Project in (
|
Where FolderData.Project in (
|
||||||
SELECT Project FROM NonDupProject)
|
SELECT Project FROM NonDupProject)
|
||||||
-- AND FolderData.Parent in (
|
-- AND FolderData.Parent in (
|
||||||
|
Loading…
Reference in New Issue
Block a user