169. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 11/9/2017 10:44:49 AM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

169.1 Files compared

# Location File Last Modified
1 REFDOC-v2.1.0.zip\NVCC\SQL udf_StationName.sql Thu Oct 19 17:37:26 2017 UTC
2 REFDOC-v2.1.0.zip\NVCC\SQL udf_StationName.sql Wed Nov 8 20:54:52 2017 UTC

169.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 108
Changed 1 2
Inserted 0 0
Removed 0 0

169.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

169.4 Active regular expressions

No regular expressions were active.

169.5 Comparison detail

  1   USE [NWIC_ PanelMgmt]
  2   GO
  3  
  4   SET ANSI_N ULLS ON
  5   GO
  6  
  7   SET QUOTED _IDENTIFIE R ON
  8   GO
  9  
  10   SET ANSI_P ADDING ON
  11   GO
  12  
  13   CREATE FUN CTION [app ].[udf_Sta tionName]  (@Sta3n VA RCHAR(MAX) )
  14   RETURNS VA RCHAR(50)
  15   AS
  16   --======== ========== ========== ========== ========== ========== ========== ========== ===
  17   --Requesto r                                : Non Va C oordinated  Care Proj ect
  18   --Author                  : Jerr y Kohler -  Northwest  Innovatio n Center ( NWIC)
  19   --Object/S P Name                  : udf_St ationName
  20   --SERVER                                    : DNS   DN S.URL         
  21   --Data Bas e                                : NWIC_Pan elMgmt
  22   --Schema                                    : app
  23   --Report                                    : N/A
  24   --Folder                                    : N/A
  25   --Report L oc             : N/A
  26   --Job                     : None
  27   --Job Loc                 : None
  28   --Note                    : 
  29   --Date Cre ated           : 02-1 8-2016
  30   --Last Cha nged           : 
  31   --Last Cha nged By                 : 
  32   --Reason F or Change               : 
  33   --
  34   --Purpose                 : Retu rns a "nic er" statio n name tha n what is  stored in
  35   --                          xDWW ork.dim.in stitution
  36   --======== ========== ========== ========== ========== ========== ========== ========== ===
  37   BEGIN
  38  
  39      RETURN
  40      (
  41         SELE CT
  42         CASE
  43            W HEN charin dex('(',su bstring(St a3nName,7, 50)) <=0 T HEN substr ing(Sta3nN ame,7,50)
  44            E LSE substr ing(Sta3nN ame, 7, (c harindex(' (', substr ing(Sta3nN ame,7,50)) -1))
  45         END
  46  
  47         FROM  CDWWork.D im.Sta3n
  48  
  49         WHER E Sta3n =  @Sta3n
  50           AN D Active =  'Y'
  51      )
  52  
  53   END
  54  
  55   GO