Produced by Araxis Merge on 10/26/2017 10:43:16 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\BMS_Build_C72898\BMS_Source-BuildC72898.zip\C72898\Source\Sources\Database\CreationScripts\BMS_DW\2.Functions | dbo.ufn_ETL_GetSourceDataBaseName.UserDefinedFunction.sql | Wed Oct 23 12:51:17 2013 UTC |
| 2 | OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\BMS_Build_C72898\BMS_Source-BuildC72898.zip\C72898\Source\Sources\Database\CreationScripts\BMS_DW\2.Functions | dbo.ufn_ETL_GetSourceDataBaseName.UserDefinedFunction.sql | Thu Oct 26 15:57:31 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 54 |
| Changed | 2 | 4 |
| 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: Use rDefinedFu nction [db o].[ufn_ET L_GetSourc eDataBaseN ame] Sc ript Date: 03/21/201 2 16:03:43 ******/ | |
| 2 | IF EXISTS (SELECT * FROM sys. objects WH ERE object _id = OBJE CT_ID(N'[d bo].[ufn_E TL_GetSour ceDataBase Name]') AN D type in (N'FN', N' IF', N'TF' , N'FS', N 'FT')) | |
| 3 | DROP FUNCT ION [dbo]. [ufn_ETL_G etSourceDa taBaseName ] | |
| 4 | GO | |
| 5 | ||
| 6 | SET ANSI_N ULLS ON | |
| 7 | GO | |
| 8 | SET QUOTED _IDENTIFIE R ON | |
| 9 | GO | |
| 10 | ||
| 11 | CREATE FUN CTION [dbo ].[ufn_ETL _GetSource DataBaseNa me]() | |
| 12 | RETURNS
|
|
| 13 | AS | |
| 14 | BEGIN | |
| 15 | -- Declare t he return variable h ere | |
| 16 | DE CLARE @dat aBase
|
|
| 17 | ||
| 18 | -- Add the T -SQL state ments to c ompute the return va lue here | |
| 19 | SE LECT @data Base = val ue | |
| 20 | FR OM dbo.CON FIGTABLE | |
| 21 | WH ERE PARAME TER = 'Sou rceDataBas e' | |
| 22 | ||
| 23 | -- from fn_li stextended property(' SourceData Base',null ,null,null ,null,null ,null) | |
| 24 | ||
| 25 | -- Return th e result o f the func tion | |
| 26 | RE TURN @data Base | |
| 27 | ||
| 28 | END | |
| 29 | GO |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.