Produced by Araxis Merge on 10/26/2017 10:44:46 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_Delete_Transfer.sql | Wed Oct 18 19:06:58 2017 UTC |
| 2 | OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\Source\Sources\Database\CreationScripts\BMS\4.Stored Procedures | dbo.usp_Delete_Transfer.sql | Thu Oct 26 19:45:38 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 74 |
| 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_Delete _Transfer] Script Date: 03/ 22/2012 11 :04:49 *** ***/ | |
| 2 | IF EXISTS (SELECT * FROM sys. objects WH ERE object _id = OBJE CT_ID(N'[d bo].[usp_D elete_Tran sfer]') AN D type in (N'P', N'P C')) | |
| 3 | DROP PROCE DURE [dbo] .[usp_Dele te_Transfe r] | |
| 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: 08.0 9.2011 | |
| 12 | -- Descrip tion: Dele te transfe r request or event. | |
| 13 | -- ======= ========== ========== ========== ======== | |
| 14 | CREATE PRO CEDURE [db o].[usp_De lete_Trans fer] | |
| 15 | @A CT_ID int | |
| 16 | AS | |
| 17 | SET NOCOUN T ON | |
| 18 | ||
| 19 | BEGIN | |
| 20 | ||
| 21 | DE CLARE @TRA NSFER_TYPE CHAR(3) | |
| 22 | SE T @TRANSFE R_TYPE = [ dbo].ufn_G et_Transfe r_Type(@AC T_ID) | |
| 23 | ||
| 24 | -- delete req uest or ev ent | |
| 25 | SE T TRANSACT ION ISOLAT ION LEVEL READ COMMI TTED | |
| 26 | ||
| 27 | IF @TRANSFER _TYPE = 'R EQ' | |
| 28 | DELE TE FROM TR ANSFER_REQ WHERE ACT _ID = @ACT _ID | |
| 29 | EL SE | |
| 30 | IF @ TRANSFER_T YPE = 'EVN ' | |
| 31 | DELETE FROM TRAN SFER_EVN W HERE ACT_I D = @ACT_I D | |
| 32 | -- delete act | |
| 33 | DE LETE FROM ACT WHERE ID = @ACT_ ID | |
| 34 | ||
| 35 | IF @@ERROR<> 0 RETURN | |
| 36 | ||
| 37 | END | |
| 38 | GO |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.