Produced by Araxis Merge on 10/26/2017 10:44:47 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.
| # | 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_Insert_Config.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_Insert_Config.sql | Thu Oct 26 19:45:37 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 142 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | /****** Ob ject: Sto redProcedu re [dbo].[ usp_Insert _Config] Script D ate: 03/22 /2012 11:0 4:49 ***** */ | |
| 2 | IF EXISTS (SELECT * FROM sys. objects WH ERE object _id = OBJE CT_ID(N'[d bo].[usp_I nsert_Conf ig]') AND type in (N 'P', N'PC' )) | |
| 3 | DROP PROCE DURE [dbo] .[usp_Inse rt_Config] | |
| 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: 15.0 9.2011 | |
| 12 | -- Descrip tion: Inse rt config. | |
| 13 | -- ======= ========== ========== ========== ======== | |
| 14 | CREATE PRO CEDURE [db o].[usp_In sert_Confi g] | |
| 15 | @I D INT OUTPUT, | |
| 16 | @D OMAIN_ID N VARCHAR(50 ), | |
| 17 | @U SER_NAME N VARCHAR(MA X), | |
| 18 | @S ECTION NVA RCHAR(MAX) , | |
| 19 | @C ONFIG_KEY NVARCH AR(MAX), | |
| 20 | @C ONFIG_VALU E NVARCHAR (MAX), | |
| 21 | @C ONFIG_TYPE NVARCHAR( 10), | |
| 22 | @V ALUE_TYPE VARCHAR(MA X), | |
| 23 | @F RIENDLY_NA ME NVARCHA R(MAX) | |
| 24 | AS | |
| 25 | BEGIN | |
| 26 | ||
| 27 | SE T NOCOUNT ON | |
| 28 | ||
| 29 | DE CLARE @CON FIG_NO INT | |
| 30 | SE LECT @CONF IG_NO = CO UNT(*) | |
| 31 | FROM CONFIG | |
| 32 | WHERE ISNULL([US ER_NAME], '') = ISNU LL(@USER_N AME, '') | |
| 33 | AND [CON FIG_TYPE] = @CONFIG_ TYPE | |
| 34 | AND [CON FIG_KEY] = @CONFIG_K EY | |
| 35 | AND [SEC TION] = @S ECTION | |
| 36 | AND [DOM AIN_ID] = @DOMAIN_ID | |
| 37 | ||
| 38 | IF (@CONFIG_ NO >= 1) | |
| 39 | BEGI N | |
| 40 | RAISER ROR ('Conf iguration already ex ists on cu rrent doma in: User N ame : %s, Configurat ion type : %s , Sect ion: %s , Configurat ion key : %s ', 10, 1, | |
| 41 | @USE R_NAME, @C ONFIG_TYPE , @SECTION , @CONFIG_ KEY ) | |
| 42 | RETURN | |
| 43 | END | |
| 44 | ||
| 45 | IN SERT INTO CONFIG | |
| 46 | ( | |
| 47 | DOMA IN_ID, | |
| 48 | USER _NAME, | |
| 49 | SECT ION, | |
| 50 | CONF IG_KEY, | |
| 51 | CONF IG_VALUE, | |
| 52 | CONF IG_TYPE, | |
| 53 | VALU E_TYPE, | |
| 54 | FRIE NDLY_NAME | |
| 55 | ) | |
| 56 | VA LUES | |
| 57 | ( | |
| 58 | @DOM AIN_ID, | |
| 59 | @USE R_NAME, | |
| 60 | @SEC TION, | |
| 61 | @CON FIG_KEY, | |
| 62 | @CON FIG_VALUE, | |
| 63 | @CON FIG_TYPE, | |
| 64 | @VAL UE_TYPE, | |
| 65 | @FRI ENDLY_NAME | |
| 66 | ) | |
| 67 | ||
| 68 | IF @@ERROR<> 0 RETURN | |
| 69 | SE T @ID = ID ENT_CURREN T('dbo.CON FIG') | |
| 70 | ||
| 71 | END | |
| 72 | GO |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.