You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DECLARE @TfsSsrsPath AS NVARCHAR(100) = '$\TFS_Project_Name\Reports\';
WITH
current_version
AS
(
SELECT
[FullPath] = REPLACE([v].[FullPath], '"', '-')
, [path_name] = CASE WHEN [v].[FullPath] LIKE CONCAT(@TfsSsrsPath, '%') THEN REPLACE(REPLACE(LEFT([v].[FullPath], LEN([v].[FullPath]) - CHARINDEX('\', REVERSE([v].[FullPath]), 2) + 1), @TfsSsrsPath, ''), '"', '-') END