File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 3434(
3535 SELECT DISTINCT
3636 s.[Report_OID]
37- , [OldOwner] = ou .UserName
38- , [OldOwnerID] = ou .UserID
39- , [NewOwner] = nu .UserName
40- , [NewOwnerID] = nu .UserID
37+ , [OldOwner] = ou.[ UserName]
38+ , [OldOwnerID] = ou.[ UserID]
39+ , [NewOwner] = nu.[ UserName]
40+ , [NewOwnerID] = nu.[ UserID]
4141 FROM
42- dbo . Subscriptions AS s
43- INNER JOIN dbo . Users AS ou ON ou.[UserID] = s.[OwnerID]
42+ [ dbo].[ Subscriptions] AS s
43+ INNER JOIN [ dbo].[ Users] AS ou ON ou.[UserID] = s.[OwnerID]
4444 , new_owner AS nu
4545 WHERE
4646 1 = 1
4747 AND ou.[UserName] = N ' $(OldUser)'
4848)
4949-- SELECT * FROM subscription_source
50- MERGE dbo . Subscriptions AS T
50+ MERGE [ dbo].[ Subscriptions] AS T
5151USING subscription_source AS S ON T.[Report_OID] = S.[Report_OID]
5252WHEN MATCHED
5353THEN UPDATE SET
You can’t perform that action at this time.
0 commit comments