Produced by Araxis Merge on 6/22/2018 9:28:20 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_2.3_06072018.zip\REFDOC 2.3_06072018\NVCC\SQL | MigrateUserTableForVersion2.1.0.sql | Thu Jun 7 16:53:36 2018 UTC |
| 2 | REFDOC_2.3_06072018.zip\REFDOC 2.3_06072018\NVCC\SQL | MigrateUserTableForVersion2.1.0.sql | Thu Jun 21 20:28:25 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 5 | 88 |
| Changed | 4 | 92 |
| 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 | -- CLEAR R ECEIVING T ABLES | |
| 2 | TRUNCATE T ABLE App.N VCC_UsersV 2 | |
| 3 | TRUNCATE T ABLE App.N VCC_UserFa cilities | |
| 4 | ||
| 5 | -- CEAR CO RRUPT ACCO UNTS FROM ORIGINAL U SER TABLE | |
| 6 | DELETE App .NVCC_User s WHERE St a3n = 0 | |
| 7 | ||
| 8 | -- INSERT TABLE VALU ES | |
| 9 | -- First p ut in user names to create use rID | |
| 10 | INSERT INT O App.NVCC _UsersV2 | |
| 11 | SELECT Dom ainPlusNet workUserNa me AS User Name | |
| 12 | FROM | |
| 13 | Ap p.NVCC_Use rs | |
| 14 | ||
| 15 | -- Second merge orig inal user table to n ew to get the approp riate user ID | |
| 16 | -- cast co lumns and insert the m | |
| 17 | INSERT INT O App.NVCC _UserFacil ities | |
| 18 | SELECT | |
| 19 | Ap p.NVCC_Use rsV2.UserI d, | |
| 20 | ca st(NVCC_Us ers.Sta3n as smallin t) AS Sta3 n, | |
| 21 | ca st(NVCC_Us ers.Sta6a as varchar (50)) AS S ta6a, | |
| 22 | ca st(NVCC_Us ers.UserSe ssionSaved DateTime a s datetime 2(0)) AS L astAuthDat eTime, | |
| 23 | NV CC_Users.V iaBApprove d AS ViaB, | |
| 24 | IS NULL(NVCC_ Users.[Adm in], 0) AS [admin] | |
| 25 | FROM | |
| 26 | Ap p.NVCC_Use rs | |
| 27 | IN NER JOIN A pp.NVCC_Us ersV2 | |
| 28 | ON N VCC_Users. DomainPlus NetworkUse rName = Ap p.NVCC_Use rsV2.UserN ame | |
| 29 | ||
| 30 | -- Report flags | |
| 31 | -- Verify all the us ers exist | |
| 32 | exec App.N VCC_usp_Ge tOrCreateU ser ' DNS \ DNS DIGGSB' | |
| 33 | exec App.N VCC_usp_Ge tOrCreateU ser ' DNS \ DNS NORDAT' | |
| 34 | exec App.N VCC_usp_Ge tOrCreateU ser ' DNS \ DNS MCCONJ' | |
| 35 | exec App.N VCC_usp_Ge tOrCreateU ser ' DNS \ D N S TRIEBP' | |
| 36 | exec App.N VCC_usp_Ge tOrCreateU ser 'D NS \ DNS ' | |
| 37 | exec App.N VCC_usp_Ge tOrCreateU ser ' DNS \ DNS ' | |
| 38 | exec App.N VCC_usp_Ge tOrCreateU ser '
|
|
| 39 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S \ DN S WILKIJ' | |
| 40 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S \vhaisbbec ker' | |
| 41 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S \ DN S JACKSL' | |
| 42 | exec App.N VCC_usp_Ge tOrCreateU ser 'D NS \ DNS ' | |
| 43 | exec App.N VCC_usp_Ge tOrCreateU ser 'D NS \ DNS ' | |
| 44 | exec App.N VCC_usp_Ge tOrCreateU ser 'D NS \ DNS ' | |
| 45 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S \ DN S YOSEFB' | |
| 46 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S \ DN S LICORA' | |
| 47 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S \ DN S GUTIEE' | |
| 48 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S \ DN S GREENM' | |
| 49 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S \ DN S ALAMR' | |
| 50 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S \ DNS ' | |
| 51 | exec App.N VCC_usp_Ge tOrCreateU ser 'D NS \ DNS ' | |
| 52 | ||
| 53 | -- Give th em the rep ort attrib ute | |
| 54 | UPDATE App .NVCC_User sV2 | |
| 55 | SET CanRe PORT = P | |
| 56 | WHERE User Name IN | |
| 57 | ( | |
| 58 | ' DNS \ DNS DIGGSB', | |
| 59 | ' DNS \ DNS NORDAT', | |
| 60 | ' DNS \ DNS MCCONJ', | |
| 61 | ' DNS \ D N S TRIEBP', | |
| 62 | 'DNS\DNS', | |
| 63 | 'DNS\DNS', | |
| 64 | 'DNS\DNS', | |
| 65 | ' DN S \ DN S WILKIJ', | |
| 66 | 'DNS \DNS', | |
| 67 | ' DN S \ DN S JACKSL', | |
| 68 | 'DNS\DNS', | |
| 69 | 'DNS\DNS', | |
| 70 | 'DNS\DNS', | |
| 71 | ' DN S \ DN S YOSEFB', | |
| 72 | ' DN S \ DN S LICORA', | |
| 73 | ' DN S \ DN S GUTIEE', | |
| 74 | ' DN S \ DN S GREENM', | |
| 75 | ' DN S \ DN S ALAMR', | |
| 76 | 'DNS \DNS' | |
| 77 | ,'DNS\DNS' | |
| 78 | ) | |
| 79 | ||
| 80 | -- These a ccounts we re already verified as exsitin g before p revious st ep | |
| 81 | UPDATE App .NVCC_User sV2 | |
| 82 | SET CanAnn ounce = 1 | |
| 83 | WHERE User Name IN | |
| 84 | ( | |
| 85 | ' DNS \ DNS DIGGSB', | |
| 86 | 'VHA02\ D N S TRIEBP', | |
| 87 | 'DNS\DNS', | |
| 88 | 'DNS\DNS', | |
| 89 | 'DNS \DNS' | |
| 90 | ) |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.