I am not proud...
This commit is contained in:
parent
65dac21d09
commit
e830742918
@ -1 +1,12 @@
|
|||||||
DROP TABLE IF EXISTS DataInventory;
|
DROP TABLE IF EXISTS DataInventory;
|
||||||
|
Select * from (
|
||||||
|
SELECT SERVER,
|
||||||
|
REPLACE(
|
||||||
|
Parent,
|
||||||
|
"X:\","\\mpe.ca\datadrive\") AS UNCPath,
|
||||||
|
REPLACE(REPLACE(REPLACE(Parent,("\\mpe.ca\datadrive\" || Server),REPLACE("/Shared/N-Data/" || Server || "_/","_/","_")),"\","/"),"_/","_") AS EgnytePath,
|
||||||
|
sum(FileCount) as FileCount, Sum(FileSize) as FileSize, Status from FolderData
|
||||||
|
WHERE FolderData.fld_MigrationID IS NULL
|
||||||
|
GROUP by UNCPath
|
||||||
|
ORDER by UNCPath
|
||||||
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user