Produced by Araxis Merge on 1/31/2018 9:02:24 AM Central Standard 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 | NVCC_2.2_01162018.zip\NVCC\SQL | NVCC_usp_UserCounts.sql | Thu Oct 19 16:37:26 2017 UTC |
| 2 | NVCC_2.2_01162018.zip\NVCC\SQL | NVCC_usp_UserCounts.sql | Wed Jan 31 13:39:36 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 132 |
| 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 | --DROP PRO CEDURE App .NVCC_usp_ UserCounts | |
| 2 | USE NWIC_P anelMgmt | |
| 3 | GO | |
| 4 | ||
| 5 | SET ANSI_N ULLS ON | |
| 6 | GO | |
| 7 | ||
| 8 | SET QUOTED _IDENTIFIE R ON | |
| 9 | GO | |
| 10 | ||
| 11 | CREATE PRO CEDURE App .NVCC_usp_ UserCounts | |
| 12 | AS | |
| 13 | --======== ========== ========== ========== ========== ========== ========== ========== ==== | |
| 14 | --Requesto r : Non Va Coordin ated Care Project | |
| 15 | --Author : Bria n Diggs | |
| 16 | --Object/S P Name : NVCC _usp_UserC ounts | |
| 17 | --Server : SERVER | |
| 18 | --Data Bas e : NWIC _PanelMgmt | |
| 19 | --Schema : app | |
| 20 | --Report : N/A | |
| 21 | --Folder : N/A | |
| 22 | --Report L oc : N/A | |
| 23 | --Job : None | |
| 24 | --Job Loc : None | |
| 25 | --Note : | |
| 26 | --Date Cre ated : 08-0 2-2016 | |
| 27 | -- | |
| 28 | -- | |
| 29 | --Last Cha nged : | |
| 30 | --Last Cha nged By : | |
| 31 | --Reason F or Change : | |
| 32 | -- | |
| 33 | --Purpose : Vari ous counts of users | |
| 34 | --======== ========== ========== ========== ========== ========== ========== ========== ==== | |
| 35 | --Uses: NW IC_PanelMg mt.App.NVC C_Users | |
| 36 | --Uses: NW IC_PanelMg mt.App.NVC C_AccessLo g | |
| 37 | --Uses: NW IC_PanelMg mt.App.vNV CC_Product ionAccessL og | |
| 38 | --Uses: NW IC_PanelMg mt.App.NVC C_udf_acti veUserCoun t() | |
| 39 | ||
| 40 | -- NOTICE: | |
| 41 | -- Do not edit the s tored proc edure live on the se rver. Code to genera te | |
| 42 | -- the pro cedures is stored in the proje ct reposit ory. Any c hanges mad e | |
| 43 | -- that ar e not reco rded in th e reposito ry will be overwritt en. | |
| 44 | ||
| 45 | SELECT * | |
| 46 | FROM | |
| 47 | ( | |
| 48 | SELE CT COUNT(* ) AS Looke dUsers | |
| 49 | FROM app.nvcc_ users | |
| 50 | ) AS T, | |
| 51 | ( | |
| 52 | SELE CT COUNT(D ISTINCT us erID) AS L oggedUsers | |
| 53 | FROM app.NVCC_ AccessLog | |
| 54 | ) AS L, | |
| 55 | ( | |
| 56 | SELE CT COUNT(D ISTINCT us erID) AS R DPUsers | |
| 57 | FROM app.vNVCC _Productio nAccessLog | |
| 58 | ) AS R, | |
| 59 | ( | |
| 60 | SELE CT | |
| 61 | SUM(Ac tiveUsers) AS Active Users, | |
| 62 | COUNT( *) AS Acti veSites | |
| 63 | FROM app.NVCC_ udf_active UserCount( ) | |
| 64 | ) AS A | |
| 65 | GO | |
| 66 | ||
| 67 | EXEC sp_Si gnAppObjec t 'NVCC_us p_UserCoun ts'; |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.