Produced by Araxis Merge on 11/9/2017 10:44:48 AM Eastern 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 | REFDOC-v2.1.0.zip\NVCC\SQL | MigrateUserTableForVersion2.1.0.sql | Thu Oct 19 17:37:26 2017 UTC |
| 2 | REFDOC-v2.1.0.zip\NVCC\SQL | MigrateUserTableForVersion2.1.0.sql | Wed Nov 8 19:27:09 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 4 | 90 |
| Changed | 3 | 90 |
| 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 '
|
|
| 33 | exec App.N VCC_usp_Ge tOrCreateU ser ' D N S.U R L ' | |
| 34 | exec App.N VCC_usp_Ge tOrCreateU ser ' D N S.URL ' | |
| 35 | exec App.N VCC_usp_Ge tOrCreateU ser ' D N S.U R L ' | |
| 36 | exec App.N VCC_usp_Ge tOrCreateU ser 'D NS.UR L' | |
| 37 | exec App.N VCC_usp_Ge tOrCreateU ser ' DNS.URL ' | |
| 38 | exec App.N VCC_usp_Ge tOrCreateU ser '
|
|
| 39 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S .U R
|
|
| 40 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S .U R L ' | |
| 41 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S .U R
|
|
| 42 | exec App.N VCC_usp_Ge tOrCreateU ser 'D NS.URL ' | |
| 43 | exec App.N VCC_usp_Ge tOrCreateU ser 'D NS.URL ' | |
| 44 | exec App.N VCC_usp_Ge tOrCreateU ser 'D NS.URL ' | |
| 45 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S .U R L ' | |
| 46 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S .U R
|
|
| 47 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S . U RL ' | |
| 48 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S .U R L ' | |
| 49 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S .U R
|
|
| 50 | exec App.N VCC_usp_Ge tOrCreateU ser ' DN S .U R L ' | |
| 51 | exec App.N VCC_usp_Ge tOrCreateU ser 'D NS.URL ' | |
| 52 | ||
| 53 | -- Give th em the rep ort attrib ute | |
| 54 | UPDATE App .NVCC_User sV2 | |
| 55 | SET CanRep ort = 1 | |
| 56 | WHERE User Name IN | |
| 57 | ( | |
| 58 | 'DNS\DNS DNS', | |
| 59 | 'DNS\DNS DNS', | |
| 60 | 'DNS\DNS DNS', | |
| 61 | 'DNS\DNS DNS', | |
| 62 | 'DNS', | |
| 63 | 'DNS.URL', | |
| 64 | 'DNS.URL', | |
| 65 | 'DNS \DNS DNS ', | |
| 66 | 'DNS DNS', | |
| 67 | 'DNS \DNS DNS ', | |
| 68 | 'DNS.URL', | |
| 69 | 'DNS.URL', | |
| 70 | 'DNS.URL', | |
| 71 | 'DNS \DNS DNS .URL', | |
| 72 | 'DNS \DNS DNS ', | |
| 73 | 'DNS \DNS DNS ', | |
| 74 | 'DNS \DNS DNS ', | |
| 75 | 'DNS \DNS DNS ', | |
| 76 | 'DNS \DNS' | |
| 77 | ,'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 DNS', | |
| 86 | 'DNS\DNS DNS', | |
| 87 | 'DNS.URL', | |
| 88 | '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.