813. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/26/2017 10:44:48 PM Eastern Daylight 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.

813.1 Files compared

# Location File Last Modified
1 OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\Source\Sources\Database\CreationScripts\BMS\4.Stored Procedures dbo.usp_Manage_Concept.sql Wed Oct 18 19:07:00 2017 UTC
2 OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\Source\Sources\Database\CreationScripts\BMS\4.Stored Procedures dbo.usp_Manage_Concept.sql Thu Oct 26 19:45:37 2017 UTC

813.2 Comparison summary

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

813.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

813.4 Active regular expressions

No regular expressions were active.

813.5 Comparison detail

  1   /****** Ob ject:  Sto redProcedu re [dbo].[ usp_Manage _Concept]     Script  Date: 03/2 2/2012 11: 04:49 **** **/
  2   IF  EXISTS  (SELECT *  FROM sys. objects WH ERE object _id = OBJE CT_ID(N'[d bo].[usp_M anage_Conc ept]') AND  type in ( N'P', N'PC '))
  3   DROP PROCE DURE [dbo] .[usp_Mana ge_Concept ]
  4   GO
  5   SET ANSI_N ULLS ON
  6   GO
  7   SET QUOTED _IDENTIFIE R ON
  8   GO
  9   -- ======= ========== ========== ========== ========
  10   -- Author:                 PII
  11   -- Create  date: 05.0 9.2011
  12   -- Descrip tion: Inse rt concept  if it doe sn't alrea dy exist 
  13   -- or upda te it if t he params  have a new er version
  14   -- ======= ========== ========== ========== ========
  15   CREATE PRO CEDURE [db o].[usp_Ma nage_Conce pt]
  16           @I D                                        in t output,
  17           @C ODE                              nvarchar(1 00),
  18           @C ODE_SYSTEM              nvarchar (100),
  19           @C ODE_SYSTEM _NAME        nvarchar (100),
  20           @D ISPLAY_NAM E            nvarchar (250)
  21   AS
  22  
  23   SET NOCOUN T ON
  24  
  25   BEGIN
  26  
  27   IF @CODE I S NULL OR  @CODE_SYST EM IS NULL  OR @CODE_ SYSTEM_NAM E IS NULL  OR  @DISPL AY_NAME IS  NULL
  28   BEGIN
  29           SE T @ID = NU LL
  30           RE TURN
  31   END
  32  
  33   --concept  existence   check
  34   DECLARE @P RESENT_DIS PLAY_NAME  nvarchar(1 00)
  35  
  36   SELECT TOP  1 @ID = I D, @PRESEN T_DISPLAY_ NAME = DIS PLAY_NAME
  37   FROM CONCE PT
  38   WHERE CODE  = @CODE A ND CODE_SY STEM = @CO DE_SYSTEM
  39  
  40   -- if it d oesn't exi st, insert  it
  41   IF @ID IS  NULL
  42           EX EC dbo.usp _Insert_Co ncept 
  43                    @COD E = @CODE,
  44                    @COD E_SYSTEM =  @CODE_SYS TEM,
  45                    @COD E_SYSTEM_N AME = @COD E_SYSTEM_N AME,
  46                    @DIS PLAY_NAME  = @DISPLAY _NAME,
  47                    @ID  = @ID OUTP UT
  48   ELSE
  49   -- if it d oes exist  but the co ncept is o ut-date, i t is updat ed
  50   IF @PRESEN T_DISPLAY_ NAME <> @D ISPLAY_NAM E
  51           EX EC dbo.usp _Update_Co ncept
  52                    @ID  = @ID,
  53                    @COD E = @CODE,
  54                    @COD E_SYSTEM =  @CODE_SYS TEM,
  55                    @COD E_SYSTEM_N AME = @COD E_SYSTEM_N AME,
  56                    @DIS PLAY_NAME  = @DISPLAY _NAME
  57   END
  58   GO