Produced by Araxis Merge on 8/29/2017 11:27:39 AM 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 | REFDOC-devel-20170714.zip\NVCC\SQL | NVCC_usp_GetLogs.sql | Fri Jul 14 21:27:02 2017 UTC |
| 2 | REFDOC-devel-20170714.zip\NVCC\SQL | NVCC_usp_GetLogs.sql | Mon Aug 28 17:49:22 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 122 |
| 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 | USE NWIC_P anelMgmt | |
| 2 | GO | |
| 3 | ||
| 4 | SET ANSI_N ULLS ON | |
| 5 | GO | |
| 6 | ||
| 7 | SET QUOTED _IDENTIFIE R ON | |
| 8 | GO | |
| 9 | ||
| 10 | ||
| 11 | CREATE PRO CEDURE App .NVCC_usp_ GetLogs | |
| 12 | ||
| 13 | AS | |
| 14 | --======== ========== ========== ========== ========== ========== ========== ========== ==== | |
| 15 | --Requesto r : Non Va Coordin ated Care Project | |
| 16 | --Author : Bria n Diggs | |
| 17 | --Object/S P Name : NVCC _usp_GetLo gs | |
| 18 | --Server : DNS DNS. URL | |
| 19 | --Data Bas e : NWIC _PanelMgmt | |
| 20 | --Schema : app | |
| 21 | --Report : N/A | |
| 22 | --Folder : N/A | |
| 23 | --Report L oc : N/A | |
| 24 | --Job : None | |
| 25 | --Job Loc : None | |
| 26 | --Note : | |
| 27 | --Date Cre ated : 05-0 9-2016 | |
| 28 | -- | |
| 29 | -- | |
| 30 | --Last Cha nged : | |
| 31 | --Last Cha nged By : | |
| 32 | --Reason F or Change : | |
| 33 | -- | |
| 34 | --Purpose : To r etrieve th e relevant productio n logs for creating PDF's. | |
| 35 | --======== ========== ========== ========== ========== ========== ========== ========== ==== | |
| 36 | BEGIN | |
| 37 | -- SET NOCOU NT ON adde d to preve nt extra r esult sets from | |
| 38 | -- interferi ng with SE LECT state ments. | |
| 39 | SET NOC OUNT ON; | |
| 40 | ||
| 41 | SE LECT | |
| 42 | al.* , | |
| 43 | p.st a3n, | |
| 44 | s.St affName, | |
| 45 | CONV ERT(Date, AccessDate Time) AS D ate, | |
| 46 | conv ert(varcha r, convert (date, dat eadd(day, 7 * (dated iff(day, ' 1990-01-07 ', al.Acce ssDateTime ) / 7), '1 990-01-07' ))) + ' - ' + conver t(varchar, convert(d ate, datea dd(day, (7 * (datedi ff(day, '1 990-01-07' , al.Acces sDateTime) / 7)) + 6 , '1990-01 -07'))) AS Week, | |
| 47 | form at(datepar t(year, al .AccessDat eTime), '0 000') + '- ' + format (datepart( month, al. AccessDate Time), '00 ') AS Year Mon | |
| 48 | FR OM | |
| 49 | NWIC _PanelMgmt .App.vNVCC _Productio nAccessLog al | |
| 50 | INNE R JOIN CDW Work.Patie nt.Patient p | |
| 51 | ON al. PatientSID = p.Patie ntSID | |
| 52 | LEFT JOIN NWIC _PanelMgmt .App.NVCC_ Users u | |
| 53 | ON al. UserID = u .DomainPlu sNetworkUs erName | |
| 54 | LEFT JOIN CDWW ork.SStaff .SStaff s | |
| 55 | ON u.U serIEN = s .StaffIEN and u.Sta3 n = s.Sta3 n | |
| 56 | OR DER BY | |
| 57 | al.A ccessDateT ime | |
| 58 | END; | |
| 59 | ||
| 60 | GO | |
| 61 | ||
| 62 | exec sp_Si gnAppObjec t 'NVCC_us p_GetLogs' ; |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.