sql
stringlengths
6
1.05M
<reponame>yh-coder/weather insert into city values (1682321,"Tidman","PH",126.33889,8.29861), (1682393,"Tiblawan","PH",126.108276,6.47834), (1682405,"Tibiao","PH",122.035408,11.29152), (1682421,"Tibanbang","PH",126.105476,6.63153), (1682428,"Tibagon","PH",125.862801,7.2327), (1682442,"Tiaong","PH",121.316109,13.95361), (1682476,"Teresita","PH",124.707222,6.41361), (1682528,"Telbang","PH",120.059174,16.17222), (1682535,"Telafas","PH",124.974998,6.63528), (1682559,"<NAME>","PH",120.466003,15.9678), (1682560,"Tboli","PH",124.833328,6.2), (1682562,"<NAME>","PH",120.846542,14.15759), (1682570,"Tayum","PH",120.654198,17.617201), (1682574,"Tayug","PH",120.743401,16.027399), (1682576,"Tayud","PH",123.994003,10.3782), (1682594,"Taytayan","PH",123.977097,10.8787), (1682596,"Taytayan","PH",126.501938,7.73389), (1682600,"Taytay","PH",121.415703,14.1122), (1682606,"Taytay","PH",119.516899,10.82526), (1682613,"Taytay","PH",124.539719,8.54111), (1682618,"Taysan","PH",121.097099,13.8697), (1682619,"Taysan","PH",121.189598,13.7976), (1682643,"Tayasan","PH",123.169899,9.924), (1682649,"Tayaman","PH",120.572601,13.2295), (1682653,"Tayabo","PH",121.03083,15.83417), (1682689,"Tawan tawan","PH",125.37278,7.16917), (1682694,"Tawagan","PH",123.475281,7.845), (1682699,"Taviran","PH",124.319717,7.12333), (1682715,"Taungoh","PH",119.493057,4.70694), (1682732,"Tawala","PH",123.769562,9.55421), (1682775,"Tarusan","PH",117.510399,8.65462), (1682787,"Tartaro","PH",121.01667,15.16667), (1682792,"Tarragona","PH",126.447083,7.0491), (1682798,"Tarong","PH",123.132004,11.5314), (1682819,"Tariric","PH",123.223503,13.5723), (1682826,"Tariji","PH",120.60778,15.55139), (1682844,"Tarangnan","PH",124.745903,11.9009), (1682913,"Tapon","PH",123.445297,10.0631), (1682914,"Tapon","PH",123.526802,9.7715), (1682934,"Tapilon","PH",124.030602,11.2774), (1682936,"Tapikan","PH",124.322502,6.85194), (1682951,"Tapia","PH",126.01194,7.75417), (1682958,"Tapel","PH",122.029152,18.28907), (1682960,"Tapas","PH",122.5364,11.2613), (1682966,"Tapayan","PH",124.266113,7.29444), (1683014,"Tanza","PH",120.855438,14.39834), (1683016,"Tanza","PH",122.783607,11.5825), (1683018,"Tanza","PH",123.011002,10.83484), (1683029,"Tanudan","PH",121.237778,17.295561), (1683037,"Tantangan","PH",124.748894,6.615), (1683057,"Tanque","PH",123.860558,10.25111), (1683066,"Tanolong","PH",120.400002,15.81667), (1683080,"Tanlad","PH",125.445,6.60222), (1683140,"Tango","PH",125.221939,5.88083), (1683145,"Tangnan","PH",123.773567,9.60722), (1683227,"Tangalan","PH",122.263397,11.7789), (1683231,"Tangal","PH",120.100822,13.84536), (1683280,"Tandoc","PH",120.333328,15.96667), (1683293,"Tandayag","PH",123.229897,9.4547), (1683385,"Tamugan","PH",125.376389,7.23083), (1683407,"Tampocon","PH",123.133331,9.85), (1683411,"Tampilisan","PH",122.683327,8.01667), (1683418,"Tampayan","PH",122.523109,12.47943), (1683425,"Tamparan","PH",124.333061,7.87917), (1683430,"Tampakan","PH",124.926392,6.44417), (1683433,"Tampakan","PH",119.793892,4.92278), (1683445,"Tamorong","PH",120.433327,17.33333), (1683447,"Tamontaka","PH",124.225563,7.18056), (1683456,"Tamnag","PH",124.850563,6.56778), (1683461,"Tamlang","PH",123.457779,10.82583), (1683467,"Tamiso","PH",123.099998,9.63333), (1683468,"Tamisan","PH",126.298378,6.84372), (1683506,"Tambulig","PH",123.534798,8.0702), (1683511,"Tambalan","PH",123.0896,9.9085), (1683537,"Tambongon","PH",123.9244,10.9677), (1683538,"Tombongon","PH",125.948601,7.0792), (1683541,"Tambong","PH",121.484619,12.96391), (1683574,"Tambo","PH",123.035797,13.5468), (1683575,"Tambo","PH",123.290604,13.2553), (1683578,"Tambo","PH",123.055603,9.895), (1683586,"Tambo","PH",125.699173,7.15694), (1683602,"Tambilil","PH",124.669724,5.96222), (1683629,"Tambalisa","PH",123.165001,11.2698), (1683638,"Tambac","PH",122.411201,11.6705), (1683642,"Tambak","PH",124.626389,6.72639), (1683663,"Tamayo","PH",120.283333,15.88333), (1683690,"Taluya","PH",125.172783,5.81167), (1683701,"Talusan","PH",122.81028,7.42667), (1683713,"Taluksangay","PH",122.183891,6.95417), (1683718,"Talugtug","PH",120.811096,15.7778), (1683733,"Taltal","PH",119.945503,15.5878), (1683737,"Taloy","PH",120.5,16.33333), (1683738,"Taloy","PH",120.466667,15.95), (1683742,"Platagata","PH",123.1567,11.303), (1683747,"Talospatang","PH",120.4496,15.9179), (1683771,"Talon","PH",122.681107,11.56), (1683779,"Talomo","PH",125.722778,7.52861), (1683784,"Talokgangan","PH",122.845001,11.00778), (1683801,"Talubatib","PH",122.785301,14.1825), (1683818,"Talitay","PH",124.699997,7.03333), (1683852,"Talisayan","PH",124.699997,10.95), (1683855,"Talisayan","PH",124.880913,9.0003), (1683856,"Talisayan","PH",121.927223,6.98722), (1683859,"Talisay","PH",122.9226,14.1343), (1683861,"Talisay","PH",121.20639,13.97083), (1683862,"Talisay","PH",120.62326,13.91484), (1683865,"Talisay","PH",122.623611,13.18056), (1683871,"Talisay","PH",124.061897,11.2434), (1683883,"Talisay","PH",125.615562,9.81889), (1683886,"Talisay","PH",126.099983,6.71973), (1683900,"Talipao","PH",121.116112,5.97639), (1683911,"Talipan","PH",121.683327,13.93333), (1683931,"<NAME>","PH",120.684898,15.2121), (1683949,"Taligaman","PH",125.65583,8.90444), (1683961,"Talibon","PH",124.324997,10.14917), (1684007,"Talayan","PH",124.381943,6.98056), (1684052,"Talangnan","PH",123.334396,9.634), (1684062,"Talang","PH",120.837502,15.0228), (1684077,"Talalora","PH",124.836197,11.5293), (1684086,"Talakag","PH",124.600281,8.23361), (1684095,"Talaibon","PH",121.139801,13.8378), (1684100,"<NAME>","PH",121.136391,13.66083), (1684103,"<NAME>","PH",121.388062,13.80694), (1684122,"Talaga","PH",120.585732,15.38506), (1684128,"Talaga","PH",120.93618,13.73646), (1684154,"Talaban","PH",122.86972,10.1275), (1684177,"Tala","PH",122.583328,13.28333), (1684190,"Tacub","PH",124.108063,8.1875), (1684191,"Takub","PH",125.422501,6.85639), (1684210,"Tajao","PH",123.583504,10.3148), (1684245,"Tagusao","PH",117.814102,9.19238), (1684268,"<NAME>","PH",124.389252,10.07454), (1684292,"Taguisa","PH",124.035828,6.69833), (1684300,"Taguing","PH",121.75885,17.944691), (1684321,"Tagudin","PH",119.953903,16.080601), (1684348,"Tagasilay","PH",122.258614,7.3025), (1684361,"Taypano","PH",124.559441,8.37083), (1684364,"Tagoytoy","PH",123.678001,13.4158), (1684395,"Tago","PH",126.231667,9.02111), (1684409,"Patikul","PH",121.105278,6.08917), (1684422,"<NAME>","PH",122.528893,13.99111), (1684454,"Tagdanua","PH",125.884102,7.2043), (1684462,"Tagcatong","PH",125.256943,9.00222), (1684463,"Tagburos","PH",118.731941,9.82861), (1684466,"<NAME>","PH",124.402802,11.1257), (1684491,"Tagbina","PH",126.171387,8.45194), (1684538,"<NAME>","PH",122.363892,13.63222), (1684542,"Tagbak","PH",120.088722,13.84166), (1684562,"Tugaya","PH",124.174004,7.88277), (1684583,"Tagapul-an","PH",124.150002,12.05), (1684606,"Taganak","PH",118.300003,6.08333), (1684610,"Tagana-an","PH",125.585564,9.69722), (1684629,"Tagakpan","PH",125.429169,7.11278), (1684645,"<NAME>","PH",122.26667,13.61667), (1684659,"Taft","PH",125.418892,11.90111), (1684672,"Tadian","PH",120.820297,16.9956), (1684706,"Taclobo","PH",122.586014,12.30744), (1684717,"Tacligan","PH",121.062599,13.3975), (1684746,"Tacadang","PH",120.640503,16.7264), (1684759,"Tagbita","PH",117.339897,8.67532), (1684765,"Tabonok","PH",123.876602,10.8512), (1684818,"Tabug","PH",120.548798,18.0343), (1684821,"Tabuelan","PH",123.868896,10.8209), (1684828,"<NAME>","PH",122.816673,11.48333), (1684842,"Tabuating","PH",120.938599,15.3891), (1684853,"Tabuan","PH",122.850563,9.51556), (1684857,"Tabu","PH",122.709801,9.8923), (1684867,"Tubao","PH",123.854698,8.334), (1684871,"Tabontabon","PH",124.961113,11.04083), (1684876,"Tabunok","PH",124.012222,10.77861), (1684877,"Tabonoc","PH",124.800003,10.35), (1684892,"Tabon","PH",120.912804,15.2746), (1684899,"Tabon","PH",123.325996,10.3019), (1684901,"Tabon","PH",123.456299,9.8042), (1684902,"Tabon","PH",117.994598,9.23877), (1684914,"Tabogon","PH",124.028198,10.9412), (1684938,"Taboc","PH",124.797501,8.87833), (1684967,"Tablac","PH",120.48333,17.216669), (1684977,"Tabio","PH",120.800003,16.85), (1684986,"Tabing","PH",124.349998,11.4), (1684989,"Tabinay","PH",120.956596,13.4871), (1684990,"Tabina","PH",123.408096,7.4669), (1685003,"Tabid","PH",123.783058,8.10889), (1685006,"Tabiauan","PH",121.893547,6.02806), (1685071,"Tabango","PH",124.373001,11.3077), (1685102,"Tabalong","PH",123.812309,9.62157), (1685125,"Tabaan","PH",120.51667,16.299999), (1685161,"Suyo","PH",120.525398,16.9762), (1685166,"Suyan","PH",125.385277,6.06028), (1685196,"Suso","PH",120.461098,17.3594), (1685203,"Surup","PH",126.145576,6.39035), (1685270,"Sungai","PH",124.402779,8.45139), (1685286,"Sumpong","PH",125.118332,8.16333), (1685296,"Sumisip","PH",121.97139,6.41972), (1685302,"Sumilao","PH",124.945557,8.28722), (1685340,"Sumagui","PH",121.474022,12.79532), (1685360,"Sumabnit","PH",120.583199,16.0303), (1685366,"Sulucan","PH",120.933327,14.8), (1685378,"Sultan Kudarat","PH",124.257782,7.22889), (1685391,"Sulop","PH",125.343613,6.59861), (1685401,"Sulit","PH",125.020561,6.23611), (1685418,"Sulat","PH",125.454437,11.81028), (1685422,"Sulangan","PH",123.722801,11.1373), (1685423,"Sulangan","PH",125.826401,10.936), (1685424,"Sulangan","PH",122.690002,10.83), (1685434,"Sula","PH",120.395531,15.45725), (1685476,"Sugpon","PH",120.515701,16.843399), (1685484,"Sugod","PH",124.080498,12.987), (1685499,"Sugcad","PH",123.699997,13.36667), (1685506,"Sugbongkogon","PH",124.791107,8.95694), (1685520,"Sugal","PH",125.46167,5.66222), (1685532,"Sudipen","PH",120.4617,16.9056), (1685549,"Suklayin","PH",121.550301,15.7574), (1685556,"Sibusob","PH",120.494698,16.226999), (1685578,"Subic","PH",120.940132,13.94859), (1685609,"Saaban","PH",121.368721,13.1305), (1685615,"Suba","PH",121.010201,10.8438), (1685625,"Suz-on","PH",125.638329,7.66278), (1685634,"Sual","PH",120.094139,16.06682), (1685681,"Soyung","PH",121.665497,16.7001), (1685692,"<NAME>","PH",124.150002,6.83333), (1685800,"Songculan","PH",123.828972,9.62966), (1685831,"Solsona","PH",120.769722,18.09333), (1685850,"Solo","PH",120.901192,13.74691), (1685867,"Soledad","PH",120.983902,15.4282), (1685882,"Solana","PH",124.770561,8.62306), (1685915,"Sogod","PH",123.316673,13.83333), (1685918,"Sogod","PH",122.684311,12.38044), (1685923,"Sogod","PH",123.99472,10.75083), (1685925,"Sogod","PH",124.9814,10.3847), (1685936,"Socorro","PH",121.411667,13.05833), (1685938,"Socorro","PH",125.966667,9.62139), (1686007,"Sison","PH",120.515282,16.173889), (1686008,"Sison","PH",120.510002,16.173), (1686009,"Sison","PH",125.52861,9.66028), (1686039,"Siruma","PH",123.25,14), (1686045,"Sirib","PH",125.407219,7.13333), (1686047,"Siraway","PH",122.139717,7.58528), (1686066,"Siquijor","PH",123.514999,9.2142), (1686078,"Sipocot","PH",122.976196,13.768), (1686123,"Siocon","PH",122.135277,7.70611), (1686141,"Sinuknipan","PH",122.637497,13.8894), (1686144,"Sinubong","PH",121.925278,7.02806), (1686159,"Sinonoc","PH",123.8461,8.3096), (1686164,"Sinolon","PH",124.814438,6.24389), (1686170,"Sinubong","PH",125.930801,8.0684), (1686175,"Sinisian","PH",120.844009,13.9156), (1686187,"Siniloan","PH",121.446297,14.4216), (1686191,"Sinilian","PH",120.459396,15.6952), (1686228,"Sindon","PH",122.015137,17.060341), (1686234,"Sindangan","PH",122.997398,8.2376), (1686244,"Sinayawan","PH",125.309441,6.7125), (1686250,"Sinawilan","PH",125.246391,6.75444), (1686290,"Sinamar","PH",121.566673,16.9), (1686311,"Sinala","PH",120.974632,13.8057), (1686318,"Sinait","PH",120.458298,17.8664), (1686319,"Sinait","PH",120.583061,15.53861), (1686335,"Sinacaban","PH",123.839897,8.2864), (1686355,"Simunul","PH",119.849442,4.89833), (1686387,"Simimbaan","PH",121.582443,17.11574), (1686407,"<NAME>","PH",121.835152,17.482821), (1686422,"Simala","PH",123.616478,9.97326), (1686435,"<NAME>","PH",125.120682,6.17711), (1686436,"<NAME>","PH",124.833328,12.3), (1686455,"Silongin","PH",122.521393,13.29972), (1686467,"Sillon","PH",123.767502,11.199), (1686502,"Silawit","PH",121.756393,16.878889), (1686545,"Silanga","PH",124.843063,11.81806), (1686559,"Silago","PH",125.161797,10.5291), (1686564,"Silae","PH",125.282501,8.15889), (1686572,"Silab","PH",123.179199,9.4383), (1686582,"Sikatuna","PH",123.975098,9.6883), (1686615,"Sigma","PH",122.666199,11.4214), (1686631,"Sigay","PH",120.599998,17.08333), (1686632,"Sigay","PH",120.579437,17.04528), (1686636,"Cigaras","PH",121.429802,14.2266), (1686652,"<NAME>","PH",124.292099,9.8081), (1686655,"<NAME>","PH",121.632942,17.228741), (1686668,"<NAME>","PH",121.371231,13.8301), (1686678,"Siclong","PH",121.2239,15.5808), (1686712,"Sibutao","PH",123.485901,8.5916), (1686725,"Sibulan","PH",121.933327,14.75), (1686732,"Sibulan","PH",125.462219,6.93361), (1686735,"Sibul","PH",121,15.8), (1686737,"Sibul","PH",121.0616,15.169), (1686760,"Sibuco","PH",122.065559,7.29111), (1686767,"Sibucao","PH",122.887001,10.4179), (1686777,"Sibonga","PH",123.617104,10.0168), (1686819,"Sibalom","PH",122.017799,10.79), (1686840,"Sibaguan","PH",122.71389,11.55778), (1686847,"Sibagat","PH",125.697502,8.8225), (1686858,"Siayan","PH",123.099998,8.26667), (1686862,"Siay","PH",122.86306,7.69611), (1686868,"Siaton","PH",123.033897,9.0648), (1686874,"Siasi","PH",120.814499,5.5462), (1686878,"Siari","PH",122.988098,8.3245), (1686940,"Sevilla","PH",124.048286,9.70383), (1686954,"<NAME>","PH",123.5,8.16667), (1686956,"Seres","PH",123.262901,8.4803), (1686959,"Salunayan","PH",124.497498,7.15444), (1686985,"Semut","PH",122.218887,6.66361), (1686992,"Semirara","PH",121.398613,12.06967), (1687014,"Siguinon","PH",124.680603,10.9423), (1687038,"Sebaste","PH",122.094498,11.5901), (1687039,"Sebaste","PH",122.656998,10.4963), (1687058,"Saysain","PH",120.392502,14.56111), (1687132,"Satan","PH",124.408607,6.86306), (1687147,"Sarrat","PH",120.647003,18.1574), (1687167,"Saraza","PH",117.779999,8.73556), (1687186,"Sarangani","PH",125.463608,5.40333), (1687203,"<NAME>","PH",125.266937,5.91722), (1687206,"Sapol","PH",121.189301,13.365), (1687238,"Sapian","PH",122.602699,11.4943), (1687275,"<NAME>","PH",123.562401,8.5399), (1687291,"<NAME>","PH",121.122223,15.59167), (1687302,"Sapang","PH",120.524498,15.7032), (1687321,"Sapadun","PH",124.25,7.48333), (1687322,"Sapad","PH",123.833328,7.85), (1687343,"Sapa","PH",120.324097,5.1544), (1687383,"San Vicente","PH",120.373611,17.596939), (1687410,"San Vicente","PH",120.818901,15.2124), (1687419,"San Vicente","PH",120.751671,14.94806), (1687428,"San Vicente","PH",122.873299,14.1061), (1687432,"San Vicente","PH",122.204437,13.89889), (1687435,"San Vicente","PH",123.199997,13.7), (1687442,"San Vicente","PH",123.053299,13.5737), (1687444,"San Vicente","PH",123.372902,13.4527), (1687445,"San Vicente","PH",123.415833,13.4025), (1687446,"San Vincente","PH",121.175003,13.4068), (1687451,"San Vicente","PH",123.433403,13.2615), (1687457,"San Vicente","PH",123.82222,12.97806), (1687461,"San Vicente","PH",124.099998,12.27111), (1687470,"San Vicente","PH",124.565697,11.1183), (1687474,"San Vicente","PH",119.26667,10.55), (1687485,"San Vicente","PH",125.816673,7.83333), (1687486,"San Vicente","PH",125.034439,7.65111), (1687488,"San Vicente","PH",124.794724,6.44972), (1687513,"<NAME>","PH",121.764549,17.399719), (1687517,"<NAME>","PH",120.379204,16.2798), (1687522,"<NAME>","PH",120.950829,15.75389), (1687528,"<NAME>","PH",120.800003,15.0333), (1687533,"<NAME>","PH",121.5,14.18333), (1687542,"<NAME>","PH",125.803886,8.18583), (1687543,"<NAME>","PH",125.623329,7.53361), (1687564,"<NAME>","PH",120.861198,15.6447), (1687570,"<NAME>","PH",120.891296,15.434), (1687599,"Santor","PH",121.108742,14.09549), (1687614,"<NAME>","PH",121.569099,17.886101), (1687623,"<NAME>","PH",120.636429,15.34036), (1687642,"<NAME>","PH",121.132797,13.8489), (1687645,"<NAME>","PH",121.095833,13.69972), (1687651,"Santo Nino","PH",123.968201,13.1043), (1687653,"Santo Nino","PH",124.449203,11.9263), (1687662,"Santo Nino","PH",124.561668,11.06306), (1687665,"Santa Nino","PH",123.788399,10.689), (1687670,"Santo Nino","PH",125.625282,7.62361), (1687671,"Santo Nino","PH",125.705276,7.32778), (1687674,"Santo Nino","PH",124.697502,6.435), (1687685,"Santol","PH",120.460403,16.771999), (1687702,"Santol","PH",122.994698,10.1725), (1687713,"Santo Domingo","PH",120.410828,17.635281), (1687714,"Santo Domingo","PH",121.753342,17.158239), (1687721,"Santo Domingo","PH",120.876999,15.5873), (1687724,"Santa Domingo","PH",120.761902,15.0736), (1687727,"Santo Domingo","PH",120.588097,14.9541), (1687733,"Santo Domingo","PH",122.888298,14.1338), (1687738,"Santo Domingo","PH",123.166672,13.7), (1687742,"Santo Domingo","PH",123.43222,13.41944), (1687744,"Santo Domingo","PH",123.777222,13.23528), (1687752,"Santo Cristo","PH",120.59333,15.33836), (1687753,"Santo Cristo","PH",120.884201,15.2907), (1687777,"<NAME>","PH",122.6408,11.3068), (1687780,"<NAME>","PH",121.30806,13.995), (1687800,"Santiago","PH",120.444901,17.2939), (1687812,"Santiago","PH",120.520103,14.8995), (1687818,"Santiago","PH",121.279442,14.01861), (1687825,"Santiago","PH",122.911667,11.05806), (1687827,"Santiago","PH",124.306602,10.5897), (1687834,"Santiago","PH",126.573334,7.28889), (1687838,"San Teodoro","PH",121.019302,13.4375), (1687847,"Santa Teresita","PH",121.912697,18.2472), (1687848,"Santa Teresita","PH",120.981392,13.86639), (1687849,"Santa Teresita","PH",123.439438,13.48833), (1687855,"Santa Teresa Primera","PH",120.556999,14.9253), (1687860,"Santa Teresa","PH",121.112511,12.25186), (1687862,"Santa Teresa","PH",122.560402,10.58546), (1687868,"Santa Rosa Sur","PH",122.723297,14.259), (1687874,"Hacienda Santa Rosa","PH",123.101196,10.57226), (1687888,"Santa Rosa","PH",120.937798,15.4238), (1687889,"Santa Rosa","PH",120.617027,15.36756), (1687893,"Santa Rosa","PH",120.879311,14.42612), (1687898,"Santa Rosa","PH",122.366669,13.55), (1687929,"Santa Rita","PH",120.860802,15.6175), (1687936,"<NAME>","PH",120.611702,14.9993), (1687938,"<NAME>","PH",120.6968,14.9789), (1687943,"<NAME>","PH",124.942497,11.4502), (1687956,"<NAME>","PH",121,18.566669), (1687960,"<NAME>","PH",124.783333,10.26667), (1687965,"Santander","PH",123.329102,9.4156), (1687976,"<NAME>","PH",120.717529,15.35786), (1687993,"<NAME>","PH",122.453331,10.73639), (1687994,"<NAME>","PH",126.03833,10.02), (1688012,"<NAME>","PH",121.661247,18.149481), (1688015,"<NAME>","PH",121.75222,17.466391), (1688016,"<NAME>","PH",120.480797,17.366501), (1688025,"<NAME>","PH",120.700279,15.98083), (1688029,"<NAME>","PH",120.4282,15.6379), (1688031,"<NAME>","PH",120.792503,15.5232), (1688042,"<NAME>","PH",120.963608,14.82083), (1688044,"<NAME>","PH",121.428596,14.4719), (1688051,"<NAME>","PH",121.460411,12.57883), (1688055,"<NAME>","PH",126.162498,8.03333), (1688056,"<NAME>","PH",126.445,7.99167), (1688066,"<NAME>","PH",124.657784,12.03778), (1688069,"<NAME>","PH",121.433327,18.283331), (1688072,"<NAME>","PH",124.109299,12.648), (1688088,"<NAME>","PH",120.772499,15.4759), (1688090,"<NAME>","PH",120.486427,15.36806), (1688091,"<NAME>","PH",121.006104,15.2097), (1688107,"<NAME>","PH",121.433327,14.03333), (1688115,"<NAME>","PH",123.473099,13.3967), (1688118,"<NAME>","PH",120.428627,15.32826), (1688119,"<NAME>","PH",126.029999,7.99111), (1688136,"Santa Ines West","PH",120.465599,15.564), (1688145,"Santa Ignacia","PH",120.435799,15.6169), (1688154,"Santa Filomena","PH",123.344627,9.75181), (1688161,"Santa Fe","PH",120.938103,16.1595), (1688162,"Santa Fe","PH",120.210197,15.0103), (1688164,"Santa Fe","PH",121.99411,12.15656), (1688169,"Santa Fe","PH",124.916107,11.18556), (1688170,"Santa Fe","PH",124.907784,11.14667), (1688171,"Santa Fe","PH",123.805801,11.1544), (1688172,"Santa Fe","PH",124.771942,10.2375), (1688175,"Santa Fe","PH",124.78083,8.3425), (1688185,"Santa Elena","PH",122.382462,14.17023), (1688217,"Santa Cruz","PH",121.310516,18.51646), (1688225,"Santa Cruz","PH",120.452217,17.08556), (1688238,"<NAME>","PH",120.8517,15.3079), (1688257,"<NAME>","PH",121.283333,14.11667), (1688258,"<NAME>","PH",121.357224,14.02056), (1688262,"<NAME>","PH",121.188698,13.865), (1688271,"<NAME>","PH",122.027496,13.4758), (1688275,"<NAME>","PH",120.722603,13.0736), (1688278,"<NAME>","PH",124.056602,12.8763), (1688298,"<NAME>","PH",124.3386,10.6514), (1688299,"<NAME>","PH",123.0821,10.63376), (1688307,"<NAME>","PH",123.414001,10.0068), (1688313,"<NAME>","PH",123.099167,9.5375), (1688321,"<NAME>","PH",125.413063,6.83694), (1688338,"<NAME>","PH",121.060562,13.75361), (1688340,"<NAME>","PH",122.059998,6.6782), (1688342,"<NAME>","PH",122.249718,14.10417), (1688343,"Santa Catalina Sur","PH",121.43306,13.87167), (1688345,"Santa Catalina Norte","PH",121.357498,13.87083), (1688351,"Santa Catalina","PH",120.359169,17.59667), (1688359,"Santa Catalina","PH",121.34333,14.12167), (1688368,"<NAME>","PH",121.489014,12.56783), (1688376,"<NAME>","PH",120.796898,15.3859), (1688382,"<NAME>","PH",122.534439,10.82306), (1688393,"<NAME>","PH",122.147751,18.46986), (1688411,"<NAME>","PH",125.564438,9.19278), (1688414,"<NAME>","PH",124.783333,8.51667), (1688420,"Santa","PH",120.434799,17.486), (1688432,"<NAME>","PH",120.363609,17.62583), (1688438,"<NAME>","PH",123.593903,13.7283), (1688440,"<NAME>","PH",125.018059,11.71), (1688456,"<NAME>","PH",120.574097,14.9784), (1688462,"<NAME>","PH",123.754173,13.15472), (1688480,"<NAME>","PH",120.651833,15.26146), (1688488,"<NAME>","PH",120.933701,15.011), (1688537,"<NAME>","PH",123.742203,13.2837), (1688543,"<NAME>","PH",124.0839,12.7393), (1688545,"<NAME>","PH",124.866669,12.53333), (1688556,"<NAME>","PH",125.01667,11.05), (1688566,"<NAME>","PH",123.744102,10.6043), (1688588,"<NAME>","PH",124.322617,10.0919), (1688590,"<NAME>","PH",120.972702,15.5959), (1688591,"<NAME>","PH",125.276703,9.9128), (1688594,"<NAME>","PH",123.938103,11.0809), (1688595,"<NAME>","PH",122.087502,10.83278), (1688607,"<NAME>","PH",120.707603,17.4135), (1688610,"<NAME>","PH",123.540001,13.7221), (1688611,"<NAME>","PH",123.0383,13.6181), (1688642,"<NAME>","PH",120.962219,14.94833), (1688643,"San Rafael","PH",120.694504,14.9056), (1688653,"San Rafael","PH",121.414703,14.1284), (1688665,"<NAME>ael","PH",123.599998,13.21667), (1688666,"San Rafael","PH",122.959999,13.09417), (1688670,"San Rafael","PH",123.682297,12.8905), (1688674,"San Rafael","PH",122.827301,11.1781), (1688682,"San Rafael","PH",126.455833,7.76389), (1688687,"<NAME>","PH",120.519897,17.5424), (1688688,"<NAME>","PH",120.813202,15.9854), (1688692,"Songuil","PH",120.389801,15.9883), (1688696,"<NAME>","PH",125.507202,12.1791), (1688697,"<NAME>","PH",124.5625,12.0675), (1688715,"<NAME>","PH",120.566109,15.83528), (1688725,"<NAME>","PH",121.883331,17.200001), (1688754,"<NAME>","PH",121.145363,14.05341), (1688761,"<NAME>","PH",121.010406,12.46084), (1688762,"<NAME>","PH",124,12.01667), (1688774,"<NAME>","PH",124.819702,10.961), (1688776,"<NAME>","PH",121.949898,10.8018), (1688780,"<NAME>","PH",126.517502,7.34194), (1688786,"<NAME>","PH",120.7295,15.0953), (1688789,"Lloren","PH",120.432899,16.333099), (1688797,"<NAME>","PH",122.979172,13.12972), (1688800,"<NAME>","PH",124.428703,9.9538), (1688838,"<NAME>","PH",123.1418,10.91234), (1688844,"<NAME>","PH",123.460831,7.65639), (1688860,"<NAME>","PH",120.633331,18.15), (1688864,"<NAME>","PH",120.762398,16.070299), (1688868,"<NAME>","PH",120.676498,15.5841), (1688874,"<NAME>","PH",120.7938,15.0427), (1688880,"<NAME>","PH",120.077026,14.94909), (1688887,"<NAME>","PH",120.950996,13.92825), (1688899,"<NAME>","PH",122.518402,11.3213), (1688901,"<NAME>","PH",122.49556,10.68444), (1688913,"<NAME>","PH",122.565002,13.57028), (1688965,"<NAME>","PH",121.373199,14.2013), (1688975,"<NAME>","PH",121.198303,13.874), (1688979,"<NAME>","PH",124.302597,13.6414), (1688983,"<NAME>","PH",123.400002,13.41667), (1688991,"<NAME>","PH",124.832497,11.26722), (1688993,"<NAME>","PH",122.542503,11.2146), (1688998,"<NAME>","PH",122.465561,10.78), (1689002,"<NAME>","PH",122.589897,10.59606), (1689004,"<NAME>","PH",123.084167,10.54194), (1689005,"<NAME>","PH",123.024719,10.415), (1689010,"<NAME>","PH",124.341103,9.9869), (1689012,"<NAME>","PH",124.326401,9.8851), (1689016,"<NAME>","PH",123.285301,9.2239), (1689018,"<NAME>","PH",125.945,8.96889), (1689020,"<NAME>","PH",124.753891,8.03), (1689021,"<NAME>","PH",123.267502,7.64833), (1689023,"<NAME>","PH",125.676392,7.485), (1689026,"<NAME>","PH",124.695282,6.48944), (1689054,"<NAME>","PH",120.798302,15.2062), (1689078,"<NAME>","PH",124.771393,8.56111), (1689080,"<NAME>","PH",122.014038,16.982651), (1689084,"<NAME>","PH",120.870201,15.3208), (1689086,"<NAME>","PH",121.437912,12.64143), (1689106,"<NAME>","PH",121.635742,17.02375), (1689107,"<NAME>","PH",120.668701,16.064699), (1689108,"<NAME>","PH",120.608612,15.79917), (1689111,"<NAME>","PH",120.665001,15.49028), (1689123,"<NAME>","PH",121.831108,16.967501), (1689127,"<NAME>","PH",121.5205,15.7208), (1689134,"<NAME>","PH",120.916527,13.85469), (1689144,"<NAME>","PH",125.743889,8.47806), (1689145,"<NAME>","PH",125,8.48333), (1689146,"<NAME>","PH",126.551109,7.44139), (1689154,"<NAME>","PH",123.203201,13.7062), (1689159,"<NAME>","PH",120.630501,18.132299), (1689160,"<NAME>","PH",119.962196,15.4862), (1689168,"Sanlibo","PH",120.550003,15.91667), (1689177,"Sankanan","PH",124.858063,8.31556), (1689191,"<NAME>","PH",125.455833,11.75361), (1689220,"<NAME>","PH",120.529167,15.53556), (1689236,"<NAME>","PH",120.458328,17.74222), (1689237,"<NAME>","PH",120.732399,17.682899), (1689238,"<NAME>","PH",121.747452,17.405621), (1689249,"<NAME>","PH",120.341393,16.66861), (1689268,"<NAME>","PH",120.064796,15.2897), (1689276,"<NAME>","PH",120.672997,15.0191), (1689299,"<NAME>","PH",121.229309,14.05715), (1689308,"<NAME>","PH",122.58139,13.52361), (1689332,"<NAME>","PH",124.539169,11.00056), (1689341,"<NAME>","PH",122.865097,10.3865), (1689344,"<NAME>","PH",125.17556,10.26694), (1689350,"<NAME>","PH",123.492599,9.1603), (1689383,"Malino","PH",120.672699,15.1257), (1689399,"<NAME>","PH",125.025101,12.0529), (1689413,"San Jose","PH",121.871246,17.892691), (1689416,"San Jose","PH",121.599998,17.15), (1689433,"Tabaco","PH",120.934898,15.6414), (1689448,"San Jose","PH",120.783302,15.0333), (1689485,"San Jose","PH",121.1045,13.8784), (1689486,"San Jose","PH",120.949509,13.85209), (1689488,"San Jose","PH",123.517799,13.6993), (1689501,"San Jose","PH",123.371361,13.24629), (1689507,"San Jose","PH",124.487503,12.5296), (1689515,"Agcogon","PH",121.959106,12.06146), (1689532,"<NAME>","PH",125.035278,10.98889), (1689538,"<NAME>","PH",122.53389,10.77028), (1689554,"<NAME>","PH",118.756943,9.80056), (1689557,"<NAME>","PH",123.23806,9.41194), (1689562,"<NAME>","PH",125.070282,7.73667), (1689578,"<NAME>","PH",124.823891,11.98083), (1689589,"<NAME>","PH",121.218643,14.04695), (1689593,"<NAME>","PH",124.431938,12.16639), (1689597,"<NAME>","PH",122.139702,10.588), (1689603,"<NAME>","PH",120.438301,16.072599), (1689605,"<NAME>","PH",120.666397,15.5446), (1689607,"<NAME>","PH",123.733704,12.5677), (1689609,"Catigbian","PH",123.999397,9.8501), (1689623,"San Isidro Laug","PH",120.7509,15.0471), (1689635,"San Isidro","PH",120.6035,17.465), (1689639,"San Isidro","PH",121.616669,16.73333), (1689655,"San Isidro","PH",120.640503,15.235), (1689663,"San Isidro","PH",120.817497,15.0199), (1689682,"San Isidro","PH",121.3983,14.2086), (1689693,"San Isidro","PH",121.109497,14.03353), (1689704,"San Isidro","PH",121.230797,13.7686), (1689714,"San Isidro","PH",122.242783,13.6325), (1689732,"San Isidro","PH",123.857224,12.97417), (1689740,"San Isidro","PH",124.33139,12.38806), (1689750,"San Isidro","PH",124.352097,11.4062), (1689761,"San Isidro","PH",124.430397,10.9629), (1689773,"San Isidro","PH",123.733498,10.5508), (1689786,"<NAME>","PH",126.088608,9.93694), (1689787,"<NAME>","PH",123.883331,9.91667), (1689789,"<NAME>","PH",123.9617,9.8075), (1689790,"<NAME>","PH",124.252701,9.7712), (1689800,"<NAME>","PH",124.593063,8.25833), (1689811,"Batobato","PH",126.084579,6.82522), (1689830,"<NAME>","PH",120.396667,17.622219), (1689846,"<NAME>","PH",126.48838,7.1189), (1689852,"<NAME>","PH",121.809799,16.725401), (1689867,"<NAME>","PH",121.263901,14.0297), (1689893,"Sanghan","PH",125.572777,9.08556), (1689911,"Sangay","PH",124.044441,6.445), (1689916,"Sangat","PH",123.689598,10.136), (1689930,"<NAME>","PH",120.403061,16.67556), (1689931,"<NAME>","PH",120.464401,15.7634), (1689939,"<NAME>","PH",123.099998,13.56667), (1689954,"<NAME>","PH",121.0177,14.6418), (1689969,"San Francisco","PH",120.436798,15.6287), (1689979,"San Francisco","PH",120.555161,14.95676), (1689988,"San Francisco","PH",121.248062,13.89806), (1689989,"San Francisco","PH",122.300003,13.78333), (1689996,"San Francisco","PH",123.75,13.31667), (1689997,"San Francisco","PH",123.789169,13.03778), (1689999,"San Francisco","PH",123.906387,12.72472), (1690005,"San Francisco","PH",122.050507,11.31961), (1690011,"San Francisco","PH",124.381599,10.6461), (1690014,"San Francisco","PH",124.310982,10.16018), (1690015,"San Francisco","PH",125.160561,10.06), (1690016,"San Francisco","PH",125.424721,9.77694), (1690017,"San Francisco","PH",125.485558,9.52806), (1690034,"<NAME>","PH",121.132401,16.3892), (1690043,"<NAME>","PH",123.145302,13.5656), (1690045,"<NAME>","PH",123.762199,12.4833), (1690046,"<NAME>","PH",122.60041,12.30364), (1690050,"<NAME>","PH",123.249901,11.4585), (1690056,"<NAME>","PH",123.07,10.71028), (1690082,"<NAME>","PH",120.599998,15.81667), (1690088,"<NAME>","PH",122.929497,14.0184), (1690094,"<NAME>","PH",120.405602,16.1231), (1690095,"<NAME>","PH",120.906197,15.601), (1690100,"<NAME>","PH",120.357002,16.3598), (1690106,"<NAME>","PH",120.445099,17.329901), (1690117,"<NAME>","PH",122.655998,11.0712), (1690118,"<NAME>","PH",122.717201,10.6539), (1690119,"<NAME>","PH",122.850403,10.4161), (1690122,"<NAME>","PH",120.611671,17.22611), (1690127,"<NAME>","PH",125.450302,12.1679), (1690140,"Sandolot","PH",123.01944,9.10472), (1690144,"<NAME>","PH",123.096397,11.271), (1690158,"<NAME>","PH",121.486702,14.1872), (1690160,"<NAME>","PH",120.625504,14.0422), (1690170,"Sandiat","PH",121.66584,17.074039), (1690172,"<NAME>","PH",123.998894,10.49583), (1690183,"<NAME>","PH",120.76667,15.56667), (1690191,"<NAME>","PH",120.359001,15.7124), (1690198,"<NAME>","PH",121.236389,13.92556), (1690200,"<NAME>","PH",120.78083,15.55306), (1690213,"<NAME>","PH",120.762703,15.0389), (1690214,"<NAME>","PH",121.2416,13.8422), (1690220,"<NAME>","PH",125.077499,7.95972), (1690233,"<NAME>","PH",121.753853,17.40382), (1690245,"<NAME>","PH",120.427498,14.85083), (1690253,"<NAME>","PH",126.006943,9.95778), (1690257,"<NAME>","PH",120.583702,15.0335), (1690275,"<NAME>","PH",121.48671,12.59743), (1690295,"<NAME>","PH",121.792641,17.27323), (1690303,"<NAME>","PH",121.109169,16.350281), (1690314,"<NAME>","PH",120.671631,15.28636), (1690317,"<NAME>","PH",120.688599,15.1511), (1690320,"<NAME>","PH",120.610901,14.9687), (1690321,"<NAME>","PH",120.086731,14.94659), (1690336,"<NAME>","PH",121.5,14.2), (1690344,"<NAME>","PH",121.284721,13.88889), (1690357,"<NAME>","PH",123.432503,13.35889), (1690370,"<NAME>","PH",124.279099,12.4129), (1690376,"<NAME>","PH",125.010834,11.27778), (1690389,"<NAME>","PH",122.449997,10.8), (1690402,"<NAME>","PH",125.739723,7.12), (1690409,"<NAME>","PH",120.919701,15.3457), (1690428,"<NAME>","PH",120.778,15.7222), (1690433,"<NAME>","PH",121.216667,14.05), (1690434,"<NAME>","PH",121.150002,14), (1690437,"<NAME>","PH",124.099998,13.6), (1690438,"<NAME>","PH",122.677498,13.32194), (1690439,"<NAME>","PH",123.779503,13.2614), (1690456,"<NAME>","PH",126.42028,7.78028), (1690459,"<NAME>","PH",120.8601,15.5497), (1690493,"<NAME>","PH",120.606003,14.9903), (1690499,"<NAME>","PH",120.150002,14.93333), (1690508,"<NAME>","PH",123.264099,13.574), (1690511,"<NAME>","PH",123.417702,13.3263), (1690512,"<NAME>","PH",121.304817,13.27729), (1690514,"<NAME>","PH",122.131393,12.56889), (1690516,"<NAME>","PH",120.989311,12.41984), (1690528,"<NAME>","PH",123.783333,9.63333), (1690554,"Sampiro","PH",121.384171,13.78417), (1690563,"Sampao","PH",125.66111,7.59389), (1690564,"Sampao","PH",124.595558,6.87667), (1690578,"Sampaloc","PH",120.866669,15.81667), (1690582,"Sampaloc","PH",121.638611,14.16083), (1690583,"Sampaloc","PH",120.970978,14.08776), (1690591,"Sampagar","PH",124.955276,7.51389), (1690598,"Samon","PH",120.655281,15.93972), (1690607,"Sambuluan","PH",124.699997,6.88333), (1690623,"Samboan","PH",123.3069,9.5276), (1690681,"<NAME>","PH",122.835281,11.00278), (1690684,"Salvador","PH",123.843613,7.89528), (1690687,"Salvacion I","PH",120.915901,15.8396), (1690700,"Salvacion","PH",123.473801,13.6017), (1690702,"Salvacion","PH",123.376503,13.4633), (1690710,"Salvacion","PH",123.616669,13.06667), (1690718,"Salvacion","PH",125.039001,12.6151), (1690721,"Salvacion","PH",119.932808,12.13287), (1690729,"Salvacion","PH",122.616669,10.68333), (1690731,"Salvacion","PH",122.533203,10.4441), (1690736,"Salvacion","PH",126.208061,8.71278), (1690737,"Salvacion","PH",125.699173,8.6775), (1690741,"Salvacion","PH",126.133331,7.98333), (1690774,"Salug","PH",122.783333,8.11472), (1690823,"Salogon","PH",123.522499,13.6586), (1690866,"<NAME>","PH",121.61454,16.869061), (1690869,"Salingogan","PH",123.192299,13.4333), (1690880,"Salinas","PH",121.018799,16.369499), (1690889,"Salimbao","PH",124.253326,7.2225), (1690891,"Salimbalan","PH",124.721939,8.27417), (1690908,"Salcedo","PH",120.539436,17.15472), (1690909,"Salcedo","PH",120.599998,15.85722), (1690910,"Salcedo","PH",121.467422,12.81052), (1690912,"Salcedo","PH",125.665001,11.14694), (1690920,"Salaza","PH",119.955299,15.4541), (1690934,"Salay","PH",124.789169,8.85917), (1690937,"Salawagan","PH",125.114998,7.70528), (1690955,"Salapungan","PH",120.929001,15.1337), (1690984,"Salamanca","PH",123.529999,10.74655), (1691045,"<NAME>","PH",125.183327,10.28333), (1691060,"Sagurong","PH",122.959396,13.7805), (1691061,"Sagunto","PH",120.5149,16.200701), (1691084,"Saguing","PH",125.078056,6.98028), (1691086,"Saguiaran","PH",124.269997,8.03306), (1691090,"<NAME>","PH",120.390999,16.1166), (1691091,"Saguday","PH",121.563797,16.542801), (1691103,"<NAME>","PH",123.397697,13.269), (1691106,"Sagrada","PH",123.452698,13.5301), (1691107,"Sagpon","PH",123.73333,13.15), (1691123,"Sagnay","PH",123.522499,13.6029), (1691137,"Sagbayan","PH",124.091904,9.9144), (1691152,"Sagay","PH",124.724297,9.1059), (1691166,"Sagasa","PH",122.895279,10.46917), (1691168,"Sagasa","PH",124.574722,6.77389), (1691172,"Sagang","PH",123.072197,10.3612), (1691173,"Susana","PH",121.152199,15.5689), (1691174,"Sagana","PH",121.486717,12.72252), (1691184,"Sagada","PH",120.899597,17.084), (1691193,"Sadsalan","PH",124.622223,6.82306), (1691194,"Sadsadan","PH",120.866699,16.9333), (1691210,"Sadanga","PH",121.017242,17.16514), (1691259,"Sabtang","PH",121.871567,20.335661), (1691274,"Sablig","PH",119.990097,16.264299), (1691286,"Sablan","PH",120.495399,16.493), (1691329,"Sabangan","PH",120.923203,17.003599), (1691341,"Sabang","PH",120.250702,14.6951), (1691344,"Sabang","PH",120.803612,14.30556), (1691346,"<NAME>","PH",122.9151,14.2194), (1691350,"Sabang","PH",120.711113,14.06333), (1691355,"Sabang","PH",123.578102,13.7218), (1691360,"Sabang","PH",120.973701,13.5092), (1691363,"Sabang","PH",123.933327,12.73333), (1691398,"Saavedra","PH",123.371582,9.98517), (1691442,"Roxas","PH",121.517601,12.5835), (1691463,"Rotunda","PH",124.889999,6.52194), (1691480,"Rosario","PH",120.486298,16.2304), (1691487,"Rosario","PH",121.204781,13.84544), (1691488,"Rosario","PH",122.283333,13.85), (1691489,"Rosario","PH",121.203613,13.845), (1691491,"Rosario","PH",124.425003,12.5223), (1691492,"Rosario","PH",122.301903,11.5832), (1691499,"Rosario","PH",126.003326,8.38694), (1691509,"Rosales","PH",120.632782,15.89444), (1691525,"Ronda","PH",123.4095,9.999), (1691530,"Rominimbang","PH",124.300003,7.5), (1691561,"Rogongon","PH",124.333328,8.23333), (1691592,"Rizal","PH",121.346603,17.8486), (1691594,"Liwan","PH",121.632004,17.5191), (1691597,"Rizal","PH",121.555283,16.718611), (1691612,"Rizal","PH",121.391296,14.1095), (1691614,"Rizal","PH",122.283333,13.95), (1691618,"Rizal","PH",121.158607,13.88361), (1691625,"Rizal","PH",123.914169,12.97722), (1691626,"Rizal","PH",124.1343,12.8864), (1691629,"Rizal","PH",120.966667,12.46667), (1691642,"Rizal","PH",122.860703,11.4454), (1691645,"Rizal","PH",124.579437,11.17639), (1691654,"Rizal","PH",123.421944,10.87528), (1691662,"Rizal","PH",122.633331,10.68333), (1691673,"Rizal","PH",125.483887,9.78056), (1691674,"Rizal","PH",125.398613,8.92917), (1691695,"Rissing","PH",120.434502,16.8752), (1691703,"<NAME>","PH",117.431686,8.50613), (1691712,"Rimus","PH",120.396599,16.8764), (1691713,"Rimpeso","PH",124.100281,7.02389), (1691769,"<NAME>","PH",121.826637,16.985451), (1691779,"<NAME>","PH",123.444504,10.52166), (1691803,"Recodo","PH",123.736954,11.94914), (1691806,"Robonkon","PH",123.418701,7.7535), (1691811,"Real","PH",120.346802,15.8085), (1691812,"Real","PH",121.604721,14.6625), (1691862,"Rapu-Rapu","PH",124.125603,13.1866), (1691872,"Ransang","PH",117.582779,8.96028), (1691899,"Ranao","PH",119.815498,16.2076), (1691903,"Ramos","PH",121.61306,16.698891), (1691909,"<NAME>","PH",123.509438,8.00194), (1691919,"Ramain","PH",124.345284,7.97083), (1691929,"<NAME>","PH",120.871201,15.4377), (1691941,"Ragay","PH",122.792297,13.8183), (1691946,"<NAME>","PH",121.774239,17.32563), (1691948,"Ragandang","PH",124.120644,6.66386), (1691968,"Quitang","PH",123.052902,13.5513), (1691973,"Quisao","PH",121.334396,14.4347), (1691976,"Quirino","PH",120.669998,17.15556), (1691977,"Quirino","PH",121.699997,17.133329), (1691995,"Quipot","PH",121.315826,13.93167), (1691996,"Quipot","PH",123,11.28333), (1692018,"Quintong","PH",120.26722,15.99528), (1692032,"Quinipot","PH",122.220284,7.18028), (1692052,"Kinatakutan","PH",122.47583,13.9525), (1692063,"Quinarayan","PH",120.472198,17.444099), (1692066,"Quinapundan","PH",125.521942,11.15833), (1692100,"Quinagaringan","PH",122.585564,11.11972), (1692113,"Quinabigan","PH",121.478119,12.9936), (1692136,"Quilo-quilo","PH",121.220901,13.8638), (1692147,"Quiling","PH",120.543892,18.068331), (1692174,"Quibal","PH",121.811348,17.7159), (1692196,"Quezon","PH",121.606537,17.31303), (1692197,"Quezon","PH",121.26667,16.5), (1692201,"Quezon","PH",122.182503,14.00944), (1692205,"Quezon","PH",123.949997,12.6), (1692210,"Quezon","PH",123.282501,10.42917), (1692211,"Quezon","PH",118.031387,9.24111), (1692287,"Putol","PH",120.727501,13.9922), (1692291,"Putlod","PH",120.8675,15.3706), (1692300,"<NAME>","PH",121.030998,14.2157), (1692302,"Putingkahoy","PH",121.32753,13.83023), (1692318,"Putiao","PH",123.714798,13.0195), (1692330,"Putat","PH",123.846901,10.7858), (1692360,"<NAME>","PH",120.357224,17.68083), (1692364,"Puro","PH",123.382698,12.4841), (1692367,"Puricay","PH",124.069572,6.68614), (1692373,"Porais","PH",121.042778,15.75444), (1692376,"Purac","PH",120.016899,15.252), (1692377,"Pura","PH",120.648003,15.6248), (1692398,"Pontian","PH",124.900284,8.28111), (1692400,"<NAME>","PH",124.26944,8.38167), (1692416,"<NAME>","PH",121.755051,18.318371), (1692419,"Punta","PH",121.307404,14.2914), (1692424,"Punta","PH",122.009697,12.2441), (1692429,"Punta","PH",125.339996,8.98972), (1692444,"Punolu","PH",124.583328,7.05), (1692460,"Pongol","PH",124.748329,8.27861), (1692475,"Puncan","PH",120.9907,15.9071), (1692477,"Punay","PH",121.198059,5.96139), (1692479,"Punao","PH",123.400002,10.56667), (1692481,"Punang","PH",118.0495,9.0169), (1692491,"<NAME>","PH",120.560501,15.0456), (1692493,"Pulungmasle","PH",120.5429,15.0102), (1692522,"<NAME>","PH",121.060898,14.9611), (1692529,"<NAME>","PH",120.900002,14.86667), (1692549,"Pulo","PH",120.928497,15.246), (1692550,"Pulo","PH",121.014702,14.9622), (1692603,"Pulangbato","PH",121.398613,13.7475), (1692650,"Pugo","PH",120.467003,16.3221), (1692688,"<NAME>","PH",120.954803,13.5006), (1692691,"<NAME>","PH",124.535103,10.9733), (1692699,"Puelay","PH",120.574173,15.885), (1692706,"Pudoc","PH",120.4235,16.921499), (1692708,"<NAME>","PH",120.370277,17.60667), (1692730,"Pualas","PH",123.848061,8.01722), (1692731,"Pualas","PH",124.071053,7.81624), (1692746,"Prosperidad","PH",123.306389,10.51611), (1692754,"Progreso","PH",122.085564,13.90361), (1692763,"Prinza","PH",121.133331,14.2), (1692776,"<NAME>","PH",124.193893,13.04167), (1692780,"President Roxas","PH",122.927902,11.431), (1692781,"President Roxas","PH",125.055832,7.15444), (1692784,"President Quirino","PH",124.737221,6.70389), (1692788,"Pitogo","PH",124.553299,10.1214), (1692792,"Parabcan","PH",123.745003,13.7088), (1692795,"Prinza","PH",120.654091,13.99679), (1692800,"Prado","PH",120.517601,14.8814), (1692802,"Pozorrubio","PH",120.543999,16.111), (1692817,"Pototan","PH",122.635201,10.9437), (1692820,"Potot","PH",123.431908,12.20345), (1692825,"Patong","PH",125.28521,12.33643), (1692844,"Potia","PH",121.48333,16.85), (1692861,"<NAME>","PH",122.150352,18.50746), (1692871,"<NAME>","PH",119.247223,10.47556), (1692901,"Poro","PH",124.408699,10.6292), (1692937,"Poona-Piagapo","PH",124.116669,8.08333), (1692977,"Pontevedra","PH",122.832497,11.4812), (1692978,"Pontevedra","PH",122.868202,10.3746), (1692985,"Ponso","PH",123.517097,13.291), (1692989,"Ponot","PH",123.022202,8.452), (1692996,"Ponong","PH",122.626099,11.0829), (1693018,"Pung-Pang","PH",125.463333,6.4975), (1693020,"Pantukan","PH",125.89917,7.16333), (1693047,"Pondaguitan","PH",126.17778,6.36115), (1693056,"Puloypuloy","PH",124.096001,6.63517), (1693066,"Polopina","PH",123.165901,11.2068), (1693069,"Polonoling","PH",124.96833,6.285), (1693072,"Polong","PH",120.4207,15.9045), (1693075,"Polong","PH",120.200897,15.9771), (1693089,"Polo","PH",119.94944,16.19833), (1693092,"Pulo","PH",121.633331,14.71667), (1693100,"Polo","PH",122.312202,11.5844), (1693104,"Polo","PH",123.18222,9.48222), (1693106,"Polo","PH",125.112503,6.26472), (1693112,"Polloc","PH",124.220833,7.35528), (1693125,"Polillo","PH",121.939171,14.71222), (1693142,"Polange","PH",124.631111,12.39667), (1693145,"Polanco","PH",123.361702,8.5329), (1693150,"Polahongon","PH",124.969398,10.5288), (1693156,"Pola","PH",121.441521,13.14379), (1693171,"Pagonisili","PH",120.258102,15.8189), (1693201,"Poctol","PH",121.432037,13.81952), (1693238,"Plaridel","PH",121,15.65), (1693243,"Plaridel","PH",122.020279,13.95111), (1693248,"Plaridel","PH",123.491386,10.89944), (1693250,"Plaridel","PH",124.764503,10.5667), (1693253,"Plaridel","PH",118.50174,9.3786), (1693255,"Plaridel","PH",123.710098,8.6214), (1693268,"Placer","PH",123.918404,11.8687), (1693270,"Placer","PH",125.602501,9.65417), (1693280,"Pitogo","PH",121.312149,5.88823), (1693303,"Pitogo","PH",122.088058,13.78472), (1693307,"Pitogo","PH",121.090408,12.50744), (1693320,"Pitogo","PH",123.311096,7.4546), (1693394,"Limbuhan","PH",124.05011,11.88376), (1693396,"<NAME>","PH",123.444962,13.02928), (1693406,"Pinukpuk","PH",121.400002,17.616671), (1693407,"Pinukpuk","PH",121.363327,17.57222), (1693409,"Pinugay","PH",121.262299,14.5967), (1693410,"Pintuyan","PH",125.249397,9.9441), (1693436,"Pinoma","PH",121.720833,16.876671), (1693440,"Pinokawan","PH",123.2939,10.34118), (1693461,"Pinit","PH",123.414001,13.5686), (1693468,"Pinili","PH",120.527802,17.9517), (1693491,"Pines","PH",123.807503,8.45222), (1693502,"Pandasan","PH",125.8535,7.2838), (1693506,"Pindangan Centro","PH",120.551392,15.86056), (1693510,"<NAME>","PH",123.949997,9.93333), (1693529,"Pinaring","PH",124.310562,7.22889), (1693590,"Pinamopoan","PH",124.573891,11.31472), (1693603,"Pinambaran","PH",120.9785,15.2018), (1693641,"Pinahan","PH",121.062103,15.6266), (1693652,"Pinagsibaan","PH",121.321182,13.8348), (1693661,"Pinagsabangan","PH",121.26812,13.26559), (1693721,"Panadtaban","PH",124.642776,6.90083), (1693742,"Pina","PH",122.638199,10.63956), (1693749,"Pimbalayan","PH",124.672501,6.86917), (1693785,"Pilig","PH",121.773888,17.342779), (1693794,"Pili","PH",123.316673,13.66667), (1693798,"Pili","PH",121.520317,13.0664), (1693799,"Pili","PH",123.864166,12.98056), (1693805,"Pili","PH",123.014702,11.1196), (1693835,"Pilar","PH",120.595398,17.4165), (1693840,"Pilar","PH",123.672401,12.9231), (1693843,"Pilar","PH",122.9963,11.487), (1693844,"Pilar","PH",124.566101,10.8065), (1693848,"Pilar","PH",126.099442,9.865), (1693849,"Pilar","PH",124.327301,9.829), (1693874,"Pikit","PH",124.671944,7.05444), (1693902,"Pigkelegan","PH",124.324722,7.23111), (1693903,"Pigcawayan","PH",124.42556,7.27722), (1693927,"Pidsandawan","PH",124.590828,6.93222), (1693935,"Pidigan","PH",120.590302,17.57), (1693941,"Piddig","PH",120.717499,18.165501), (1693970,"Piat","PH",121.477997,17.790501), (1693981,"Pias","PH",121.07473,15.34526), (1693982,"Pias-Pias","PH",120.559898,15.0198), (1693987,"<NAME>","PH",121.972397,10.7288), (1694028,"Perrelos","PH",123.673798,10.1169), (1694045,"Perez","PH",121.923058,14.195), (1694072,"Penarrubia","PH",120.651901,17.564699), (1694089,"Penablanca","PH",121.786652,17.62421), (1694091,"Pina","PH",124.403893,12.19361), (1694092,"Pena","PH",123.9384,12.089), (1694114,"Pedtad","PH",124.814438,7.16056), (1694158,"Paypay","PH",123.976196,11.2152), (1694167,"<NAME>","PH",120.328056,16.49444), (1694199,"Payapa","PH",120.892059,13.99804);
<filename>sql/picture.sql<gh_stars>1-10 -- name: create_schema# create table picture ( id serial primary key, path text, topic text, taken_at timestamp ); create index picture_ix_path on picture (path); create index picture_ix_topic on picture (topic); create index picture_ix_year on picture ( extract( year from taken_at ) ); create table picture_gargling ( picture_id smallint not null references picture(id), gargling_id smallint not null references gargling(id) ); create index picture_gargling_ix_picture_id on picture_gargling (picture_id); create index picture_gargling_ix_gargling_id on picture_gargling (gargling_id); --name: add_picture<! insert into picture (path, topic, taken_at) values (:path, :topic, :taken_at) returning id; --name: add_faces*! insert into picture_gargling (picture_id, gargling_id) values (:picture_id, :gargling_id); --name: define_args# create materialized view if not exists picture_year as select distinct extract( year from taken_at ) :: text as year from picture order by year; create materialized view if not exists picture_topic as select distinct topic from picture; -- name: get_possible_args^ select ( select array( select year from picture_year ) ) as years, ( select array( select topic from picture_topic ) ) as topics, ( select array( select slack_nick from gargling ) ) as garglings; -- name: parse_args^ select ( select year from picture_year where year = any(:args) ), ( select topic from picture_topic where topic = any(:args) ), ( select array( select slack_nick from gargling where slack_nick = any(:args) ) as garglings ), ( select case when 'kun' = any(:args) then true else false end as exclusive ); -- name: random_pic^ select path, taken_at from picture where topic = ( select topic from picture_topic order by random() limit 1 ) order by random() limit 1; -- name: pic_for_topic_year_garglings^ /*{% if garglings | length > 1 or exclusive %}*/ with garglings_arg as ( select array( select id from gargling where slack_nick = any(:garglings) order by id ) as ids ) /*{% endif %}*/ select picture.path, picture.taken_at from picture /*{% if garglings | length == 1 and not exclusive %}*/ inner join ( select picture_id from picture_gargling where gargling_id = ( select id from gargling where slack_nick = any(:garglings) ) ) as picture_gargling on picture.id = picture_gargling.picture_id /*{% elif garglings %}*/ inner join ( select picture_id, array_agg( picture_gargling.gargling_id order by picture_gargling.gargling_id ) as gargling_ids from picture_gargling group by picture_id ) as picture_gargling on picture.id = picture_gargling.picture_id /*{% if exclusive %}*/ inner join garglings_arg on picture_gargling.gargling_ids = garglings_arg.ids /*{% else %}*/ cross join garglings_arg /*{% endif %}*/ /*{% endif %}*/ /*{% if topic or year or (garglings | length > 1 and not exclusive) %}*/ where /*{% set and = joiner(" and ") %}*/ /*{% if topic %}*/ /*{{ and() }}*/ picture.topic = :topic /*{% endif %}*/ /*{% if year %}*/ /*{{ and() }}*/ extract( year from picture.taken_at ) = :year /*{% endif %}*/ /*{% if garglings | length > 1 and not exclusive %}*/ /*{{ and() }}*/ garglings_arg.ids <@ picture_gargling.gargling_ids /*{% endif %}*/ /*{% endif %}*/ order by random() limit 1;
<filename>blog.sql /* SQLyog Ultimate v13.1.1 (64 bit) MySQL - 5.7.34 : Database - blog ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; CREATE DATABASE /*!32312 IF NOT EXISTS*/`blog` /*!40100 DEFAULT CHARACTER SET utf8 */; USE `blog`; /*Table structure for table `t_blog` */ DROP TABLE IF EXISTS `t_blog`; CREATE TABLE `t_blog` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, `content` text, `first_picture` varchar(255) DEFAULT NULL, `flag` varchar(255) DEFAULT NULL, `views` int(11) DEFAULT NULL, `appreciation` int(11) NOT NULL DEFAULT '0', `share_statement` int(11) NOT NULL DEFAULT '0', `commentabled` int(11) NOT NULL DEFAULT '0', `published` int(11) NOT NULL DEFAULT '0', `recommend` int(11) NOT NULL DEFAULT '0', `create_time` datetime DEFAULT NULL, `update_time` datetime DEFAULT NULL, `type_id` bigint(20) DEFAULT NULL, `user_id` bigint(20) DEFAULT NULL, `description` text, `tag_ids` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; /*Data for the table `t_blog` */ insert into `t_blog`(`id`,`title`,`content`,`first_picture`,`flag`,`views`,`appreciation`,`share_statement`,`commentabled`,`published`,`recommend`,`create_time`,`update_time`,`type_id`,`user_id`,`description`,`tag_ids`) values (14,'Java多线程整理,面试相关','# Java多线程\r\n\r\n## 多线程的实现方式\r\n\r\n1. 继承Thread类,重写run方法,执行start\r\n\r\n2. 实现Runnable接口里面的run方法,并把实现对象作为参数给Thread\r\n\r\n ```java\r\n new Thread(()->{\r\n System.out.println(\"通过Runnable实现多线程:\"+Thread.currentThread().getName());\r\n }).start();\r\n ```\r\n\r\n3. 通过Callable和FutureTask方式\r\n\r\n4. 通过线程池,不用使用start\r\n\r\n## 线程的常见状态\r\n\r\nNEW,\r\n\r\nRUNNABLE,\r\n\r\nRUNNING,\r\n\r\nBLOCKED,\r\n\r\n​ WATTING,\r\n\r\n​ TIMEDWATTING,\r\n\r\nTERMINATED,\r\n\r\n## 线程常用API\r\n\r\nThread方法:\r\n\r\n* sleep:交出使用权不释放锁,进入TIMEWATTING,睡眠结束后RUNNABLE\r\n* yield:交出使用权不释放锁,进入RUNNABLE\r\n* join:先执行join的线程\r\n\r\nobject方法:\r\n\r\n* wait:交出使用权并**释放锁(和sleep最大的区别)**\r\n* notify:唤醒等待的线程,唤醒是任意的\r\n\r\n## 线程的几种状态\r\n\r\n![image-20200203175236272](https://file.xdclass.net/note/2020/%E9%9D%A2%E8%AF%95%E4%B8%93%E9%A2%98%E7%AC%AC%E4%B8%80%E5%AD%A3/%E7%AC%AC6%E7%AB%A0/%E7%AC%AC7%E9%9B%86/image-20200203175236272.png)\r\n\r\n\r\n\r\n## 保证线程安全的方法\r\n\r\n1. 加锁,synchronize/ReentrantLock\r\n2. volatile,轻量级同步不保证原子性,保证可见性和有序性\r\n3. 线程安全类(原子类,线程安全容器,信号量)\r\n\r\n## **volatile**和synchronized以及ReentrantLock\r\n\r\n```\r\nvolatile:保证可见性,但是不能保证原子性\r\nsynchronized:保证可见性,也保证原子性\r\n```\r\n\r\n### volatile:\r\n\r\nJMM模型,volatile声明变量必须到主内存去读取,每次写入必须写到主内存,可以通过避免指令重排解决有序性\r\n\r\n![image-20200205223949174](https://file.xdclass.net/note/2020/%E9%9D%A2%E8%AF%95%E4%B8%93%E9%A2%98%E7%AC%AC%E4%B8%80%E5%AD%A3/%E7%AC%AC6%E7%AB%A0/%E7%AC%AC9%E9%9B%86/image-20200205223949174.png)\r\n\r\n### synchronized:\r\n\r\nsynchronized是解决线程安全的问题,常用在 同步普通方法、静态方法、代码块中,非公平、可重入\r\n\r\n```\r\n两种形式:\r\n方法:生成的字节码文件中会多一个 ACC_SYNCHRONIZED 标志位,当一个线程访问方法时,会去检查是否存在ACC_SYNCHRONIZED标识,如果存在,执行线程将先获取monitor,获取成功之后才能执行方法体,方法执行完后再释放monitor。在方法执行期间,其他任何线程都无法再获得同一个monitor对象,也叫隐式同步\r\n\r\n代码块:加了 synchronized 关键字的代码段,生成的字节码文件会多出 monitorenter 和 monitorexit 两条指令,每个monitor维护着一个记录着拥有次数的计数器, 未被拥有的monitor的该计数器为0,当一个线程获执行monitorenter后,该计数器自增1;当同一个线程执行monitorexit指令的时候,计数器再自减1。当计数器为0的时候,monitor将被释放.也叫显式同步\r\n\r\n两种本质上没有区别,底层都是通过monitor来实现同步, 只是方法的同步是一种隐式的方式来实现,无需通过字节码来完成\r\n```\r\n\r\n1.6以后的优化:\r\n\r\n阻塞状态涉及到用户态和内核态的转换代价比较高,1.6后进行偏向锁->轻量级锁(自旋锁)->重量级锁(阻塞状态)的转换\r\n\r\n![image-20200210183813283](https://file.xdclass.net/note/2020/%E9%9D%A2%E8%AF%95%E4%B8%93%E9%A2%98%E7%AC%AC%E4%B8%80%E5%AD%A3/%E7%AC%AC7%E7%AB%A0/%E7%AC%AC8%E9%9B%86/synchronized-img.png)\r\n\r\n### ReentrantLock\r\n\r\n* ReentrantLock是接口AQS实现类,通过state和FIFO队列控制加锁,synchronized控制的是对象头\r\n* 可重入,可判断,可选择是否公平;synchronized只能不公平\r\n* synchronized自动加锁解锁,ReentrantLock要手动有时候不方便\r\n* synchronized和ReentrantLock都是可重入锁,悲观锁,独占锁\r\n\r\n## Java中的锁分类\r\n\r\n* 悲观锁和乐观锁(CAS)\r\n* 公平锁和非公平锁,非公平锁效率一般高于公平锁,ReentrantLock可选择是否公平,synchronized非公平\r\n* 可重入锁(synchronized、ReentrantLock)和不可重入锁\r\n* 自旋锁\r\n* 读锁和写锁\r\n\r\n## CAS相关\r\n\r\ncompare and swap\r\n\r\n通过unsafe类实现原子操作,地址不一样时使用自旋操作,原子类由CAS实现\r\n\r\nCAS会产生ABA问题,可以通过标志位解决问题\r\n\r\n### AQS相关\r\n\r\n全称AbstractQueuedSynchronizer,java底层同步的工具类\r\n\r\n![image-20200214151433962](https://file.xdclass.net/note/2020/%E9%9D%A2%E8%AF%95%E4%B8%93%E9%A2%98%E7%AC%AC%E4%B8%80%E5%AD%A3/%E7%AC%AC8%E7%AB%A0/%E7%AC%AC1%E9%9B%86/image-20200214151433962.png)\r\n\r\n```\r\n实现支持独占锁的同步器应该实现tryAcquire、 tryRelease、isHeldExclusively\r\n实现支持共享获取的同步器应该实现tryAcquireShared、tryReleaseShared、isHeldExclusively\r\n```\r\n\r\n## ReentrantReadWriteLock和ReentrantLock?\r\n\r\n读写分离以及读写不分离区别\r\n\r\n* 都是AQS的实现类\r\n* 读锁可以共享,写锁独占;ReentrantLock全部独占\r\n* 读写允许降级不允许升级,只有读锁之间不互斥\r\n\r\n![image-20200215105626961](https://file.xdclass.net/note/2020/%E9%9D%A2%E8%AF%95%E4%B8%93%E9%A2%98%E7%AC%AC%E4%B8%80%E5%AD%A3/%E7%AC%AC8%E7%AB%A0/%E7%AC%AC4%E9%9B%86/image-20200215105626961.png)\r\n\r\n## 阻塞队列和非阻塞队列\r\n\r\n![img](https://pics4.baidu.com/feed/8b82b9014a90f6033328fb1ef985001eb151ed68.jpeg?token=8ab003f435a50fd6ac1568fbd056b386&s=39BEEC12138A614B5A74DF6202006075)\r\n\r\n### 阻塞队列\r\n\r\nArrayBlockingQueue:基于数组实现,先进先出,有界队列,必须指定容量,基于ReentraitLock,可指定是否公平\r\n\r\nLinkedBlokingQueue:基于链表实现,不指定容量大小的话默认max,先进先出,使用两个独占锁控制并发,优先使用\r\n\r\nPriorityBlockingQueue:优先级队列\r\n\r\nDelayQueue:\r\n\r\nSynchronousQueue:CAS实现,一个没有容量的队列 ,不会存储数据,每执行一次put就要执行一次take,否则就会阻塞。未使用锁。通过cas实现,吞吐量异常高。\r\n\r\n| | 抛出异常 | 特殊值 | 阻塞 | *超时* |\r\n| -------- | ----------- | ---------- | -------- | ---------------------- |\r\n| **插入** | `add(e)` | `offer(e)` | `put(e)` | `offer(e, time, unit)` |\r\n| **移除** | `remove()` | `poll()` | `take()` | `poll(time, unit)` |\r\n| **检查** | `element()` | `peek()` | *不可用* | *不可用* |\r\n\r\n总结:阻塞队列多基于AQS实现,属于悲观锁。当一个线程无法使用时很容易造成所有线程无法使用。当队列中没有元素时取元素会被阻塞\r\n\r\n### 非阻塞队列\r\n\r\nConcurrentLinkedQueue:无界线程安全队列,先进先出,通过add方法加在队尾,通过pool方法移除并返回队首元素。\r\n\r\nLinkedTransferQueue\r\n\r\n总结:非阻塞队列多基于CAS实现,属于乐观锁,队列中没有元素时取元素直接返回null,想要阻塞只能主动使用wait()和notify()\r\n\r\n## 线程池相关\r\n\r\n线程池的一些优点\r\n\r\n* 重用线程,简绍对象创建以及销毁的开销\r\n* 控制最大并发线程数,一定程度上避免阻塞\r\n* 定时定期执行,有一些拒绝策略\r\n\r\n常见的一些线程池:\r\n\r\n1. newFixedThreadPool,定长线程池可控制线程最大并发,允许请求的队列长度为Interger.MAX_VALUE,可能会堆积大量的请求,从而导致OOM。\r\n2. newCachedThreadPool,可缓存线程池,允许的创建线程数量为:Interger.MAX_VALUE,可能会创建大量的线程,从而导致OOM。\r\n3. newSingleThreadExecutor,单线程化的线程池,允许请求的队列长度为Interger.MAX_VALUE,可能会堆积大量的请求,从而导致OOM。\r\n4. newScheduledThreadPool,定长线程池,定时周期任务\r\n\r\n线程池创建线程过程\r\n\r\n![线程池执行逻辑](https://img-blog.csdnimg.cn/img_convert/5600336779a3831e82fdcbc1ba87fa01.png)\r\n\r\n线程满足corePoolSize,之后满足BlokingQueue,再满足maxiumPoolSize,超过总数时抛出异常\r\n\r\n## 线程同时执行,依次执行和交错执行\r\n\r\nCountDownLatch\r\n\r\n底层原理为AQS,全程维护一个Volatile修饰的state变量,state为0时通知等待的进程执行,await调用Unsafe中的park方法进行自旋,countDown通过CAS操作使state减一\r\n\r\n```java\r\nCountDownLatch latch = new CountDownLatch(1);\r\n//核心方法:\r\nlatch.await();//等待信号量为0时开始\r\nlatch.countDown();//信号数目减一 \r\n//业务逻辑\r\nCountDownLatch latch = new CountDownLatch(1);\r\nA线程(latch.await(),task.....,start());\r\nB线程(latch.await(),task.....,start());\r\nlatch.countDown();\r\n//此时所有线程开始执行\r\n主线程;\r\n\r\n也可以满足任务要求:\r\n 一个线程等待多个线程执行完毕才可以进行执行,只需要调整countDown和await的位置\r\n```\r\n\r\nCylicBarrier\r\n\r\n和CountDownLatch区别\r\n\r\n* 前者阻塞子线程,要求所有线程调用await后才可以执行;后者阻塞主线程,当countDown为0的时候子线程才可以执行\r\n* 调用await后都进入阻塞状态,前者是所有线程await后开始执行,后者是countDown为0时所有线程开始执行\r\n\r\n```java\r\n//核心方法\r\n//await\r\n//使用方法\r\n//主线程main\r\npublic static void main(String[] args) {\r\n \r\n CyclicBarrier barrier = new CyclicBarrier(3);\r\n \r\n for(int i = 0; i < barrier.getParties(); i++){\r\n \r\n new Thread(new MyRunnable(barrier), \"队友\"+i).start();\r\n \r\n }\r\n \r\n private static MyRunnable implements Runnable{\r\n \r\n private final CyclicBarrier barrier;\r\n //构造方法\r\n public MyRunnable(CyclicBarrier barrier){\r\n this.barrier = barrier;\r\n }\r\n @Override\r\n public void run(){\r\n //此处为执行的任务\r\n task....;\r\n //核心方法\r\n this.barrier.await();\r\n } \r\n \r\n \r\n }\r\n```\r\n\r\n\r\n\r\nSemaphore\r\n\r\n保证并发的线程数不大于设置的信号数目\r\n\r\n```java\r\nSemaphore semaphore = new Semaphore(num);\r\n//核心方法\r\nsemaphore.acquire();\r\nsemaphore.release();\r\n```\r\n\r\n','https://pic4.zhimg.com/v2-0f922e2f43da24e4deb943938b056881_b.jpg','原创',3,1,1,1,1,1,'2021-07-25 10:09:26','2021-07-25 11:01:47',1,1,'对于多线程常见概念的整理和简单使用。','10'), (15,'Java数据结构整理,面试','# Java集合相关\r\n\r\njava的集合\r\n\r\n1. Collection接口\r\n\r\n * List实现类:元素有序,可以包含重复元素\r\n\r\n - ArrayList\r\n\r\n 1. 底层结构为数组,查询快增删慢,线程不安全\r\n\r\n 2. 如何实现线程安全的ArrayList?\r\n 1. 自己写包装类加锁\r\n\r\n 2. Collection.synchronedList(new ArrayList<>())\r\n\r\n 3. CopyOnWriteArrayList<>(),通过ReentrantLock加锁\r\n\r\n 2和3的区别是什么?\r\n\r\n * CopyOnWriteArrayList会拷贝新的数据,通过可重入锁保证多个线程不会拷贝一个数组,读性能很高,写性能相对较差,读不需要加锁\r\n * Collection.synchronedList(new ArrayList<>())完全使用synchroned进行加锁\r\n\r\n 3. List的扩容机制\r\n\r\n 1. 1.7前默认是10,1.7后默认是0\r\n 2. 未指定容量时是0,第一个元素进去后是10,大于其容量后扩容大小 = 原始大小+原始大小/2 \r\n\r\n - LinkList\r\n\r\n 底层为链表,查询慢,增删快,线程不安全\r\n\r\n - Vector\r\n\r\n 底层为数组,只不过线程安全\r\n\r\n * Set实现类:不能包含重复元素,最多一个null值\r\n\r\n - HashSet\r\n\r\n 底层由Hash表实现,元素无序且唯一\r\n\r\n 线程不安全,效率高\r\n\r\n 唯一性靠重写HashCode()和Equal()方法来保证\r\n\r\n + LinkHashSet\r\n\r\n 底层数据结构采用链表+哈希表\r\n\r\n 链表保证元素的添加顺序\r\n\r\n 哈希表保证元素的唯一性。\r\n\r\n - TreeSet\r\n\r\n 底层数据结构为红黑树\r\n\r\n 元素唯一且已经排序,同样需要重写HashCode()和Equal()方法\r\n\r\n - 面试相关:HashSet是如何保证元素的唯一性?\r\n\r\n 当调用add()方法向集合中存入对象的时候,首先会使用 hash() 函数生成一个 int 类型的 hashCode 散列值,然后与已经存储的元素的 hashCode 值作比较,如果 hashCode 值不相等,则所存储的两个对象一定不相等,此时把这个新元素存储在它的 hashCode 位置上;如果 hashCode 相等,存储元素的对象还是不一定相等,此时会调用 equals() 方法判断两个对象的内容是否相等,如果 equals() 返回true,则是同一个对象,无需存储;如果 equals() 返回 false,那么就是不同的对象,就需要存储,不过由于 hashCode 相同,HashSet会以链式结构将两个对象保存在同一位置,这将导致性能下降,因此在编码时应避免出现这种情况。\r\n\r\n2. Map接口\r\n\r\n - HashMap\r\n\r\n HashMap最多只允许一条记录的键为Null,允许多条记录的值为Null,是非同步的\r\n HashMap是无序的散列映射表;*\r\n HashMap通过Hash 算法来决定存储位置\r\n 底层实现是**数组+链表+红黑树**(泊松分布),初始容量是16,初始加载因子0.75,\r\n\r\n 1. 如何实现HashMap的线程安全?\r\n\r\n 多线程环境下可以使用ConcurrentHashMap,或者使用Collections.synchronizedMap()\r\n\r\n 2. 为什么2的n次方为数组\r\n\r\n 再进行tab[i = (n - 1) & hash]与运算的过程中,如果不是2的n次方,对应的二进制位肯定有一位为0永远用不上\r\n\r\n 3. 扩容\r\n\r\n 当元素个数超过负载因子的时候会进行扩容,直接扩大一倍,之后会重新计算元素的位置非常耗性能,尽量设置hashmap的初始容量\r\n\r\n 4. hashcode计算方法\r\n\r\n ```java\r\n (h = key.hashCode()) ^ (h >>> 16)\r\n ```\r\n\r\n 5. ConcurrentHashMap\r\n\r\n 在读操作的时候使用大量的unsafe类\r\n\r\n ```\r\n 比如\r\n tabAt中的getObjectVolatile\r\n casTabAt中的compareAndSwapObject\r\n setTabAt中的putObjectVolatile\r\n ```\r\n \r\n \r\n \r\n 在写操作的时候使用synchronize锁操作\r\n \r\n ```java\r\n 对key进行重哈希;\r\n 初始化bitcount等于0;\r\n 对当前table无限循环;\r\n 如果没有table初始化table;\r\n 如果已经存在table;\r\n 如果没有hash冲突采用cas的方式插入;\r\n 如果当前为数据迁移模式进行数据迁移;\r\n 如果存在哈希冲突:\r\n 记录旧值,并开始加synchronize锁;\r\n 如果为链表结构:\r\n 记录bitcount为1\r\n 遍历链表:\r\n 有相同的key修改旧值;\r\n 没有相同的key插入新节点\r\n 如果为树节点结构:\r\n 记录bitcount为2\r\n 插入新节点\r\n 查看bitcount的值,如果大于8开始转换为红黑树 bitcount的值加一 \r\n ```\r\n \r\n \r\n \r\n - LinkedHashMap\r\n \r\n LinkedHashMap保存了记录的插入顺序,在用Iteraor遍历LinkedHashMap时,先得到的记录肯定是先插入的,\r\n \r\n 在遍历的时候会比HashMap慢,有HashMap的全部特性\r\n \r\n - TreeMap\r\n \r\n TreeMap实现SortMap接口,能够把它保存的记录根据键排序\r\n \r\n 默认是按键值的升序排序(自然顺序),也可以指定排序的比较器,当用Iterator遍历TreeMap时,得到的记录是排过序的\r\n \r\n 不允许key值为空,非同步\r\n 适用于按自然顺序或自定义顺序遍历键(key)。\r\n 底层是二叉树\r\n 提供compareTo,可以定义排序方法\r\n \r\n - HashTable\r\n \r\n Hashtable与HashMap类似,是HashMap的线程安全版,它支持线程的同步\r\n \r\n 即任一时刻只有一个线程能写Hashtable,因此也导致了Hashtale在写入时会比较慢\r\n \r\n 它继承自Dictionary类,不同的是它不允许记录的键或者值为null,同时效率较低\r\n \r\n HashMap 需要重新计算 hash 值,而 HashTable 直接使用对象的 hashCode','https://www.freesion.com/images/629/caf046f64783cc96ab2f3377b0c57fed.png','原创',2,1,1,1,1,1,'2021-07-25 10:12:00','2021-07-25 10:12:00',1,1,'对Java常见数据结构进行整理,包含并发数据结构相关知识概念。','10'), (16,'Redis底层分析整理,面试备用','-\r\n\r\n## Redis为什么速度快\r\n\r\n![img](https://static001.geekbang.org/resource/image/82/01/8219f7yy651e566d47cc9f661b399f01.jpg)\r\n\r\n1. 使用内存作为存储\r\n2. 数据结构\r\n\r\n### 什么时候变慢\r\n\r\nRedis使用哈希表保存所有的键值对,但是哈希表冲突问题和rehash可能带来操作阻塞。\r\n\r\n当数据过多时会采用rehash操纵增加哈希通的数量。\r\n\r\n一开始有两个全局hash表,当快满的时候采用rehash\r\n\r\n* 给表2更大的空间\r\n* 表1的数据映射拷贝过去\r\n* 释放表1的空间\r\n* 大量拷贝开销很大,一般渐进式操作,找到索引位置的entry一并拷贝到第二张表。\r\n\r\n#### 集合操作效率\r\n\r\n哈希表:O(1)\r\n\r\n整数数组:O(n)\r\n\r\n双向链表:O(n)\r\n\r\n压缩表:第一个和最后一个元素复杂度O(1),其他为O(n)\r\n\r\n跳表:有序链表为基础O(logN)\r\n\r\n![img](https://static001.geekbang.org/resource/image/1e/b4/1eca7135d38de2yy16681c2bbc4f3fb4.jpg)\r\n\r\n尽量避免全局遍历,复杂度过高。\r\n\r\n## 为什么单线程的Redis这么快\r\n\r\nRedis网络IO和键值对读写是一个线程\r\n\r\n多线程容易产生并发以及互斥问题\r\n\r\n### 为什么Redis快\r\n\r\n1. 内存数据库\r\n2. 高效数据结构\r\n3. 多路复用机制\r\n\r\n### scoket网络模型\r\n\r\n![img](https://static001.geekbang.org/resource/image/1c/4a/1ccc62ab3eb2a63c4965027b4248f34a.jpg)\r\n\r\n### 基于多路复用的高性能IO模型\r\n\r\n允许内核中存在多个监听嵌套字和已连接嵌套字\r\n\r\n![img](https://static001.geekbang.org/resource/image/00/ea/00ff790d4f6225aaeeebba34a71d8bea.jpg)\r\n\r\n## 如何避免数据丢失\r\n\r\n### AOF(Append Only File)日志\r\n\r\n![img](https://static001.geekbang.org/resource/image/40/1f/407f2686083afc37351cfd9107319a1f.jpg)\r\n\r\nredo log记录的是修改后的数据\r\n\r\nAOF记录的是每一条命令,先执行命令后修改,不会阻塞当前的写操作。\r\n\r\n潜在风险\r\n\r\n* 没来得及保存就丢失\r\n* 阻塞下一次写\r\n\r\n#### 写回策略\r\n\r\n![img](https://static001.geekbang.org/resource/image/72/f8/72f547f18dbac788c7d11yy167d7ebf8.jpg)\r\n\r\n#### AOF重写机制\r\n\r\n![img](https://static001.geekbang.org/resource/image/65/08/6528c699fdcf40b404af57040bb8d208.jpg)\r\n\r\n对同一个键值对多次处理后可以只使用最新的数据\r\n\r\n#### 重写是否造成线程阻塞\r\n\r\n重写的过程由子线程完成,写会数据由主线程完成\r\n\r\n![img](https://static001.geekbang.org/resource/image/6b/e8/6b054eb1aed0734bd81ddab9a31d0be8.jpg)\r\n\r\n### RDB (REedis DataBase)快照\r\n\r\n#### 给哪些内存数据做快照?\r\n\r\n全量快照,默认使用 bgsave,创建一个子进程专门处理存储\r\n\r\n#### 快照时数据是否可以修改?\r\n\r\n使用写时复制技术(Copy-On-Write, COW)技术,执行快照的同时正常处理写操作\r\n\r\n![img](https://static001.geekbang.org/resource/image/4d/cc/4dc5fb99a1c94f70957cce1ffef419cc.jpg)\r\n\r\n#### 多久做一次快照\r\n\r\nRedis 4.0 中提出了一个混合使用 AOF 日志和内存快照的方法。简单来说,内存快照以一定的频率执行,在两次快照之间,使用 AOF 日志记录这期间的所有命令操作。\r\n\r\n## 主从库如何实现数据移植\r\n\r\n### 如何进行第一次同步\r\n\r\n![img](https://static001.geekbang.org/resource/image/63/a1/63d18fd41efc9635e7e9105ce1c33da1.jpg)\r\n\r\n第一次复制是全量复制\r\n\r\n### 主从级联模式分担全量复制时的主库压力\r\n\r\n![img](https://static001.geekbang.org/resource/image/40/45/403c2ab725dca8d44439f8994959af45.jpg)\r\n\r\n### 主从库网络断了怎么办?\r\n\r\n采用缓冲区环形增量复制\r\n\r\nmaster_repl_offset\r\n\r\nslave_repl_offset\r\n\r\n![img](https://static001.geekbang.org/resource/image/13/37/13f26570a1b90549e6171ea24554b737.jpg)\r\n\r\n![img](https://static001.geekbang.org/resource/image/20/16/20e233bd30c3dacb0221yy0c77780b16.jpg)\r\n\r\n由于环形写的问题存在写满的情况\r\n\r\nrepl_backlog_size设置\r\n\r\n## 主库挂了怎么办\r\n\r\n![img](https://static001.geekbang.org/resource/image/ef/a1/efcfa517d0f09d057be7da32a84cf2a1.jpg)\r\n\r\n* 在监控任务中,哨兵需要判断主库是否处于下线状态;\r\n * 主观下线\r\n * 客观下线\r\n * 误判一般会发生在集群网络压力较大、网络拥塞,或者是主库本身压力较大的情况下。\r\n * 通常会采用多实例组成的集群模式进行部署,这也被称为哨兵集群。引入多个哨兵实例一起来判断,就可以避免单个哨兵因为自身网络状况不好,而误判主库下线的情况。\r\n* 在选主任务中,哨兵也要决定选择哪个从库实例作为主库。\r\n * 除了要检查从库的当前在线状态,还要判断它之前的网络连接状态\r\n * 第一轮:优先级最高的从库得分高。\r\n * 第二轮:和旧主库同步程度最接近的从库得分高。\r\n * slave_repl_offset 需要最接近 master_repl_offset\r\n * 第三轮:ID 号小的从库得分高。\r\n\r\n## 哨兵挂了主从库如何切换\r\n\r\n### 基于 pub/sub 机制的哨兵集群组成\r\n\r\n哨兵实例之间可以相互发现,要归功于 Redis 提供的 pub/sub 机制,也就是发布 / 订阅机制。\r\n\r\n![img](https://static001.geekbang.org/resource/image/ca/b1/ca42698128aa4c8a374efbc575ea22b1.jpg)\r\n\r\n哨兵通过INFO命令和主库链接得到从库的地址\r\n\r\n![img](https://static001.geekbang.org/resource/image/88/e0/88fdc68eb94c44efbdf7357260091de0.jpg)\r\n\r\n### 基于 pub/sub 机制的客户端事件通知\r\n\r\n从本质上说,哨兵就是一个运行在特定模式下的 Redis 实例,只不过它并不服务请求操作,只是完成监控、选主和通知的任务。所以,每个哨兵实例也提供 pub/sub 机制,客户端可以从哨兵订阅消息。哨兵提供的消息订阅频道有很多,不同频道包含了主从库切换过程中的不同关键事件。\r\n\r\n### 由哪个哨兵执行主从切换?\r\n\r\n任何一个实例只要自身判断主库“主观下线”后,就会给其他实例发送 is-master-down-by-addr 命令。\r\n\r\n一个哨兵获得了仲裁所需的赞成票数后,就可以标记主库为“客观下线”。这个所需的赞成票数是通过哨兵配置文件中的 quorum 配置项设定的。\r\n\r\n![img](https://static001.geekbang.org/resource/image/e0/84/e0832d432c14c98066a94e0ef86af384.jpg)\r\n\r\n在投票过程中,任何一个想成为 Leader 的哨兵,要满足两个条件:第一,拿到半数以上的赞成票;第二,拿到的票数同时还需要大于等于哨兵配置文件中的 quorum 值。\r\n\r\n## 切片集群:数据增多了,是该加内存还是加实例?\r\n\r\n![img](https://static001.geekbang.org/resource/image/79/26/793251ca784yyf6ac37fe46389094b26.jpg)\r\n\r\n### 如何保存更多数据?\r\n\r\n* 纵向扩展:升级单个 Redis 实例的资源配置,包括增加内存容量、增加磁盘容量、使用更高配置的 CPU。就像下图中,原来的实例内存是 8GB,硬盘是 50GB,纵向扩展后,内存增加到 24GB,磁盘增加到 150GB。\r\n* 横向扩展:横向增加当前 Redis 实例的个数,就像下图中,原来使用 1 个 8GB 内存、50GB 磁盘的实例,现在使用三个相同配置的实例。\r\n\r\n![img](https://static001.geekbang.org/resource/image/7a/1a/7a512fec7eba789c6d098b834929701a.jpg)\r\n\r\n### 数据切片和实例的对应分布关系\r\n\r\n一个实例可以有很多哈希槽,一共16384个槽\r\n\r\n![img](https://static001.geekbang.org/resource/image/7d/ab/7d070c8b19730b308bfaabbe82c2f1ab.jpg)\r\n\r\n### 客户端如何定位数据?\r\n\r\n一般来说,客户端和集群实例建立连接后,实例就会把哈希槽的分配信息发给客户端。Redis 实例会把自己的哈希槽信息发给和它相连接的其它实例,来完成哈希槽分配信息的扩散。当实例之间相互连接后,每个实例就有所有哈希槽的映射关系了。\r\n\r\n![img](https://static001.geekbang.org/resource/image/35/09/350abedefcdbc39d6a8a8f1874eb0809.jpg)\r\n\r\n## 为什么String的内存开销大\r\n\r\nString 类型并不是适用于所有场合的,它有一个明显的短板,就是它保存数据时所消耗的内存空间较多。\r\n\r\n当保存的数据包含字符时,String类型使用简单动态字符串\r\n\r\n![img](https://static001.geekbang.org/resource/image/37/57/37c6a8d5abd65906368e7c4a6b938657.jpg)\r\n\r\nlen:已用长度\r\n\r\nalloc:全部长度\r\n\r\nbuf:实际内容\r\n\r\n![img](https://static001.geekbang.org/resource/image/ce/e3/ce83d1346c9642fdbbf5ffbe701bfbe3.jpg)\r\n\r\njemalloc 在分配内存时,会根据我们申请的字节数 N,找一个比 N 大,但是最接近 N 的 2 的幂次数作为分配的空间,这样可以减少频繁分配的次数。\r\n\r\n### 节省内存的数据结构\r\n\r\n压缩列表ziplist\r\n\r\n![img](https://static001.geekbang.org/resource/image/f6/9f/f6d4df5f7d6e80de29e2c6446b02429f.jpg)\r\n\r\n表头有三个字段 zlbytes、zltail 和 zllen,分别表示列表长度、列表尾的偏移量,以及列表中的 entry 个数。压缩列表尾还有一个 zlend,表示列表结束。\r\n\r\n### 如何用集合类型保存单值的键值对?\r\n\r\n在保存单值的键值对时,可以采用基于 Hash 类型的二级编码方法。这里说的二级编码,就是把一个单值的数据拆分成两部分,前一部分作为 Hash 集合的 key,后一部分作为 Hash 集合的 value,这样一来,我们就可以把单值数据保存到 Hash 集合中了。\r\n\r\n### Hash 类型底层结构什么时候使用压缩列表,什么时候使用哈希表呢?\r\n\r\nHash 类型设置了用压缩列表保存数据时的两个阈值,一旦超过了阈值,Hash 类型就会用哈希表来保存数据了。\r\n\r\n* hash-max-ziplist-entries:表示用压缩列表保存时哈希集合中的最大元素个数。hash-max\r\n* ziplist-value:表示用压缩列表保存时哈希集合中单个元素的最大长度。\r\n\r\n## 统计大量的key如何解决?\r\n\r\n集合类型常见的四种统计模式,包括聚合统计、排序统计、二值状态统计和基数统计\r\n\r\n### 聚合统计\r\n\r\nSet 的差集、并集和交集的计算复杂度较高,在数据量较大的情况下,如果直接执行这些计算,会导致 Redis 实例阻塞。所以,我给你分享一个小建议:你可以从主从集群中选择一个从库,让它专门负责聚合计算,或者是把数据读取到客户端,在客户端来完成聚合统计,这样就可以规避阻塞主库实例和其他从库实例的风险了。\r\n\r\n### 排序统计\r\n\r\n在 Redis 常用的 4 个集合类型中(List、Hash、Set、Sorted Set),List 和 Sorted Set 就属于有序集合。\r\n\r\nList 是按照元素进入 List 的顺序进行排序的,而 Sorted Set 可以根据元素的权重来排序\r\n\r\n### 二值状态\r\n\r\nBitmap 本身是用 String 类型作为底层数据结构实现的一种统计二值状态的数据类型。String 类型是会保存为二进制的字节数组,所以,Redis 就把字节数组的每个 bit 位利用起来,用来表示一个元素的二值状态。你可以把 Bitmap 看作是一个 bit 数组。\r\n\r\n### 基数统计\r\n\r\n基数统计。基数统计就是指统计一个集合中不重复的元素个数。对应到我们刚才介绍的场景中,就是统计网页的 UV。\r\n\r\n## 消息队列\r\n\r\n### 对于消息队列的存取需求\r\n\r\n![img](https://static001.geekbang.org/resource/image/d7/bc/d79d46ec4aa22bf46fde3ae1a99fc2bc.jpg)\r\n\r\n![img](https://static001.geekbang.org/resource/image/f4/62/f470bb957c1faff674c08b1fa65a3a62.jpg)\r\n\r\n\r\n\r\n三个要求\r\n\r\n* 消息保存\r\n* 处理重复消息\r\n* 消息可靠性\r\n\r\n### 基于 List 的消息队列解决方案\r\n\r\n* 消息保存:BRPOP 命令也称为阻塞式读取,客户端在没有读到队列数据时,自动阻塞,直到有新的数据写入队列,再开始读取新数据\r\n* 重复消息:一方面,消息队列要能给每一个消息提供全局唯一的 ID 号;另一方面,消费者程序要把已经处理过的消息的 ID 号记录下来。\r\n* 消息可靠性:List 类型提供了 BRPOPLPUSH 命令,这个命令的作用是让消费者程序从一个 List 中读取消息,同时,Redis 会把这个消息再插入到另一个 List(可以叫作备份 List)留存。\r\n\r\n### 基于 Streams 的消息队列解决方案\r\n\r\n* XADD:插入消息,保证有序,可以自动生成全局唯一 ID;\r\n* XREAD:用于读取消息,可以按 ID 读取数据;\r\n* XREADGROUP:按消费组形式读取消息;\r\n* XPENDING 和 XACK:XPENDING 命令可以用来查询每个消费组内所有消费者已读取但尚未确认的消息,而 XACK 命令用于向消息队列确认消息处理已完成。\r\n\r\n使用消费组的目的是让组内的多个消费者共同分担读取消息,所以,我们通常会让每个消费者读取部分消息,从而实现消息读取负载在多个消费者间是均衡分布的。\r\n\r\n## 如何避免单线程的阻塞\r\n\r\n### Redis 实例有哪些阻塞点?\r\n\r\n![img](https://static001.geekbang.org/resource/image/6c/22/6ce8abb76b3464afe1c4cb3bbe426922.jpg)\r\n\r\n### 1. 和客户端交互时的阻塞点\r\n\r\n* 多路复用机制IO多路复用不是主要的点\r\n* 当高于O(N)会被判断为高复杂度,第一个阻塞点:集合全量查询和聚合操作\r\n* 大量删除操作,bigkey和清空数据库\r\n\r\n### 2. 和磁盘交互时的阻塞点\r\n\r\nRedis 进一步设计为采用子进程的方式生成 RDB 快照文件,以及执行 AOF 日志重写操作。不会导致阻塞。\r\n\r\n第四个阻塞点了:AOF 日志同步写。\r\n\r\n### 3. 主从节点交互时的阻塞点\r\n\r\n从库FLUSHDB以及从库加载RDB文件\r\n\r\n### 4. 切片集群实例交互时的阻塞点\r\n\r\n当没有 bigkey 时,切片集群的各实例在进行交互时不会阻塞主线程,就可以了。\r\n\r\n### 总结\r\n\r\n集合全量查询和聚合操作;bigkey 删除;清空数据库;AOF 日志同步写;从库加载 RDB 文件。\r\n\r\n## 为什么CPU的结构会影响Redis速度\r\n\r\n![img](https://static001.geekbang.org/resource/image/d9/09/d9689a38cbe67c3008d8ba99663c2f09.jpg)\r\n\r\ncontext switch 是指线程的上下文切换,这里的上下文就是线程的运行时信息。在 CPU 多核的环境中,一个线程先在一个 CPU 核上运行,之后又切换到另一个 CPU 核上运行,这时就会发生 context switch。\r\n\r\n通过\r\n\r\n```\r\ntaskset -c 0 ./redis-server\r\n```\r\n\r\n命令绑定核减少多核切换带来的损耗\r\n\r\n对于网络中断程序:\r\n\r\n我们最好把网络中断程序和 Redis 实例绑在同一个 CPU Socket 上,这样一来,Redis 实例就可以直接从本地内存读取网络数据了,如下图所示:\r\n\r\n\r\n\r\n![img](https://static001.geekbang.org/resource/image/41/79/41f02b2afb08ec54249680e8cac30179.jpg)\r\n\r\n绑定核心数带来的风险:\r\n\r\n* 一个 Redis 实例对应绑一个物理核,物理核有多个逻辑核\r\n* 修改源码,把子进程和后台进程绑定到不同的核上\r\n\r\n## Redis的慢操作\r\n\r\n### Redis自身操作特性影响\r\n\r\n1. 慢查询命令\r\n 1. 高效命令代替:SCCAN代替SMEMBERS\r\n 2. 排序,交集,并集操作交给客户端\r\n 3. keys命令\r\n2. 过期key操作\r\n 1. 删除操作是阻塞的,4.0后用异步线程减少带来的影响\r\n 2. 大量的key同时过期\r\n3. 文件系统压力比较大\r\n\r\n![img](https://static001.geekbang.org/resource/image/2a/a6/2a47b3f6fd7beaf466a675777ebd28a6.jpg)\r\n\r\n由于 fsync 后台子线程和 AOF 重写子进程的存在,主 IO 线程一般不会被阻塞。但是,如果在重写日志时,AOF 重写子进程的写入量比较大,fsync 线程也会被阻塞,进而阻塞主线程,导致延迟增加。\r\n\r\n4. 操作系统的swap\r\n 1. swap 的原因主要是物理机器内存不足\r\n 1. Redis 实例自身使用了大量的内存,导致物理机器的可用内存不足;\r\n 2. 和 Redis 实例在同一台机器上运行的其他进程,在进行大量的文件读写操作。文件读写本身会占用系统内存,这会导致分配给 Redis 实例的内存量变少,进而触发 Redis 发生 swap。\r\n 2. 增加机器的内存或者使用 Redis 集群。\r\n 3. 内存大页机制,很少的数据却要拷贝较大的内存页\r\n\r\n### 总结\r\n\r\n获取 Redis 实例在当前环境下的基线性能。是否用了慢查询命令?如果是的话,就使用其他命令替代慢查询命令,或者把聚合计算命令放在客户端做。\r\n\r\n是否对过期 key 设置了相同的过期时间?对于批量删除的 key,可以在每个 key 的过期时间上加一个随机数,避免同时删除。\r\n\r\n是否存在 bigkey? 对于 bigkey 的删除操作,如果你的 Redis 是 4.0 及以上的版本,可以直接利用异步线程机制减少主线程阻塞;如果是 Redis 4.0 以前的版本,可以使用 SCAN 命令迭代删除;对于 bigkey 的集合查询和聚合操作,可以使用 SCAN 命令在客户端完成。\r\n\r\nRedis AOF 配置级别是什么?业务层面是否的确需要这一可靠性级别?如果我们需要高性能,同时也允许数据丢失,可以将配置项 no-appendfsync-on-rewrite 设置为 yes,避免 AOF 重写和 fsync 竞争磁盘 IO 资源,导致 Redis 延迟增加。当然, 如果既需要高性能又需要高可靠性,最好使用高速固态盘作为 AOF 日志的写入盘。\r\n\r\nRedis 实例的内存使用是否过大?发生 swap 了吗?如果是的话,就增加机器内存,或者是使用 Redis 集群,分摊单机 Redis 的键值对数量和内存压力。同时,要避免出现 Redis 和其他内存需求大的应用共享机器的情况。\r\n\r\n在 Redis 实例的运行环境中,是否启用了透明大页机制?如果是的话,直接关闭内存大页机制就行了。\r\n\r\n是否运行了 Redis 主从集群?如果是的话,把主库实例的数据量大小控制在 2~4GB,以免主从复制时,从库因加载大的 RDB 文件而阻塞。\r\n\r\n是否使用了多核 CPU 或 NUMA 架构的机器运行 Redis 实例?使用多核 CPU 时,可以给 Redis 实例绑定物理核;使用 NUMA 架构时,注意把 Redis 实例和网络中断处理程序运行在同一个 CPU Socket 上。\r\n\r\n## 数据删除后Redis内存占用依然过高\r\n\r\n### 内存碎片如何产生\r\n\r\n1. 内存分配器的分配策略:jemalloc 的分配策略之一,是按照一系列固定的大小划分内存空间,例如 8 字节、16 字节、32 字节、48 字节,…, 2KB、4KB、8KB 等。\r\n2. 外因:键值对大小不一样和删改操作,通过查看碎片率自动清理,会带来额外的时间消耗','https://th.bing.com/th/id/OIP.fbhEiN3rkB1mjIxGDlrUKAHaHa?pid=ImgDet&rs=1','原创',1,0,1,1,1,1,'2021-07-25 10:16:53','2021-07-25 10:16:53',1,1,'Redis底层数据结构解析。','10,11'), (17,'MySQL底层分析,面试相关','# Mysql\r\n\r\n## sql语句是如何执行的\r\n\r\n![img](https://static001.geekbang.org/resource/image/0d/d9/0d2070e8f84c4801adbfa03bda1f98d9.png)\r\n\r\n1. 连接器\r\n\r\n 长连接和短连接\r\n\r\n 长连接指连接成功后持续请求使用一个,短连接为执行很少的查询就断开\r\n\r\n 建立连接比较复杂建议使用长连接\r\n\r\n - 长连接带来内存满问题两种解决方案\r\n\r\n 定期断开长连接\r\n\r\n 5.7以上执行完大的操作后mysq_reset_connection初始化链接\r\n\r\n2. 查询缓存\r\n\r\n 命中后就返回,不建议使用因为频繁更新的表缓存命中率十分低,8.0以后的版本删除。\r\n\r\n3. 分析器\r\n\r\n 先进性词法分析后进行语法分析。\r\n\r\n4. 优化器\r\n\r\n 多个索引时哪个索引\r\n\r\n 多表关联时连接表的顺序\r\n\r\n5. 执行器\r\n\r\n## SQL更新语句是如何执行的\r\n\r\n\r\n\r\n### redo log\r\n\r\n记账方法:直接记账,粉笔记账\r\n\r\n粉笔记账:WAL(wtrite-ahead-logging)先写日志再写磁盘\r\n\r\n![img](https://static001.geekbang.org/resource/image/16/a7/16a7950217b3f0f4ed02db5db59562a7.png)\r\n\r\nInnoDB的redolog大小为4GB,系统空闲的时候进行io操作,分为write pos和check pos\r\n\r\n保证异常重启后记录不会丢失,crash-safe\r\n\r\n### binlog\r\n\r\n1. 两者区别\r\n\r\n redo log只有InnoDB拥有,binlog都拥有,属于SQL的service层\r\n\r\n redo log是物理日志,binlog是逻辑日志\r\n\r\n redo log循环写,binlog追加写\r\n\r\n2. 执行流程先写入redolog后写入binlog\r\n\r\n ![img](https://static001.geekbang.org/resource/image/2e/be/2e5bff4910ec189fe1ee6e2ecc7b4bbe.png)\r\n\r\n3. 两阶段提交\r\n\r\n 为了两份日志的逻辑一致\r\n\r\n## 事务隔离\r\n\r\n原子性,一致性,隔离性,永久性\r\n\r\n四种隔离级别\r\n\r\n* 读未提交:事务提交前能被别的事务看到\r\n* 读提交:事务提交后才能被别的事务看到\r\n* 可重复读: 执行时看到的数据总是和在启动时是一致的\r\n* 串行化:同一行记录会增加读锁和写锁\r\n\r\n## SQL的索引\r\n\r\n### 索引的常见模型\r\n\r\n1. 哈希表\r\n\r\n 优点:增加新的值速度很快\r\n\r\n 缺点:不是有序的,区间索引非常慢\r\n\r\n 适用于等值查询\r\n\r\n2. 有序数组\r\n\r\n 优点:等值查询以及区间查询速度非常快\r\n\r\n 缺点:数据更新慢\r\n\r\n 适用于静态存储引擎\r\n\r\n3. 搜索树\r\n\r\n 一般是多叉树\r\n\r\n### InnoDB的索引模型\r\n\r\n![img](https://static001.geekbang.org/resource/image/dc/8d/dcda101051f28502bd5c4402b292e38d.png)\r\n\r\n根据叶子结点的内容分为主键索引和非主键索引\r\n\r\n主键索引的叶子节点是所有数据,也成为聚簇索引\r\n\r\n非主键索引叶子节点为主键的值也称为二级索引\r\n\r\n尽量使用主键索引节约时间\r\n\r\n### 索引维护\r\n\r\n自增主键不涉及页分裂以及页的合并效率较高,推荐使用自增主键作为主键。\r\n\r\n业务字段作为主键:\r\n\r\n​ 只有一个索引\r\n\r\n​ 必须是唯一索引\r\n\r\n### 覆盖索引\r\n\r\n考虑一个市民表定义\r\n\r\n```mysql\r\nCREATE TABLE `tuser` (\r\n `id` int(11) NOT NULL,\r\n `id_card` varchar(32) DEFAULT NULL,\r\n `name` varchar(32) DEFAULT NULL,\r\n `age` int(11) DEFAULT NULL,\r\n `ismale` tinyint(1) DEFAULT NULL,\r\n PRIMARY KEY (`id`),\r\n KEY `id_card` (`id_card`),\r\n KEY `name_age` (`name`,`age`)\r\n) ENGINE=InnoDB\r\n```\r\n\r\n如果高频请求:根据身份证查询姓名存在,是否建立姓名对身份证号的索引?\r\n\r\n应该,避免回表,当然额外索引浪费空间。\r\n\r\n### 最左前缀原则\r\n\r\n![img](https://static001.geekbang.org/resource/image/89/70/89f74c631110cfbc83298ef27dcd6370.jpg)\r\n\r\n\r\n\r\n联合索引时如何安排字段顺序?\r\n\r\n1. 如果调整顺序可以少维护一个索引,优先考虑\r\n2. 不得已的情况考虑空间原则\r\n\r\n### 索引下推\r\n\r\nMySQL5.6以后在索引的时候就进行一次判断,减少回表次数\r\n\r\n![img](https://static001.geekbang.org/resource/image/b3/ac/b32aa8b1f75611e0759e52f5915539ac.jpg)\r\n\r\n![img](https://static001.geekbang.org/resource/image/76/1b/76e385f3df5a694cc4238c7b65acfe1b.jpg)\r\n\r\n## 全局锁和表锁\r\n\r\n### 全局锁\r\n\r\nFlush tables with read lock(FTWRL)\r\n\r\n数据库变为只读状态,典型的使用场景:做全库逻辑备份\r\n\r\n为什么全库只读使用全局锁的方法而不是用set global readonly=true的方式?\r\n\r\n* 有些系统readonly的值会被用于其他逻辑,修改global变量影像方式太大\r\n* FTWARL命令在客户端异常断开后MySQL会自动释放全局锁,而readongly在客户端异常后一直保持readonly状态\r\n\r\n### 表级锁\r\n\r\n表锁以及元数据锁\r\n\r\n表锁:加上读锁不会限制读会限制写,加上写锁限制读写。同时本线程依然被限制。\r\n\r\n元数据锁:访问时自动加上,保证读写的正确性。\r\n\r\n* MySQL5.5版本后加上,增删改查加读锁,表结构变更加写锁\r\n* 读锁之间不互斥\r\n* 读写锁之间,写锁之间互斥,两个线程3同时加字段一个要等另一个结束。\r\n\r\n## 行锁\r\n\r\n对数据表中行记录的锁\r\n\r\n### 两阶段锁\r\n\r\n在InoDB事务中,行锁在需要的时候才加上,事务结束后才释放。\r\n\r\n如果在事务中需要锁多个行,把最可能造成锁冲突,最可能影响并发度的锁往后放\r\n\r\n​ 电影票例子,先扣余额还是先扣电影票\r\n\r\n### 死锁和死锁检测\r\n\r\n![img](https://static001.geekbang.org/resource/image/4d/52/4d0eeec7b136371b79248a0aed005a52.jpg)\r\n\r\nA需要B的id=2行锁,B需要A的id=1行锁\r\n\r\n解决方法\r\n\r\n* 直接等待直到超时innodb_lock_wait_timeout默认50s\r\n* 发起死锁检测,发现死锁之后主动回滚到某一个事务innodb_deadlocked_detect设置为on\r\n\r\n热点更新导致的性能问题:所有事务更新同一行(死锁检测消耗大量的cpu资源)\r\n\r\n* 临时关掉死锁检测\r\n* 控制并发度\r\n* 修改源码,相同行的更新,进入引擎前排队\r\n* 将一行改为逻辑上的多行\r\n\r\n## 普通索引还是唯一索引\r\n\r\n### 查询过程\r\n\r\n区别微乎其微,因为InnoDb数据以数据页为单位进行读写,普通索引多做一次查找和判断下一条操作\r\n\r\n### 更新过程\r\n\r\nchange buffer\r\n\r\n* 如果更新时数据在内存直接更新数据\r\n* 如果更新时数据不在内存将数据页的逻辑操作存储在changeb buffer,下一次读这个数据页执行相关操作\r\n* merge操作定期进行\r\n\r\n唯一索引不使用change buffer因为要将数据页读取到内存才能判断\r\n\r\n普通索引能大幅度减少磁盘访问时间\r\n\r\n### change buffer的使用场景\r\n\r\n适用于写多读少,且写完后马上被访问的几率比较小的操作\r\n\r\n### redo log和change buffer\r\n\r\nredo log节省随机写磁盘的消耗,转为顺序写\r\n\r\nchange buffer节省随机读磁盘的操作\r\n\r\n## MySQL为什么会选错索引\r\n\r\n### 优化器的逻辑\r\n\r\n语句在执行前根据统计信息估算记录数,统计信息就是索引的区分度,索引的不同的值越多区分度越大,不同值的个数称之为基数。\r\n\r\n采样统计的过程中,InnoDB会选择N个数据页,统计页面不同的值得到平均值,乘以索引的页面数得到索引的基数,并且持续更新。\r\n\r\n## 字符串索引问题\r\n\r\n通过区分度设置合适的前置索引可以降低空间的实用以及扫描的时间。\r\n\r\n```mysql\r\nmysql> select count(distinct email) as L from SUser;\r\n\r\nmysql> select \r\n count(distinct left(email,4))as L4,\r\n count(distinct left(email,5))as L5,\r\n count(distinct left(email,6))as L6,\r\n count(distinct left(email,7))as L7,\r\nfrom SUser;\r\n```\r\n\r\n### 前缀索引对覆盖索引的影响\r\n\r\n当需要的字段都在完整字符\r\n\r\n索引中时不需要回表,前缀索引需要回表使用前缀索引用不上覆盖索引对查询性能的优化\r\n\r\n### 其他方式\r\n\r\n当前缀区分度不够好的时候(身份证)\r\n\r\n* 倒序索引\r\n* 使用hash字段的方式,两边判断因为hash字段可能相同\r\n\r\n相同点:\r\n\r\n* 都不支持范围查找\r\n\r\n不同点\r\n\r\n* 空间消耗问题\r\n* cpu消耗方面:reverse消耗比crc32()要小\r\n* hash效率相对稳定,倒序还是前缀索引方法\r\n\r\n## 数据为什么会抖一下\r\n\r\n有时候SQL语句会突然慢一下\r\n\r\n### SQL语句为什么变慢了\r\n\r\n将内存数据写入磁盘的操作flush\r\n\r\n当内存数据页与磁盘数据页不一致的时候,称之为脏页\r\n\r\n什么时候引发flush?\r\n\r\n* InnoDB的redo log写满了\r\n* 系统内存不足,淘汰一些数据页,如果淘汰的是脏页就要保存到磁盘,而且只要有脏页就必须写盘,为了方便下一次阅读不是直接写脏页\r\n* MySQL认为系统空闲的时候刷一下\r\n* MySQL正常关闭的时候\r\n\r\n第三种和第四种无所谓,第一种尽量要避免,因为此时系统不能更新。\r\n\r\n缓存池buffer pool状态\r\n\r\n* 没使用\r\n* 实用并且干净\r\n* 使用了但是不干净(脏页)\r\n\r\n影响性能的情况\r\n\r\n* 一个查询淘汰的脏页太多了\r\n* 日志写满了,写性能跌为零\r\n\r\n### InnoDB刷脏页的机制\r\n\r\n告诉主机的IO能力一般是磁盘的IOPS参数\r\n\r\n![img](https://static001.geekbang.org/resource/image/cc/74/cc44c1d080141aa50df6a91067475374.png)\r\n\r\ninnodb_max_dirty_pages_pct为脏页比例上限\r\n\r\ninnodb_flush_neighbors决定是否采用连坐机制,在8的版本中默认是0\r\n\r\n## 表数据删掉一半,表文件大小不变\r\n\r\n### 参数 innodb_file_per_table\r\n\r\non表示,表数据储存在以.ibd为后缀的文件\r\n\r\noff表示表数据放在系统共享表空间,和数据字典放到一起\r\n\r\n### 数据删除流程\r\n\r\n删除记录后将此位置记录为可复用,数据页同理\r\n\r\n当delete将表删除后,数据页标记为可复用,但是文件不会变小\r\n\r\n大量的增删改查的表都会存在空洞\r\n\r\n### 重建表\r\n\r\n5.6后出现onlineDDL\r\n\r\n重建表命令\r\n\r\n```mysql\r\nalter table A engine=InnoDB\r\noptimize table t = recreate+analyze\r\n```\r\n\r\n\r\n\r\n![img](https://static001.geekbang.org/resource/image/2d/f0/2d1cfbbeb013b851a56390d38b5321f0.png)\r\n\r\n* 建立一个临时文件,扫描表 A 主键的所有数据页;\r\n* 用数据页中表 A 的记录生成 B+ 树,存储到临时文件中;\r\n* 生成临时文件的过程中,将所有对 A 的操作记录在一个日志文件(row log)中,对应的是图中 state2 的状态;\r\n* 临时文件生成后,将日志文件中的操作应用到临时文件,得到一个逻辑数据上与表 A 相同的数据文件,对应的就是图中 state3 的状态;\r\n* 用临时文件替换表 A 的数据文件。\r\n\r\nalter 语句在启动的时候需要获取 MDL 写锁,但是这个写锁在真正拷贝数据之前就退化成读锁了,保证不会阻塞增删改操作\r\n\r\n注意生成的表并不是最紧凑的,每个页预留了1/16的空间\r\n\r\n## count(*)这么慢,我该怎么办\r\n\r\n### count(*) 的实现方式\r\n\r\n* MyISAM 引擎把一个表的总行数存在了磁盘上,因此执行 count(*) 的时候会直接返回这个数,效率很高;\r\n* MyISAM 引擎把一个表的总行数存在了磁盘上,因此执行 count(*) 的时候会直接返回这个数,效率很高;\r\n\r\n这和 InnoDB 的事务设计有关系,可重复读是它默认的隔离级别,在代码上就是通过多版本并发控制,也就是 MVCC 来实现的。每一行记录都要判断自己是否对这个会话可见,因此对于 count(*) 请求来说,InnoDB 只好把数据一行一行地读出依次判断,可见的行才能够用于计算“基于这个查询”的表的总行数。\r\n\r\n分析性能差别的原则\r\n\r\n* server 层要什么就给什么;\r\n* nnoDB 只给必要的值;\r\n* 现在的优化器只优化了 count(*) 的语义为“取行数”,其他“显而易见”的优化并没有做。\r\n\r\n按照效率排序的话,count(字段)<count(主键 id)<count(1)≈count(*),所以我建议你,尽量使用 count(**)\r\n\r\n## 日志索引相关问题\r\n\r\n### 日至相关问题\r\n\r\n#### MySQL两阶段不同的瞬间异常重启数据如何完整?\r\n\r\n![img](https://static001.geekbang.org/resource/image/ee/2a/ee9af616e05e4b853eba27048351f62a.jpg)\r\n\r\n## order by如何工作\r\n\r\n### 全字段排序\r\n\r\n![img](https://static001.geekbang.org/resource/image/6c/72/6c821828cddf46670f9d56e126e3e772.jpg)\r\n\r\n根据sort_buffer_size判断是否要使用外部排序\r\n\r\n### rowid排序\r\n\r\n根据max_length_for_sort_data判断单行长度是否超过要求\r\n\r\n![img](https://static001.geekbang.org/resource/image/dc/6d/dc92b67721171206a302eb679c83e86d.jpg)\r\n\r\n* rowid需要两次IO浪费大量的时间,如果空间足够优先使用全字段排序\r\n\r\n* 全字段排序同样需要时间,如果建立新的联合索引天然有序加上覆盖排序可以减少更多的时间\r\n\r\n## 如何正确选择随机值消息\r\n\r\n### 内存临时表\r\n\r\n```mysql\r\nmysql> select word from words order by rand() limit 3;\r\n```\r\n\r\n![img](https://static001.geekbang.org/resource/image/2a/fc/2abe849faa7dcad0189b61238b849ffc.png)\r\n\r\n随机选取书籍的逻辑顺序\r\n\r\norder by rand() 使用了内存临时表,内存临时表排序的时候使用了 rowid 排序方法\r\n\r\n当删除逐渐的时候MySQL会自动生成一个新的六个字节rowid主键\r\n\r\n### 磁盘临时表\r\n\r\n有时采用优先队列算法,通过堆实现\r\n\r\n1. 对于这 10000 个准备排序的 (R,rowid),先取前三行,构造成一个堆;\r\n\r\n2. 取下一个行 (R’,rowid’),跟当前堆里面最大的 R 比较,如果 R’小于 R,把这个 (R,rowid) 从堆中去掉,换成 (R’,rowid’);\r\n\r\n3. 重复第 2 步,直到第 10000 个 (R’,rowid’) 完成比较。\r\n\r\n![img](https://static001.geekbang.org/resource/image/e9/97/e9c29cb20bf9668deba8981e444f6897.png)\r\n\r\n如果数据过大依然使用归并排序\r\n\r\n### 随机算法\r\n\r\n## 为什么有的SQL语句逻辑相同速度却差距很大\r\n\r\n### 条件字段的函数操作\r\n\r\n```mysql\r\nmysql> CREATE TABLE `tradelog` (\r\n `id` int(11) NOT NULL,\r\n `tradeid` varchar(32) DEFAULT NULL,\r\n `operator` int(11) DEFAULT NULL,\r\n `t_modified` datetime DEFAULT NULL,\r\n PRIMARY KEY (`id`),\r\n KEY `tradeid` (`tradeid`),\r\n KEY `t_modified` (`t_modified`)\r\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\r\n\r\n\r\nmysql> select count(*) from tradelog where month(t_modified)=7;\r\n```\r\n\r\n\r\n\r\n目的是统计所有年份7月的数据\r\n\r\n如果对字段进行了函数计算就无法使用索引\r\n\r\n尽量使用这种格式\r\n\r\n```mysql\r\nmysql> select count(*) from tradelog where\r\n -> (t_modified >= \'2016-7-1\' and t_modified<\'2016-8-1\') or\r\n -> (t_modified >= \'2017-7-1\' and t_modified<\'2017-8-1\') or \r\n -> (t_modified >= \'2018-7-1\' and t_modified<\'2018-8-1\');\r\n```\r\n\r\n### 隐式类型转换\r\n\r\n```mysql\r\nmysql> select * from tradelog where tradeid=110717;\r\n```\r\n\r\n输入类型和表的字段要对应不然会进行转换\r\n\r\n字符串和数字进行比较的话,字符串会转换为数字\r\n\r\n如果这种情况会直接触发全表扫描而不是索引扫描减缓速度\r\n\r\n同理主键是整数而字符串作为条件的时候不会影响速度\r\n\r\n## 为什么查询一行的速度都很慢\r\n\r\n### 查询长时间不返回\r\n\r\n```mysql\r\nmysql> select * from t where id=1;\r\nshow processlist\r\n查询语句出于什么状态\r\n```\r\n\r\n1. 等MDL锁\r\n2. 等flush\r\n3. 等行锁\r\n4. 查询没有索引的值只能使用主键查询\r\n5. 一致性读的问题\r\n\r\n','https://th.bing.com/th/id/OIP.Wjt0K12apjwJFCkCbkWj_wHaCx?pid=ImgDet&rs=1','原创',1,0,1,1,1,1,'2021-07-25 10:54:24','2021-07-25 10:54:24',1,1,'MySQL底层原理分析以及面试相关问题整理。','10,13,12'); /*Table structure for table `t_blog_tags` */ DROP TABLE IF EXISTS `t_blog_tags`; CREATE TABLE `t_blog_tags` ( `id` int(11) NOT NULL AUTO_INCREMENT, `tag_id` bigint(20) DEFAULT NULL, `blog_id` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; /*Data for the table `t_blog_tags` */ insert into `t_blog_tags`(`id`,`tag_id`,`blog_id`) values (1,3,'4'), (2,4,'1'), (3,4,'3'), (4,5,'3'), (5,5,'4'), (6,7,'2'), (7,6,'5'), (64,5,'3'), (65,4,'3'), (66,4,'6'), (74,7,'10'), (75,8,'11'), (76,8,'12'), (77,8,'13'), (78,8,'12'), (79,9,'12'), (80,8,'12'), (81,9,'12'), (82,9,'13'), (83,10,'13'), (84,9,'13'), (85,10,'13'), (86,8,'12'), (87,9,'12'), (88,9,'13'), (89,10,'13'), (90,9,'13'), (91,10,'13'), (92,10,'14'), (93,11,'14'), (94,10,'15'), (95,10,'16'), (96,11,'16'), (97,10,'14'), (98,10,'17'), (99,13,'17'), (100,12,'17'), (101,10,'14'); /*Table structure for table `t_comment` */ DROP TABLE IF EXISTS `t_comment`; CREATE TABLE `t_comment` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `nickname` varchar(255) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `content` varchar(255) DEFAULT NULL, `avatar` varchar(255) DEFAULT NULL, `create_time` datetime DEFAULT NULL, `blog_id` bigint(20) DEFAULT NULL, `parent_comment_id` bigint(20) DEFAULT NULL, `admincomment` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; /*Data for the table `t_comment` */ insert into `t_comment`(`id`,`nickname`,`email`,`content`,`avatar`,`create_time`,`blog_id`,`parent_comment_id`,`admincomment`) values (1,'小白','<EMAIL>','小白的评论','/images/avatar.jpg','2020-03-15 21:28:13',4,-1,NULL), (2,'小红','<EMAIL>','小红的评论','/images/avatar.jpg','2020-03-15 21:35:02',4,-1,NULL), (5,'小蓝','<EMAIL>','小蓝的评论','/images/avatar.jpg','2020-03-16 15:04:24',4,-1,NULL), (7,'朱一鸣','<EMAIL>','博主的评论','http://5b0988e595225.cdn.sohucs.com/images/20181103/feaa7d14883047fb81bbaa16f681f583.jpeg','2020-03-16 15:11:07',2,-1,1), (8,'安东尼','<EMAIL>','不论是我的世界车水马龙繁华盛世 还是它们都瞬间消失化为须臾 我都会坚定地走向你 不慌张 不犹豫','/images/avatar.jpg','2020-03-24 17:41:17',11,-1,0); /*Table structure for table `t_tag` */ DROP TABLE IF EXISTS `t_tag`; CREATE TABLE `t_tag` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; /*Data for the table `t_tag` */ insert into `t_tag`(`id`,`name`) values (8,'杂谈'), (9,'大数据'), (10,'Java'), (11,'Hadoop'), (12,'Spark'), (13,'面试'); /*Table structure for table `t_type` */ DROP TABLE IF EXISTS `t_type`; CREATE TABLE `t_type` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; /*Data for the table `t_type` */ insert into `t_type`(`id`,`name`) values (1,'学习方法'), (3,'娱乐方法'), (6,'动漫方法'); /*Table structure for table `t_user` */ DROP TABLE IF EXISTS `t_user`; CREATE TABLE `t_user` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `nickname` varchar(255) DEFAULT NULL, `username` varchar(255) NOT NULL DEFAULT '', `password` varchar(255) NOT NULL DEFAULT '', `email` varchar(255) DEFAULT NULL, `avatar` varchar(255) DEFAULT NULL, `type` int(10) DEFAULT NULL, `create_time` datetime DEFAULT NULL, `update_time` datetime DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; /*Data for the table `t_user` */ insert into `t_user`(`id`,`nickname`,`username`,`password`,`email`,`avatar`,`type`,`create_time`,`update_time`) values /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--HOCS-1848 UPDATE stage_type SET display_stage_order = 50 WHERE display_stage_order IS NULL; ALTER TABLE stage_type ALTER COLUMN display_stage_order SET NOT NULL;
<reponame>dram/metasfresh -- 2019-07-05T20:41:41.624 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Element_Trl SET Name='Processed',Updated=TO_TIMESTAMP('2019-07-05 20:41:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1047 AND AD_Language='en_US' ; -- 2019-07-05T20:41:41.652 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator /* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(1047,'en_US') ;
CREATE TABLE "rentals" ( "rentalid" int identity (1,1) PRIMARY KEY, "clientid" int foreign key references clients(clientid), "filmid" int foreign key references films(filmid), "rentalstartdate" datetime, "rentalenddate" datetime, "rentaltime" datetimeoffset, )
SELECT name, confirmed, RANK() OVER (ORDER BY confirmed DESC) rc, deaths, RANK() OVER (ORDER BY deaths DESC) rd FROM covid WHERE whn = '2020-04-20' ORDER BY confirmed DESC
--new vocabulary='ICD9ProcCN' DO $_$ BEGIN PERFORM VOCABULARY_PACK.AddNewVocabulary( pVocabulary_id => 'ICD9ProcCN', pVocabulary_name => 'International Classification of Diseases, Ninth Revision, Chinese Edition, Procedures', pVocabulary_reference => 'http://chiss.org.cn/hism/wcmpub/hism1029/notice/201712/P020171225613285104950.pdf', pVocabulary_version => NULL, pOMOP_req => NULL, pClick_default => NULL, --NULL or 'Y' pAvailable => NULL, --NULL, 'Currently not available','License required' or 'EULA required' pURL => NULL, pClick_disabled => NULL --NULL or 'Y' ); END $_$; --new class '6-dig billing code' DO $_$ BEGIN PERFORM VOCABULARY_PACK.AddNewConceptClass( pConcept_class_id =>'6-dig billing code', pConcept_class_name =>'6-dig billing code' ); END $_$; --new class 'ICD9Proc Chapter' DO $_$ BEGIN PERFORM VOCABULARY_PACK.AddNewConceptClass( pConcept_class_id =>'ICD9Proc Chapter', pConcept_class_name =>'ICD9Proc Chapter' ); END $_$;
<gh_stars>0 select count(*) from j1 where c_time not in ( select c_time from j5) ;
<reponame>ryheena/tennis-crystal-ball<filename>crystal-ball/src/main/db/migration/V1.0.1__in_progress_event.completed.sql<gh_stars>0 ALTER TABLE in_progress_event ADD COLUMN completed BOOLEAN NOT NULL DEFAULT FALSE;
<filename>storage/src/main/resources/database/init.sql create table t_file_info_0( id bigint primary key, name varchar(100), user_id bigint, source_name varchar(200) comment '文件源名称', file_type int comment '文件类型', biz_type int comment '业务类型', check_status int comment '状态', location varchar(200), file_suffix varchar(10), create_dt datetime, modify_uid bigint, modify_dt datetime, index file_uid_biztype_index(user_id, biz_type) ); create table t_file_info_1( id bigint primary key, name varchar(100), user_id bigint, source_name varchar(200) comment '文件源名称', file_type int comment '文件类型', biz_type int comment '业务类型', check_status int comment '状态', location varchar(200), file_suffix varchar(10), create_dt datetime, modify_uid bigint, modify_dt datetime, index file_uid_biztype_index(user_id, biz_type) ); create table t_file_type_0( id int primary key, description varchar(100), user_id bigint, create_dt datetime, modify_uid bigint, modify_dt datetime );
<gh_stars>0 # add user # --- !Ups use `crud` DROP TABLE if exists user; CREATE TABLE `crud`.`user` ( `id` INT NOT NULL AUTO_INCREMENT, `user_name` VARCHAR(100) NOT NULL, `role` VARCHAR(100) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB; # --- !Downs use `crud` DROP TABLE if exists user;
select addr, count(*) from table1 group by addr order by addr;
<gh_stars>10-100 SELECT * FROM "Roles"; SELECT * FROM "Users"; SELECT * FROM "UserRoles"; SELECT * FROM "UserLogins"; SELECT * FROM "UserClaims"; SELECT * FROM "TotpTokens"; SELECT * FROM "AuthenticationCodeDictionary"; SELECT * FROM "RefreshTokenDictionary"; SELECT * FROM "CustomizedConfirmation"; SELECT * FROM "Saml2OAuth2Data"; SELECT * FROM "FIDO2Data"; SELECT * FROM "OAuth2Revocation"; SELECT * FROM "IssuedToken"; SELECT * FROM "RequestObject";
#create-table-mssql IF NOT EXISTS (SELECT 1 FROM SYS.OBJECTS WHERE OBJECT_ID = OBJECT_ID(N'akka_projection_offset_store') AND TYPE IN (N'U')) BEGIN CREATE TABLE akka_projection_offset_store ( projection_name VARCHAR(255) NOT NULL, projection_key VARCHAR(255) NOT NULL, current_offset VARCHAR(255) NOT NULL, manifest VARCHAR(4) NOT NULL, mergeable BIT NOT NULL, last_updated BIGINT NOT NULL ) ALTER TABLE akka_projection_offset_store ADD CONSTRAINT pk_projection_id PRIMARY KEY(projection_name, projection_key) CREATE INDEX projection_name_index ON akka_projection_offset_store (projection_name) END IF NOT EXISTS (SELECT 1 FROM SYS.OBJECTS WHERE OBJECT_ID = OBJECT_ID(N'akka_projection_management') AND TYPE IN (N'U')) BEGIN CREATE TABLE akka_projection_management ( projection_name VARCHAR(255) NOT NULL, projection_key VARCHAR(255) NOT NULL, paused BIT NOT NULL, last_updated BIGINT NOT NULL ) ALTER TABLE akka_projection_management ADD CONSTRAINT pk_projection_management_id PRIMARY KEY(projection_name, projection_key) END #create-table-mssql
<reponame>khuddlefish/gpdb<filename>src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/sync2/sql/sync2_create_drop_role.sql -- start_ignore SET gp_create_table_random_default_distribution=off; -- end_ignore CREATE ROLE sync2_role1 with login; CREATE ROLE sync2_role2 with login; DROP ROLE sync1_role7; DROP ROLE ck_sync1_role6; DROP ROLE ct_role4; DROP ROLE resync_role2; DROP ROLE sync2_role1;
<gh_stars>1-10 create table t(i int primary key); insert into t values(1),(2),(3); prepare st from 'select * from t where i>? or i<? '; -- below operation should succeed. execute st using 5,10; drop table t;
-- @testpoint: opengauss关键字precision(非保留),作为同义词对象名,部分测试点合理报错 --前置条件 drop table if exists precision_test; create table precision_test(id int,name varchar(10)); --关键字不带引号-成功 drop synonym if exists precision; create synonym precision for precision_test; insert into precision values (1,'ada'),(2, 'bob'); update precision set precision.name='cici' where precision.id=2; select * from precision; --关键字带双引号-成功 drop synonym if exists "precision"; create synonym "precision" for precision_test; insert into "precision" values (1,'ada'),(2, 'bob'); update "precision" set "precision".name='cici' where "precision".id=2; select * from "precision"; --关键字带单引号-合理报错 drop synonym if exists 'precision'; create synonym 'precision' for precision_test; --关键字带反引号-合理报错 drop synonym if exists `precision`; create synonym `precision` for precision_test; --清理环境 drop synonym if exists "precision"; drop synonym if exists precision; drop table if exists precision_test;
<filename>bamazon-schema.sql<gh_stars>0 DROP DATABASE IF EXISTS bamazon; CREATE DATABASE IF NOT EXISTS bamazon; USE bamazon; CREATE TABLE products ( item_id INT NOT NULL auto_increment PRIMARY KEY, prod_name VARCHAR(200) NOT NULL, dept_name VARCHAR(50) NOT NULL, price DECIMAL(13,2) NOT NULL, stock_qty INT NOT NULL ); INSERT INTO products (prod_name,dept_name,price,stock_qty) VALUES ('Beats Headphones','Electronics',224.95,15), ('Testimony','Books',10.91,5), ('Cracking The Coding Interview','Books',29.47,10), ('Big Green Egg','Garden & Outdoor',225,3), ('Nest Thermostat','Home Improvement',220,75), ('TaylorMade Driver','Sports & Fitness',199.99,15), ('Gumby Dog Toy','Pet Supplies',3.99,20), ('Magic Mouse','Electronics',99.99,33), ('Echo','Surveillance',64.99,27), ('Alpine Car Stereo','Electronics',110.95,1); SELECT * FROM products;
CREATE DATABASE SCOPED CREDENTIAL AzureStorageCredentialSquarePoc WITH IDENTITY = 'user', SECRET = '<YOUR AZURE STORAGE KEY>'; CREATE EXTERNAL DATA SOURCE AzureStorageSquarePoc WITH ( TYPE = Hadoop, LOCATION = '<YOUR AZURE STORAGE ACCOUNT>', CREDENTIAL = AzureStorageCredentialSquarePoc ); CREATE EXTERNAL FILE FORMAT TextFilePipe WITH ( FORMAT_TYPE = DelimitedText, FORMAT_OPTIONS ( FIELD_TERMINATOR = '|' ) ); CREATE EXTERNAL FILE FORMAT TextFilePipeWithStringDelim WITH ( FORMAT_TYPE = DelimitedText, FORMAT_OPTIONS ( FIELD_TERMINATOR = '|', STRING_DELIMITER = '"' ) ); CREATE EXTERNAL FILE FORMAT TextFileComma WITH ( FORMAT_TYPE = DelimitedText, FORMAT_OPTIONS (FIELD_TERMINATOR = ',') );
<reponame>petjelele/AP2SC<gh_stars>0 /* Navicat MySQL Data Transfer Source Server : DB SMARTAPPS Source Server Version : 50173 Source Host : 192.168.127.12:3306 Source Database : db_itsc Target Server Type : MYSQL Target Server Version : 50173 File Encoding : 65001 Date: 2020-02-01 18:46:24 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for tb_admin -- ---------------------------- DROP TABLE IF EXISTS `tb_admin`; CREATE TABLE `tb_admin` ( `id_admin` int(2) NOT NULL AUTO_INCREMENT, `nama` varchar(20) DEFAULT NULL, `username` varchar(20) DEFAULT NULL, `passwd` text, `lvl_admin` int(1) DEFAULT NULL, PRIMARY KEY (`id_admin`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of tb_admin -- ---------------------------- INSERT INTO `tb_admin` VALUES ('1', 'Admin', 'Admin', '<PASSWORD>', '1'); -- ---------------------------- -- Table structure for tb_galery -- ---------------------------- DROP TABLE IF EXISTS `tb_galery`; CREATE TABLE `tb_galery` ( `id_gal` int(2) NOT NULL AUTO_INCREMENT, `photo_gal` text, `judul` text, `desc` text, `cat` int(1) DEFAULT NULL, `tgl` date DEFAULT NULL, PRIMARY KEY (`id_gal`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of tb_galery -- ---------------------------- INSERT INTO `tb_galery` VALUES ('10', '1578365354168.jpg', 'Workshop Bongkar Laptop', 'Bandung, 2017. Mahasiswa sedang melakukan wokshop Troubleshooting laptop dengan cara membongkar laptop guna salah satu cara untuk mengetahui jenis kerusakan / melakukan pergantian komponen pada laptop', '1', '2020-01-07'); INSERT INTO `tb_galery` VALUES ('8', '1578293839092.jpg', 'Rekor Muri Merakit dan Instalasi PC 2012', 'Bandung, 2012. Divisi Hardware bekerja sama dengan HIMA (Himpunan Mahasiswa) Teknik Komputer dan Teknik Elekro menggelar acara pemecahan rekor muri dengan kategori &amp;quot;Merakit dan Instalasi PC&amp;quot; pada Tahun 2012 di Gedung Auditorium Miracle, Universitas Komputer Indonesia.', '1', '2020-01-06'); INSERT INTO `tb_galery` VALUES ('9', '1578297768136.jpg', 'Workshop Jaringan', 'Bandung, 2013. Mahasiswa yang sedang melaksanakan kegiatan Workshop Jaringan komputer dengan menggunakan sistem operasi &quot;Clear OS&quot;.', '1', '2020-01-06'); INSERT INTO `tb_galery` VALUES ('11', '1578365562805.jpg', 'Workshop IoT dengan Raspberry Pi', 'Bandung, 2017. Internet of Things merupakan salah satu teknologi yang sedang berkembang pesat saat ini, salah satu alat yang dapat menggunakan Teknologi IoT ini adalah dengan Raspberry Pi. Pelatihan dengan mengontrol lampu menggunakan jaringan Internet dilakukan pada workshop ini.', '1', '2020-01-07'); INSERT INTO `tb_galery` VALUES ('12', '1578365720197.png', 'Doorprize Workshop', 'Bandung, 2017. Salah satu penerima doorprize dalam pelaksanaan Workshop program Office khusus untuk mahasiswa non Teknik, Universitas Komputer Indonesia', '1', '2020-01-07'); -- ---------------------------- -- Table structure for tb_inbox -- ---------------------------- DROP TABLE IF EXISTS `tb_inbox`; CREATE TABLE `tb_inbox` ( `id_inbox` int(3) NOT NULL AUTO_INCREMENT, `nama` text, `email` text, `subject` text, `tanya` text, `jawab` text, `tgl` date DEFAULT NULL, `sts` int(1) DEFAULT NULL, PRIMARY KEY (`id_inbox`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=39 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of tb_inbox -- ---------------------------- INSERT INTO `tb_inbox` VALUES ('38', 'Risqi', '<EMAIL>', 'Test', 'test', 'OK', '2020-01-03', '1'); -- ---------------------------- -- Table structure for tb_news -- ---------------------------- DROP TABLE IF EXISTS `tb_news`; CREATE TABLE `tb_news` ( `id_news` int(2) NOT NULL AUTO_INCREMENT, `photo_news` text, `judul` text, `desc` text, `cat` int(1) DEFAULT NULL, `tgl` date DEFAULT NULL, PRIMARY KEY (`id_news`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of tb_news -- ---------------------------- INSERT INTO `tb_news` VALUES ('5', '1577068756274.jpg', 'Test', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.', '1', '2019-12-23'); INSERT INTO `tb_news` VALUES ('6', '1577068868301.jpg', 'Lorem Ipsuma', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.', '3', '2019-12-23'); -- ---------------------------- -- Table structure for tb_slider -- ---------------------------- DROP TABLE IF EXISTS `tb_slider`; CREATE TABLE `tb_slider` ( `id_slider` int(2) NOT NULL AUTO_INCREMENT, `photo_slider` text, `judul` text, `deskripsi` text, `tgl` date DEFAULT NULL, PRIMARY KEY (`id_slider`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=41 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of tb_slider -- ---------------------------- INSERT INTO `tb_slider` VALUES ('36', '1577063566676.jpg', 'ITSC UNIKOM', 'IT Training &amp; Service Center', '2019-12-23'); INSERT INTO `tb_slider` VALUES ('37', '1577063614138.jpg', 'ITSC UNIKOM', 'IT Training &amp; Service Center', '2019-12-23'); INSERT INTO `tb_slider` VALUES ('38', '1578464879572.jpg', 'Workshop Office', ' ', '2020-01-08'); INSERT INTO `tb_slider` VALUES ('39', '1578466143215.jpg', 'Workshop Jaringan', ' ', '2020-01-08'); INSERT INTO `tb_slider` VALUES ('40', '1578468498304.jpg', 'Workshop Troubleshooting Laptop', ' ', '2020-01-08'); -- ---------------------------- -- Table structure for tb_subscribe -- ---------------------------- DROP TABLE IF EXISTS `tb_subscribe`; CREATE TABLE `tb_subscribe` ( `id_subscribe` int(3) NOT NULL AUTO_INCREMENT, `email` text, `tgl` date DEFAULT NULL, PRIMARY KEY (`id_subscribe`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=77 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of tb_subscribe -- ---------------------------- INSERT INTO `tb_subscribe` VALUES ('75', '<EMAIL>', '2019-12-30'); INSERT INTO `tb_subscribe` VALUES ('74', '<EMAIL>', '2019-12-27');
CREATE DATABASE test WITH TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'en_US.utf8' LC_CTYPE = 'en_US.utf8'; ALTER DATABASE test OWNER TO postgres; \connect test SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; SET xmloption = content; SET client_min_messages = warning; SET row_security = off; SET default_tablespace = ''; SET default_table_access_method = heap; -- -- Name: accounts; Type: TABLE; Schema: public; Owner: postgres -- CREATE TABLE public.accounts ( user_id integer NOT NULL, username character varying(50) NOT NULL, password character varying(50) NOT NULL, email character varying(255) NOT NULL, created_on timestamp without time zone NOT NULL, last_login timestamp without time zone ); ALTER TABLE public.accounts OWNER TO postgres; -- -- Name: accounts_user_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres -- CREATE SEQUENCE public.accounts_user_id_seq AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1; ALTER TABLE public.accounts_user_id_seq OWNER TO postgres; -- -- Name: accounts_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres -- ALTER SEQUENCE public.accounts_user_id_seq OWNED BY public.accounts.user_id; -- -- Name: accounts user_id; Type: DEFAULT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.accounts ALTER COLUMN user_id SET DEFAULT nextval('public.accounts_user_id_seq'::regclass); -- -- Data for Name: accounts; Type: TABLE DATA; Schema: public; Owner: postgres -- COPY public.accounts (user_id, username, password, email, created_on, last_login) FROM stdin; \. -- -- Name: accounts_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres -- SELECT pg_catalog.setval('public.accounts_user_id_seq', 1, false); -- -- Name: accounts accounts_email_key; Type: CONSTRAINT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.accounts ADD CONSTRAINT accounts_email_key UNIQUE (email); -- -- Name: accounts accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.accounts ADD CONSTRAINT accounts_pkey PRIMARY KEY (user_id); -- -- Name: accounts accounts_username_key; Type: CONSTRAINT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.accounts ADD CONSTRAINT accounts_username_key UNIQUE (username); -- -- PostgreSQL database dump complete -- -- -- PostgreSQL database cluster dump complete --
<gh_stars>0 CREATE TABLE `CsiUsers` ( `Id` VARCHAR(767) NOT NULL COLLATE 'utf8mb4_unicode_ci', `UserName` TEXT NULL COLLATE 'utf8mb4_unicode_ci', `NormalizedUserName` TEXT NULL COLLATE 'utf8mb4_unicode_ci', `Email` TEXT NULL COLLATE 'utf8mb4_unicode_ci', `NormalizedEmail` TEXT NULL COLLATE 'utf8mb4_unicode_ci', `EmailConfirmed` BIT(1) NOT NULL, `PasswordHash` TEXT NULL COLLATE 'utf8mb4_unicode_ci', `SecurityStamp` TEXT NULL COLLATE 'utf8mb4_unicode_ci', `ConcurrencyStamp` TEXT NULL COLLATE 'utf8mb4_unicode_ci', `PhoneNumber` TEXT NULL COLLATE 'utf8mb4_unicode_ci', `PhoneNumberConfirmed` BIT(1) NOT NULL, `TwoFactorEnabled` BIT(1) NOT NULL, `LockoutEnd` TIMESTAMP NULL DEFAULT NULL, `LockoutEnabled` BIT(1) NOT NULL, `AccessFailedCount` INT(11) NOT NULL, PRIMARY KEY (`Id`) ) COLLATE='utf8mb4_unicode_ci' ENGINE=InnoDB ;
 --Create the Select Proc CREATE PROCEDURE [dbo].[app_Minigame_GetByID] @MGID INT AS SELECT * FROM [Minigame] WHERE MGID = @MGID
-- 1. Создание сессии [SqlStatementCompleted] для сбора выполненных SQL-запросов. ON SERVER -- выполняется под учетной записью A\A CREATE EVENT SESSION SqlStatementCompleted ON SERVER ADD EVENT sqlserver.sql_statement_completed ( ACTION (sqlserver.sql_text,sqlserver.session_id) WHERE server_principal_name = 'Education\dvchemkaeva' ) ADD TARGET package0.ring_buffer WITH (MAX_MEMORY=4096 KB, EVENT_RETENTION_MODE=ALLOW_SINGLE_EVENT_LOSS, MAX_DISPATCH_LATENCY=30 SECONDS, MAX_EVENT_SIZE=0 KB, MEMORY_PARTITION_MODE=NONE, TRACK_CAUSALITY=OFF, STARTUP_STATE=OFF); GO -- 2. Сессия серверная в sys.server_event_sessions SELECT * FROM sys.server_event_sessions WHERE name = 'SqlStatementCompleted'; SELECT * FROM sys.dm_xe_sessions WHERE name = 'SqlStatementCompleted'; -- 3. Запуск сессии ALTER EVENT SESSION SqlStatementCompleted ON SERVER STATE=START GO -- 4. Выполнение запросов SELECT 'sample extended events 1' AS v1; GO SELECT 'sample extended events 2' AS v2; GO -- 5. Просмотр собранных данных: XML-формат SELECT CAST(target_data AS XML) AS xe_data FROM sys.dm_xe_session_targets AS st JOIN sys.dm_xe_sessions AS s ON st.event_session_address = s.address WHERE s.name = 'SqlStatementCompleted'; -- 6. Запрос к собранным данным в формате XML из п.5 -- Информация о конкретном событии, запрос, длительность, дата начала SELECT TOP (10) xa.xe_xml.query('.') AS xe_event, xa.xe_xml.value('(./data[@name="statement"]/value)[1]', 'nvarchar(MAX)') AS sql_statement, xa.xe_xml.value('(./data[@name="duration"]/value)[1]', 'bigint') AS duration_ms, xa.xe_xml.value('(./@timestamp[1])', 'nvarchar(100)') AS time_start FROM ( SELECT CAST(target_data AS XML) AS xe_data FROM sys.dm_xe_session_targets AS st JOIN sys.dm_xe_sessions AS s ON st.event_session_address = s.address WHERE s.name = 'SqlStatementCompleted' ) AS xe CROSS APPLY xe_data.nodes('//event') xa (xe_xml); -- 7. SSMS: Object Explorer -> Management -> Extended Events -> Sessions -> SqlStatementCompleted -- Выбрать package0.ring_buffer: XML из п.5 -- 8. Live activity -- SqlStatementCompleted -> Watch Live Data. -- 9. Выполнить новые запросы - появятся в окне Live Data SELECT 'sample extended events 3' AS v1; GO SELECT 'sample extended events 4' AS v2; GO -- 10. Остановить сессию ALTER EVENT SESSION SqlStatementCompleted ON SERVER STATE=STOP GO -- 11. Свойства сессии -- SqlStatementCompleted -> Properties. -- 12. Удалить сессию DROP EVENT SESSION SqlStatementCompleted ON SERVER
<reponame>tekcellat/University create table timetable ( id integer references employees (id), date date, day_of_week text, time time, type integer ); DROP TABLE timetable; create table employees ( id integer, fio text, birthday date, department text, PRIMARY KEY (id) ); show datestyle; set datestyle to 'iso, mdy'; insert into timetable values(1, '12-14-2018', 'Saturday', '9:01', 1), -- changed time here to see the difference -- count_late was giving 1, now 2 (1, '12-14-2018', 'Saturday', '9:20', 2), (1, '12-14-2018', 'Saturday', '9:25', 1), (2, '12-14-2018', 'Saturday', '9:05', 1); drop table timetable; insert into employees values (1,'<NAME>','09-25-1990','IT'), (2,'<NAME>','11-12-1987','Bookkeeping'); CREATE OR REPLACE FUNCTION count_late(date_of_late_arrival date) RETURNS bigint AS $$ SELECT COUNT (*) FROM ( SELECT id, min(time) as first_entry FROM timetable WHERE type = 1 AND date = date_of_late_arrival GROUP BY id ) tmp WHERE first_entry > '9:00' $$ LANGUAGE 'sql'; DROP FUNCTION count_late(date_of_late_arrival date); SELECT * FROM count_late('2018-12-14');
<filename>sql database/db_univ_4c_bjb.sql -- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 17 Jul 2021 pada 13.18 -- Versi server: 10.4.11-MariaDB -- Versi PHP: 7.4.6 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `db_univ_4c_bjb` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `failed_jobs` -- CREATE TABLE `failed_jobs` ( `id` bigint(20) UNSIGNED NOT NULL, `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `failed_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Struktur dari tabel `mahasiswa` -- CREATE TABLE `mahasiswa` ( `id` int(11) NOT NULL, `user_id` int(11) DEFAULT NULL, `npm` varchar(8) NOT NULL, `tempat_lahir` varchar(30) NOT NULL, `tgl_lahir` date NOT NULL, `alamat` text NOT NULL, `gender` enum('P','L','','') NOT NULL, `telepon` varchar(15) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `mahasiswa` -- INSERT INTO `mahasiswa` (`id`, `user_id`, `npm`, `tempat_lahir`, `tgl_lahir`, `alamat`, `gender`, `telepon`) VALUES (1, 1, '19631107', 'Pekan Baru', '2021-07-16', 'Jl. <NAME>', 'P', '098745728847'), (4, 2, '1678900', 'Banjarbaru', '2021-07-14', 'Jl. Bukit Mataraman', 'P', '08567289293'), (5, 3, '19631234', 'Astambul', '2021-07-16', 'Kalimantan Barat', 'P', '081577554783'); -- -------------------------------------------------------- -- -- Struktur dari tabel `makul` -- CREATE TABLE `makul` ( `id` int(11) NOT NULL, `kd_makul` varchar(10) NOT NULL, `nama_makul` varchar(50) NOT NULL, `sks` int(3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `makul` -- INSERT INTO `makul` (`id`, `kd_makul`, `nama_makul`, `sks`) VALUES (1, 'MKL005', 'PBO1', 3), (3, 'MKL009', 'WEB 2', 2), (6, 'MKL2308', 'JARKOM2', 3), (7, 'MKL1234', 'SIG', 2); -- -------------------------------------------------------- -- -- Struktur dari tabel `migrations` -- CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data untuk tabel `migrations` -- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (1, '2014_10_12_000000_create_users_table', 1), (2, '2014_10_12_100000_create_password_resets_table', 1), (3, '2019_08_19_000000_create_failed_jobs_table', 1); -- -------------------------------------------------------- -- -- Struktur dari tabel `nilai` -- CREATE TABLE `nilai` ( `id` int(11) NOT NULL, `makul_id` int(11) NOT NULL, `mahasiswa_id` int(11) NOT NULL, `nilai` double NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `nilai` -- INSERT INTO `nilai` (`id`, `makul_id`, `mahasiswa_id`, `nilai`) VALUES (1, 1, 1, 85), (2, 3, 4, 85), (4, 7, 5, 90), (5, 6, 4, 50); -- -------------------------------------------------------- -- -- Struktur dari tabel `password_resets` -- CREATE TABLE `password_resets` ( `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Struktur dari tabel `users` -- CREATE TABLE `users` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data untuk tabel `users` -- INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES (1, 'pahliana', '<EMAIL>', NULL, '$2y$10$zc8KNogHfyJadkxGjMSMmueeDGOjOBVJuppajmN3D.Vriwhdl/iWS', NULL, '2021-06-09 23:21:04', '2021-06-09 23:21:04'), (2, 'Fitriani', '<EMAIL>', NULL, 'fitri006', NULL, NULL, NULL), (3, 'Lindawati', '<EMAIL>', NULL, '$2y$10$Ey/LSZ/e22MzF58q1QsoBOEcxpXqM9/xBHjeOuCZXY2LTYhzyx37i', NULL, '2021-07-14 00:19:57', '2021-07-14 00:19:57'), (4, 'Zaenal', '<EMAIL>', NULL, '$2y$10$rLYlvyvauxTrj6dHeFtB1eOErsEFlQcsJEPsEY/dZ8kPyQR41eUoW', NULL, '2021-07-16 22:36:08', '2021-07-16 22:36:08'), (5, 'Jamhari', '<EMAIL>', NULL, '$2y$10$a.5a5pxGx5A9wEzcOgJo9.Hych7NnSc8Osk1eiGyp5eJomB4bf/wm', NULL, '2021-07-16 22:47:53', '2021-07-16 22:47:53'); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `failed_jobs` -- ALTER TABLE `failed_jobs` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `mahasiswa` -- ALTER TABLE `mahasiswa` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `makul` -- ALTER TABLE `makul` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `nilai` -- ALTER TABLE `nilai` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Indeks untuk tabel `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `failed_jobs` -- ALTER TABLE `failed_jobs` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `mahasiswa` -- ALTER TABLE `mahasiswa` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT untuk tabel `makul` -- ALTER TABLE `makul` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT untuk tabel `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT untuk tabel `nilai` -- ALTER TABLE `nilai` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT untuk tabel `users` -- ALTER TABLE `users` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<reponame>alvarobasia/survey-anything /* Warnings: - You are about to drop the column `optionId` on the `User` table. All the data in the column will be lost. - You are about to drop the `_OptionToUser` table. If the table is not empty, all the data it contains will be lost. */ -- DropForeignKey ALTER TABLE "_OptionToUser" DROP CONSTRAINT "_OptionToUser_A_fkey"; -- DropForeignKey ALTER TABLE "_OptionToUser" DROP CONSTRAINT "_OptionToUser_B_fkey"; -- AlterTable ALTER TABLE "User" DROP COLUMN "optionId"; -- DropTable DROP TABLE "_OptionToUser"; -- CreateTable CREATE TABLE "SurveysVoted" ( "id" SERIAL NOT NULL, "userId" INTEGER NOT NULL, "surveyId" INTEGER NOT NULL, "optionId" INTEGER NOT NULL, CONSTRAINT "SurveysVoted_pkey" PRIMARY KEY ("id") ); -- AddForeignKey ALTER TABLE "SurveysVoted" ADD CONSTRAINT "SurveysVoted_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE RESTRICT ON UPDATE CASCADE; -- AddForeignKey ALTER TABLE "SurveysVoted" ADD CONSTRAINT "SurveysVoted_surveyId_fkey" FOREIGN KEY ("surveyId") REFERENCES "Survey"("id") ON DELETE RESTRICT ON UPDATE CASCADE; -- AddForeignKey ALTER TABLE "SurveysVoted" ADD CONSTRAINT "SurveysVoted_optionId_fkey" FOREIGN KEY ("optionId") REFERENCES "Option"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
<reponame>navikt/su-se-bakover update behandling set behandlingsinformasjon = jsonb_set(behandlingsinformasjon #- '{formue,ektefellesVerdier}', '{formue, epsVerdier}', behandlingsinformasjon #> '{formue, ektefellesVerdier}') WHERE behandlingsinformasjon #> '{formue, ektefellesVerdier}' is not null;
<gh_stars>1-10 SET DEFINE OFF; create or replace package afw_01_lang_pkg as function obten_lang (pva_code in varchar2) return number; function obten_lang_sesn (pnu_prodt in vd_i_afw_11_prodt.seqnc%type default afw_11_prodt_pkg.obten_prodt_sesn ()) return number; function obten_code_lang_sesn (pnu_prodt in vd_i_afw_11_prodt.seqnc%type default afw_11_prodt_pkg.obten_prodt_sesn ()) return varchar2; function obten_lang_formt (pnu_lang in number ,pnu_lang_cible in number) return vd_i_afw_01_lang_lang.nom%type; function obten_lang_formt (pva_code_lang in varchar2 ,pva_code_lang_cible in varchar2) return vd_i_afw_01_lang_lang.nom%type; function obten_code_lang (pnu_lang in number) return varchar2; procedure defnr_lang_sesn; function obten_lang_furtr return varchar2; function obten_lang_aplic_deft return varchar2; end afw_01_lang_pkg; /
<filename>ar-aging-summary/queries/Visual/ARAgingSummary.sql SELECT ih.INVOICE_DATE + ih.TERMS_NET_DAYS AS DueDate , ih.TOTAL_AMOUNT - ih.PAID_AMOUNT AS InvoiceBal , CASE WHEN ih.TYPE = 'M' THEN 1 ELSE 0 END AS CreditMemo FROM RECEIVABLE ih with(nolock) WHERE ih.STATUS = 'A' AND ih.TOTAL_AMOUNT > ih.PAID_AMOUNT
<filename>src/SFA.DAS.EmployerPayments.Database/Script.PreDeployment1.sql<gh_stars>1-10 /* Pre-Deployment Script Template -------------------------------------------------------------------------------------- This file contains SQL statements that will be executed before the build script. Use SQLCMD syntax to include a file in the pre-deployment script. Example: :r .\myfile.sql Use SQLCMD syntax to reference a variable in the pre-deployment script. Example: :setvar TableName MyTable SELECT * FROM [$(TableName)] -------------------------------------------------------------------------------------- */ IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME = 'Amount' and NUMERIC_SCALE = 4) BEGIN ALTER TABLE [employer_financial].[EnglishFraction] ALTER COLUMN AMOUNT DECIMAL(18,5) NULL END IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME='EmpRef' AND DATA_TYPE = 'nchar') BEGIN ALTER TABLE [employer_financial].[EnglishFraction] ALTER COLUMN EmpRef NVARCHAR(50) NULL END IF EXISTS(select 1 from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'LevyDeclaration') BEGIN IF NOT EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'LevyDeclaration' and COLUMN_NAME = 'CreatedDate') BEGIN ALTER TABLE [employer_financial].[LevyDeclaration] Add CreatedDate DATETIME NOT NULL DEFAULT GETDATE() END END
-- file:portals.sql ln:504 expect:true INSERT INTO cursor VALUES (1)
create temporary table nos (v int); insert into nos values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10); create temporary table evens (v int); insert into evens select v from nos where v%2=0; select * from evens order by v; /*2,4,6,8,10*/ drop table nos; drop table evens;
<reponame>NodirbekDeveloper/JWT_Authentication<filename>src/main/resources/test-data.sql INSERT INTO product (name,bar_code) VALUES ('DoriAnal','123456781'); INSERT INTO product (name,bar_code) VALUES ('DoriDemi','123456782'); INSERT INTO product (name,bar_code) VALUES ('Asal','123456783'); INSERT INTO product (name,bar_code) VALUES ('Подгузники','123456785'); INSERT INTO product (name,bar_code) VALUES ('Аналгин','123456787'); INSERT INTO product (name,bar_code) VALUES ('Демидрол','123456789'); INSERT INTO role(id, role) VALUES (1,'ROLE_VISITOR'); INSERT INTO role(id,role) VALUES (2, 'ROLE_ORGANIZATION_PUBLISHER'); INSERT INTO role(id, role) VALUES (3, 'ROLE_ORGANIZATION_ADMIN'); INSERT INTO role(id, role) VALUES (4, 'ROLE_SYSTEM_ADMIN'); INSERT INTO bileton_user (id, email, password, first_name, enabled) VALUES (1,'<EMAIL>', 'password', '<PASSWORD>', true); INSERT INTO bileton_user (id, email, password, first_name, enabled) VALUES (2, '<EMAIL>', 'password', '<PASSWORD>', true); INSERT INTO user_roles (user_id, role_id) VALUES (2,1); INSERT INTO user_roles (user_id, role_id) VALUES (1,1); INSERT INTO user_roles (user_id, role_id) VALUES (1,2); INSERT INTO user_roles (user_id, role_id) VALUES (1,3); INSERT INTO user_roles (user_id, role_id) VALUES (1,4); INSERT INTO verification_token (token, user_id) VALUES ('it is working yahoo',1);
ALTER TABLE gluster_server add column known_addresses varchar(250) null;
-- 'E-MTAB-5061' INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'umap', 'ERR1632241', -5.4101815, 3.8634012, '[{"n_neighbors": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'umap', 'ERR1632898', -5.1183767, 6.050566, '[{"n_neighbors": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'umap', 'ERR1631733', -4.9828777, -5.9507236, '[{"n_neighbors": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'umap', 'ERR1631559', -1.4054004, 5.540149, '[{"n_neighbors": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'umap', 'ERR1631548', 3.727548, -5.403536, '[{"n_neighbors": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'umap', 'ERR1633417', 4.355326, 5.893925, '[{"n_neighbors": 3}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'umap', 'ERR1632650', 4.6092134, -6.8978767, '[{"n_neighbors": 100}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'umap', 'ERR1632055', -4.586969, -4.414085, '[{"n_neighbors": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'umap', 'ERR1631135', -2.291764, -4.251097, '[{"n_neighbors": 100}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1633507', 40.190437, 15.019876, '[{"perplexity": 35}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1631922', -94.43749, -4.7268853, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1631995', -72.99049, -0.4495735, '[{"perplexity": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1632827', -66.069244, 15.6534605, '[{"perplexity": 35}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1631829', -54.35983, -17.938114, '[{"perplexity": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1631781', -52.423763, -61.32217, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1631187', -27.431911, 42.45681, '[{"perplexity": 40}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1630019', -10.914662, 66.73287, '[{"perplexity": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1630373', 1.9985218, 41.5577, '[{"perplexity": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1632749', 31.393602, 28.776825, '[{"perplexity": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1633195', 33.85604, 42.979923, '[{"perplexity": 45}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1633301', 46.403683, -8.150689, '[{"perplexity": 1}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1633077', -44.441097, -8.306034, '[{"perplexity": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1633222', -34.900047, 20.982744, '[{"perplexity": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1630964', -17.66137, -37.32652, '[{"perplexity": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1632101', 0.9057504, -23.228792, '[{"perplexity": 45}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1633154', 3.656883, 24.87532, '[{"perplexity": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1630910', 4.1252723, -36.614674, '[{"perplexity": 40}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1630329', 7.6212234, -15.135329, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1633444', 11.629007, -29.649347, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1630907', 26.350573, 8.226139, '[{"perplexity": 35}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1633513', 38.580303, 16.321424, '[{"perplexity": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1631601', 41.16587, -26.666697, '[{"perplexity": 1}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1632121', -85.223595, -33.753315, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1630694', -56.89348, -8.018655, '[{"perplexity": 40}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1630352', -54.479454, -42.430107, '[{"perplexity": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1632650', -36.039783, 66.53918, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1632289', -31.823296, 28.484703, '[{"perplexity": 45}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-MTAB-5061', 'tsne', 'ERR1631300', -28.635296, 78.881004, '[{"perplexity": 10}]'); -- E-CURD-4 INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'umap', 'SRR8206655-GCAGTGAGGTCG', -7.763526, -2.240726, '[{"n_neighbors": 3}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'umap', 'SRR8206658-TGTTATAGCACG', -6.4309506, -0.68891805, '[{"n_neighbors": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'umap', 'SRR8206657-ACGAAGCCAGGA', -6.238459, -0.59740704, '[{"n_neighbors": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'umap', 'SRR8206655-CGAGACCGGGCT', -6.1135664, -0.14525838, '[{"n_neighbors": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'umap', 'SRR8206660-GTGAATAGAATC', -5.5126557, -0.31961456, '[{"n_neighbors": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'umap', 'SRR8206663-ATTGATGGGCGC', -3.947509, -0.7827067, '[{"n_neighbors": 100}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'umap', 'SSRR8206662-TACATTGACTTG', 2.6895955, 5.1414, '[{"n_neighbors": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'umap', 'SRR8206662-GTATGTATTCTG', 4.835074, -0.086276785, '[{"n_neighbors": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'umap', 'SRR8206657-CTATGCGTCAGT', 5.598916, 0.59349173, '[{"n_neighbors": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'umap', 'SRR8206656-TCCATAGGCTTA', -7.5162477, -2.524374, '[{"n_neighbors": 3}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206657-TTTATCCTATTA', 42.638042, 43.368465, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206654-TCACTGCTATCA', 42.638042, 43.368465, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206656-TAACCTCGCCCT', 53.57441, -5.372438, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206656-AAAGAACCCGGT', -38.36484, -4.416078, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206655-GGAGAAGAGTTT', -35.21073, 1.520414, '[{"perplexity": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206655-CCTTTTCCTACT', -35.141193, -0.9706737, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206655-TACGGGTTCCCA', -30.807276, -7.9473133, '[{"perplexity": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206656-CGCCGCTGCAGG', -21.260115, -1.3245233, '[{"perplexity": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206661-CTCATAAAGTTT', -16.757412, -13.3607, '[{"perplexity": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206656-CTAGTTTTATAA', -7.9697886, -8.18951, '[{"perplexity": 35}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206663-CGACCAGCTCCC', -5.8783116, -11.036719, '[{"perplexity": 45}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206656-CAGGTCAGTCAA', -5.408373, -9.14465, '[{"perplexity": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206656-TTACAATAGATA', -5.0445485, -8.169077, '[{"perplexity": 40}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-CURD-4', 'tsne', 'SRR8206663-CATCTCCATCTT', 5.70601, 65.60204, '[{"perplexity": 1}]'); -- E-EHCA-2 INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '21935_8_274', -2.7722185, 4.61977, '[{"n_neighbors": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '21935_6_68', -2.303482, 7.0164084, '[{"n_neighbors": 100}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '22028_2_315', -0.16972117, 3.7319202, '[{"n_neighbors": 3}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '22028_4_14', 2.4841716, -4.878163, '[{"n_neighbors": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '21935_5_121', 2.7496483, -4.4223, '[{"n_neighbors": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '22167_7_293', 3.1534307, -5.1188703, '[{"n_neighbors": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '22421_6_69', 4.077962, 5.0964456, '[{"n_neighbors": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '21935_7_91', 4.2774024, -5.450906, '[{"n_neighbors": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '21935_8_183', 5.0370407, -2.762273, '[{"n_neighbors": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '22028_3_85', -9.085391, 9.67228, '[{"n_neighbors": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '21935_5_249', -7.613099, -3.797132, '[{"n_neighbors": 100}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '22421_6_253', -7.3173594, -4.075228, '[{"n_neighbors": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'umap', '22028_5_260', -2.139102, 8.584098, '[{"n_neighbors": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22421_7_79', -8.08605, -78.85836, '[{"perplexity": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22011_1_29', -1.8746716, -86.54595, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22011_1_340', 9.538779, 14.235654, '[{"perplexity": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '21935_8_136', -82.13056, -8.589659, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22421_7_327', -56.94119, -43.247185, '[{"perplexity": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22421_8_107', -48.70366, -30.1504, '[{"perplexity": 40}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22028_3_180', -48.265495, -25.004961, '[{"perplexity": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '21784_6_162', -42.681133, -43.408203, '[{"perplexity": 45}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22028_3_347', -37.0268, -36.988014, '[{"perplexity": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22467_8_63', -28.004765, -55.011646, '[{"perplexity": 35}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22467_6_239', -15.292813, -62.98059, '[{"perplexity": 1}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22421_6_202', -6.7156515, -78.78966, '[{"perplexity": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '22028_2_306', 0.7740058, -86.83119, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-EHCA-2', 'tsne', '21935_5_260', 10.654922, 11.314603, '[{"perplexity": 10}]'); -- E-GEOD-71585 INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2140022', -11.958688, -1.1433947, '[{"n_neighbors": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2139053', -9.015445, 2.7722456, '[{"n_neighbors": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2139382', -4.9866047, -0.77151746, '[{"n_neighbors": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2139333', -2.4180346, -7.226043, '[{"n_neighbors": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2138781', -1.1265924, -3.1928568, '[{"n_neighbors": 3}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2139419', 0.43361622, -3.9389875, '[{"n_neighbors": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2140078', 1.336152, 13.335576, '[{"n_neighbors": 100}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2140321', 5.2004294, -9.912752, '[{"n_neighbors": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2138834', 8.035227, -7.5735917, '[{"n_neighbors": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2140331', -13.587058, -2.0958881, '[{"n_neighbors": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2140166', -7.551368, 3.6801205, '[{"n_neighbors": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2139390', -5.102848, -2.23244, '[{"n_neighbors": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2139326', -3.451345, -2.0303142, '[{"n_neighbors": 3}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2138783', -1.8845903, -6.042823, '[{"n_neighbors": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2139845', 0.42909706, -5.1257415, '[{"n_neighbors": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2138749', 0.50050944, 13.832697, '[{"n_neighbors": 100}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2140387', 5.668634, -10.653593, '[{"n_neighbors": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'umap', 'SRR2138732', 8.220103, -6.2974277, '[{"n_neighbors": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2139794', 27.233587, 23.209005, '[{"perplexity": 1}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2139501', 41.79676, 52.847874, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2138999', 72.73054, 5.3669, '[{"perplexity": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2139466', -17.788172, -3.5403657, '[{"perplexity": 45}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2139804', -8.19602, -43.693882, '[{"perplexity": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2140261', 1.155945, 13.706555, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2139451', 2.8308132, -9.531401, '[{"perplexity": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2139659', 3.5861216, -17.18192, '[{"perplexity": 40}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2140368', 10.738683, 5.215248, '[{"perplexity": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2139972', 15.379463, -10.982097, '[{"perplexity": 35}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2139574', 17.928038, 17.51145, '[{"perplexity": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2138772', 39.868057, -60.189373, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2139505', 41.35272, -2.5282347, '[{"perplexity": 1}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-71585', 'tsne', 'SRR2140105', 50.63033, 33.154438, '[{"perplexity": 10}]'); -- E-GEOD-81547 INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3562542', -6.7081833, 6.279201, '[{"n_neighbors": 3}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3564727', -5.410103, 10.679739, '[{"n_neighbors": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3562954', -3.0598862, -15.5877495, '[{"n_neighbors": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3563897', -1.573401, -14.627416, '[{"n_neighbors": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3563011', -1.023612, 19.542639, '[{"n_neighbors": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3563692', 2.4177265, 10.337443, '[{"n_neighbors": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3562566', 8.383419, 6.98381, '[{"n_neighbors": 100}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3562767', 10.99135, 19.468975, '[{"n_neighbors": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3562823', -6.128217, 10.740392, '[{"n_neighbors": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3564162', -5.578695, 6.827709, '[{"n_neighbors": 3}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3562640', -2.5795677, -15.365614, '[{"n_neighbors": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3562211', -1.4206206, 19.323467, '[{"n_neighbors": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3562778', -1.3209835, -14.604961, '[{"n_neighbors": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'umap', 'SRR3563422', 2.7119114, 10.054753, '[{"n_neighbors": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3563019', -14.616062, -15.379695, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3563264', -3.0146437, 13.585217, '[{"perplexity": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3562716', -0.2322881, 14.420799, '[{"perplexity": 40}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3563226', 1.7976545, 39.26288, '[{"perplexity": 1}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3562897', 17.377308, 4.870874, '[{"perplexity": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3563717', 29.654634, -11.947436, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3563828', -39.948364, -26.481884, '[{"perplexity": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3563452', -35.0409, -3.6368346, '[{"perplexity": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3564467', -18.784695, 4.5900664, '[{"perplexity": 45}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3563047', -18.663015, 23.684412, '[{"perplexity": 35}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3564499', -3.2927582, -15.07891, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3563664', 0.93857354, 7.6413684, '[{"perplexity": 40}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3564333', 5.5199246, 17.073183, '[{"perplexity": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3563426', 14.406437, -8.950517, '[{"perplexity": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3563071', 15.083076, 13.467182, '[{"perplexity": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-81547', 'tsne', 'SRR3564435', 19.043774, 44.498806, '[{"perplexity": 1}]'); -- E-GEOD-99058 INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5605109', -2.1152678, 2.0766184, '[{"n_neighbors": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5604947', -1.7973906, 0.05704801, '[{"n_neighbors": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5604960', -7.6985116, -4.4328675, '[{"n_neighbors": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5604925', -0.5710129, -1.1922023, '[{"n_neighbors": 5}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5604929', 0.5927125, -1.0093673, '[{"n_neighbors": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5604911', 1.1895038, 1.3220918, '[{"n_neighbors": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5605080', 2.0259087, 6.5463405, '[{"n_neighbors": 100}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5605085', 2.9456296, -3.0931382, '[{"n_neighbors": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5605053', 3.0657017, -4.8604107, '[{"n_neighbors": 3}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5604950', -4.246699, -3.1166794, '[{"n_neighbors": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5604983', -2.0088885, -2.117857, '[{"n_neighbors": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'umap', 'SRR5605110', -1.4270154, 1.4443276, '[{"n_neighbors": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5604978', 3.151108, -20.536713, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605065', 3.3072872, -32.50846, '[{"perplexity": 45}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605079', 3.5659912, 2.5339897, '[{"perplexity": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605029', 15.091476, 16.046083, '[{"perplexity": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5604892', 26.185421, -56.592537, '[{"perplexity": 1}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605032', -29.734629, 56.811848, '[{"perplexity": 45}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605043', -14.327946, 40.82656, '[{"perplexity": 30}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5604927', -12.808196, -9.360778, '[{"perplexity": 10}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5604889', -7.1016955, -8.210983, '[{"perplexity": 15}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605101', -2.4542215, -58.333817, '[{"perplexity": 1}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5604906', -1.2334071, -1.2128721, '[{"perplexity": 25}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605050', -0.4593167, -0.6574422, '[{"perplexity": 40}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605011', 3.5428882, -1.7477912, '[{"perplexity": 50}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605035', 12.199832, -22.221413, '[{"perplexity": 20}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605029', 37.14926, 25.489868, '[{"perplexity": 35}]'); INSERT INTO scxa_coords (experiment_accession, method, cell_id, x, y, parameterisation) VALUES ('E-GEOD-99058', 'tsne', 'SRR5605075', 48.355087, 27.383396, '[{"perplexity": 5}]');
<reponame>rahulranjan96/CrowdAnnotation -- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Apr 05, 2016 at 07:42 PM -- Server version: 10.1.10-MariaDB -- PHP Version: 7.0.2 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `annotated_words` -- -- -------------------------------------------------------- -- -- Table structure for table `paragraphs` -- CREATE TABLE `paragraphs` ( `id` int(11) NOT NULL, `link` varchar(500) NOT NULL, `username` varchar(50) NOT NULL, `choice` varchar(5) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `paragraphs` -- INSERT INTO `paragraphs` (`id`, `link`, `username`, `choice`) VALUES (6, 'https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=check+if+link+is+correct+format+php', 'kamal', 'yes'), (7, 'https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=check+if+link+is+correct+format+php', 'kamal', 'yes'), (8, 'https://www.facebook.com/', 'kamal', 'yes'), (9, 'https://www.facebook.com/', 'kamal', 'yes'); -- -- Indexes for dumped tables -- -- -- Indexes for table `paragraphs` -- ALTER TABLE `paragraphs` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `paragraphs` -- ALTER TABLE `paragraphs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
ALTER TABLE ITEMS DROP COLUMN DESCRIPTION; ALTER TABLE ITEMS DROP COLUMN CREATED;
<reponame>mrandi/fullstop UPDATE fullstop_data.violation_type SET help_text = 'The deployment artifact (Docker image) for this application version is missing a valid scm-source.json. See http://docs.stups.io/en/latest/user-guide/application-development.html?highlight=scm-source.json#docker for more information.' WHERE violation_type.id = 'SCM_SOURCE_JSON_MISSING';
CREATE TABLE IF NOT EXISTS `bar`.`bar` ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID', `code` VARCHAR(64) NOT NULL COMMENT 'Code', PRIMARY KEY (`id`)) ENGINE = InnoDB COMMENT = 'Bar';
<filename>test/create_index.sql create index db1.idx1 on db1.table1 (id); CREATE UNIQUE INDEX "TEST"."SYS_C00385176" on "TEST"."SBTEST1"("ID") NOPARALLEL;
<filename>usecases/FindInstances.sql<gh_stars>0 /* Find node and link Instances within a boundary in space <NAME> Updated July 17, 2017 */ /* Find node and link Instances within a boundary in space <NAME> Updated July 17, 2017 */ Select DatasetAcronym,ObjectType,ObjectTypeCV,ObjectTypologyCV, AttributeName,InstanceName,InstanceNameCV,MasterNetworkName,ScenarioName, Sourcename, Methodname, Longitude_x,Latitude_y FROM Datasets left join ObjectTypes on ObjectTypes.Datasetid=Datasets.Datasetid left join Attributes on Attributes.ObjectTypeid = Objecttypes.Objecttypeid left join Mapping on Mapping.Attributeid = Attributes.Attributeid left join Instances on instances.instanceid = Mapping.Instanceid left join Scenariomapping on ScenarioMapping.Mappingid = Mapping.Mappingid left join Scenarios on Scenarios.ScenarioId=ScenarioMapping.Scenarioid left join MasterNetworks on MasterNetworks.MasterNetworkid = Scenarios.MasterNetworkid left join Methods on Methods.Methodid = Mapping.Methodid left join Sources on Sources.Sourceid = Mapping.Sourceid WHERE "AttributeName"='ObjectTypeInstances' AND -- specify the boundary of coordinates of the search domain in space -- this Boundary is for the parts of the upper Bear River Watershed ("Instances"."Longitude_x">='-112.3' AND "Instances"."Longitude_x"<='-111.4' AND "Instances"."Latitude_y">='41.3' AND "Instances"."Latitude_y"<='42.100') --AND ObjectTypologyCV='Node' AND (ObjectTypeCV='Reservoir' or ObjectTypeCV='Demand site' or ObjectTypeCV='Demand site' or ObjectTypeCV='Diversion') --AND DatasetAcronym='WEAP' --AND ScenarioName='USU WEAP Model 2017' ORDER BY InstanceName DESC
DROP TABLE IF EXISTS `product_categories`; DROP TABLE IF EXISTS `product_comments`; DROP TABLE IF EXISTS `product_custom_field_datas`; DROP TABLE IF EXISTS `product_custom_fields`; DROP TABLE IF EXISTS `product_media_categories`; DROP TABLE IF EXISTS `product_medias`; DROP TABLE IF EXISTS `product_prices`; DROP TABLE IF EXISTS `product_promotions`; DROP TABLE IF EXISTS `products`;
<filename>medium/1445.sql /* 1445. Apples & Oranges Table: Sales +---------------+---------+ | Column Name | Type | +---------------+---------+ | sale_date | date | | fruit | enum | | sold_num | int | +---------------+---------+ (sale_date,fruit) is the primary key for this table. This table contains the sales of "apples" and "oranges" sold each day. Write an SQL query to report the difference between number of apples and oranges sold each day. Return the result table ordered by sale_date in format ('YYYY-MM-DD'). The query result format is in the following example: Sales table: +------------+------------+-------------+ | sale_date | fruit | sold_num | +------------+------------+-------------+ | 2020-05-01 | apples | 10 | | 2020-05-01 | oranges | 8 | | 2020-05-02 | apples | 15 | | 2020-05-02 | oranges | 15 | | 2020-05-03 | apples | 20 | | 2020-05-03 | oranges | 0 | | 2020-05-04 | apples | 15 | | 2020-05-04 | oranges | 16 | +------------+------------+-------------+ Result table: +------------+--------------+ | sale_date | diff | +------------+--------------+ | 2020-05-01 | 2 | | 2020-05-02 | 0 | | 2020-05-03 | 20 | | 2020-05-04 | -1 | +------------+--------------+ Day 2020-05-01, 10 apples and 8 oranges were sold (Difference 10 - 8 = 2). Day 2020-05-02, 15 apples and 15 oranges were sold (Difference 15 - 15 = 0). Day 2020-05-03, 20 apples and 0 oranges were sold (Difference 20 - 0 = 20). Day 2020-05-04, 15 apples and 16 oranges were sold (Difference 15 - 16 = -1). */ -- Solution WITH pivot_tb as ( select sale_date, sum((case when fruit = 'apples' then sold_num else 0 end)) as apple_cnt, sum((case when fruit = 'oranges' then sold_num else 0 end)) as orange_cnt from Sales group by sale_date ) select sale_date, (apple_cnt - orange_cnt) as diff from pivot_tb -- Solution 2 select a.sale_date, sum(a.sold_num - b.sold_num) as diff from Sales a join Sales b on a.sale_date = b.sale_date and a.fruit != b.fruit and a.fruit = 'apples' group by a.sale_date
SELECT distinct SUBSTRING(FirstName,1,1) AS FirstLetter FROM WizzardDeposits GROUP BY DepositGroup, FirstName HAVING DepositGroup='Troll Chest' ORDER BY FirstLetter
<filename>procar_ci.sql -- phpMyAdmin SQL Dump -- version 5.1.0 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Tempo de geração: 29-Abr-2021 às 22:21 -- Versão do servidor: 10.4.18-MariaDB -- versão do PHP: 7.4.16 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Banco de dados: `procar_ci` -- -- -------------------------------------------------------- -- -- Estrutura da tabela `user` -- CREATE TABLE `user` ( `user_id` int(10) NOT NULL, `user_nome` varchar(100) NOT NULL, `user_login` varchar(100) NOT NULL, `user_senha` varchar(100) NOT NULL, `user_nivel` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `user` -- INSERT INTO `user` (`user_id`, `user_nome`, `user_login`, `user_senha`, `user_nivel`) VALUES (1, '<NAME>', 'joaoluiz', 'c3por2d2', 1), (2, 'admin', 'admin', 'admin', 2), (3, '<NAME>', 'joao', 'qwewqe', 0), (4, '<NAME>', 'joaosilva', '44444', 0), (5, 'João com MD5', 'joaomd5', 'e590854851bc15451c85e8240f6d1ded', 0), (6, 'joao_6', 'joao6', 'dccd96c256bc7dd39bae41a405f25e43', 0); -- -- Índices para tabelas despejadas -- -- -- Índices para tabela `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`user_id`); -- -- AUTO_INCREMENT de tabelas despejadas -- -- -- AUTO_INCREMENT de tabela `user` -- ALTER TABLE `user` MODIFY `user_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<reponame>l2D/hobby-nestjs-graphql /* Warnings: - You are about to drop the `File` table. If the table is not empty, all the data it contains will be lost. - You are about to drop the `FileType` table. If the table is not empty, all the data it contains will be lost. */ -- DropForeignKey ALTER TABLE "File" DROP CONSTRAINT "File_file_type_id_fkey"; -- DropTable DROP TABLE "File"; -- DropTable DROP TABLE "FileType";
<reponame>SIE-Solutions/APEXFramework SET DEFINE OFF; Prompt Non-Foreign Key Constraints on Table SIE_01_CONFG_EVENM_NOTFB; ALTER TABLE SIE_01_CONFG_EVENM_NOTFB ADD ( CONSTRAINT SIE_01_CONFG_EVENM_NOTFB_CK1 CHECK ( ref_profl_courl is not null and ref_compt_twili is null or ref_profl_courl is null and ref_compt_twili is not null or ref_profl_courl is null and ref_compt_twili is null ) ENABLE VALIDATE, CONSTRAINT SIE_01_CONFG_EVENM_NOTFB_CK2 CHECK ((ref_compt_twili is null and ref_profl_courl is not null) or ( ref_compt_twili is not null and ref_profl_courl is null)) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_01_HIERC_APLIC; ALTER TABLE SIE_01_HIERC_APLIC ADD ( CONSTRAINT SIE_01_HIERC_APLIC_CK1 CHECK (aplic_prior >= 0) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_01_MESG_INFOR; ALTER TABLE SIE_01_MESG_INFOR ADD ( CONSTRAINT SIE_01_MESG_INFOR_CK1 CHECK ((SESS_ID is not null and REF_UTILS is null) or (SESS_ID is null and REF_UTILS is not null)) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_03_LIEN_CLAS_INTER_UTILS; ALTER TABLE SIE_03_LIEN_CLAS_INTER_UTILS ADD ( CONSTRAINT SIE_03_LIEN_CLAS_INTER_UTI_CK1 CHECK ((ref_group_utils is not null and ref_utils is null ) or ( ref_group_utils is null and ref_utils is not null )) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_04_CONTX_ETEND; ALTER TABLE SIE_04_CONTX_ETEND ADD ( CONSTRAINT SIE_04_CONTX_ETEND_CK1 CHECK (type_alimn in ('A', 'M', 'RM', 'RMA')) ENABLE VALIDATE, CONSTRAINT SIE_04_CONTX_ETEND_CK2 CHECK (TYPE_ELEMN in ('I', 'V')) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_04_FIL_ARIAN; ALTER TABLE SIE_04_FIL_ARIAN ADD ( CONSTRAINT SIE_04_FIL_ARIAN_CK1 CHECK ( (ref_navgt_histr is not null and session_id is null) or (ref_navgt_histr is null and session_id is not null) ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_07_AUDIT_STRUC_APLIC; ALTER TABLE SIE_07_AUDIT_STRUC_APLIC ADD ( CONSTRAINT SIE_07_AUDIT_STRUC_APLIC_CK1 CHECK (natr_audit in ('CRE','MOD','SUP','PER','AFF')) ENABLE VALIDATE, CONSTRAINT SIE_07_AUDIT_STRUC_APLIC_CK2 CHECK ((natr_audit in ('CRE','MOD','SUP') and ref_page is null and ref_actio_audit is null) or (natr_audit in ('CRE','MOD','SUP'))) ENABLE VALIDATE, CONSTRAINT SIE_07_AUDIT_STRUC_APLIC_CK3 CHECK ((natr_audit = 'PER' and ref_actio_audit is not null and ref_page is null) or natr_audit != 'PER') ENABLE VALIDATE, CONSTRAINT SIE_07_AUDIT_STRUC_APLIC_CK4 CHECK ((natr_audit = 'AFF' and ref_actio_audit is null and ref_page is not null) or natr_audit != 'AFF') ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_11_PRODT; ALTER TABLE SIE_11_PRODT ADD ( CONSTRAINT SIE_11_PRODT_CK1 CHECK ((INDIC_EXTRA_TOUT = 'N' AND TAIL_TABL_EXTRA is not null) OR INDIC_EXTRA_TOUT = 'O') ENABLE VALIDATE, CONSTRAINT SIE_11_PRODT_CK2 CHECK (TAIL_TABL_EXTRA > 0) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_11_PRODT_RESRC; ALTER TABLE SIE_11_PRODT_RESRC ADD ( CONSTRAINT SIE_11_PRODT_RESRC_CK1 CHECK ( (ref_plugn is null or ref_prodt is not null) or (ref_plugn is not null or ref_prodt is null)) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_11_VERSN; ALTER TABLE SIE_11_VERSN ADD ( CONSTRAINT SIE_11_VERSN_CK1 CHECK (ref_prodt is not null and dnr_ref_prodt is not null and ref_aplic is null and dnr_ref_aplic is null and ref_plugn is null or ref_prodt is null and dnr_ref_prodt is null and ref_aplic is not null and dnr_ref_aplic is not null and ref_plugn is null or ref_prodt is null and dnr_ref_prodt is null and ref_aplic is null and dnr_ref_aplic is null and ref_plugn is not null) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_12_DEFNT_ACCES; ALTER TABLE SIE_12_DEFNT_ACCES ADD ( CONSTRAINT SIE_12_DEFNT_ACCES_CK1 CHECK (( REF_GROUP_UTILS IS NOT NULL AND REF_UTILS IS NULL ) OR ( REF_GROUP_UTILS IS NULL AND REF_UTILS IS NOT NULL )) ENABLE VALIDATE, CONSTRAINT SIE_12_DEFNT_ACCES_CK2 CHECK (( ref_opert is not null and ref_struc_aplic is null ) or ( ref_opert is null and ref_struc_aplic is not null ) ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_12_DOMN_SERVR_LDAP; ALTER TABLE SIE_12_DOMN_SERVR_LDAP ADD ( CONSTRAINT SIE_12_DOMN_SERVR_LDAP_CK1 CHECK ( date_debut_efect < date_fin_efect or date_fin_efect is null ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_12_DOMN_UTILS; ALTER TABLE SIE_12_DOMN_UTILS ADD ( CONSTRAINT SIE_12_DOMN_UTILS_CK1 CHECK ( date_debut_efect < date_fin_efect or date_fin_efect is null ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_12_GROUP_UTILS; ALTER TABLE SIE_12_GROUP_UTILS ADD ( CONSTRAINT SIE_12_GROUP_UTILS_CK1 CHECK ( (ref_domn is not null and ref_prodt is null and dnr_ref_prodt is null) or (ref_domn is null and ref_prodt is not null and dnr_ref_prodt is not null) or (ref_domn is null and ref_prodt is null and dnr_ref_prodt is null and code = 'SUPER_UTILS') ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_12_LIEN_GROUP_UTILS; ALTER TABLE SIE_12_LIEN_GROUP_UTILS ADD ( CONSTRAINT SIE_12_LIEN_GROUP_UTILS_CK1 CHECK ( ( REF_GROUP_UTILS_LIE IS NOT NULL AND REF_UTILS IS NULL ) OR ( REF_GROUP_UTILS_LIE IS NULL AND REF_UTILS IS NOT NULL ) ) ENABLE VALIDATE, CONSTRAINT SIE_12_LIEN_GROUP_UTILS_CK2 CHECK ((dnr_ref_prodt is not null and ref_domn is null) or (dnr_ref_prodt is null and ref_domn is not null)) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_12_REQT_INTER_UTILS; ALTER TABLE SIE_12_REQT_INTER_UTILS ADD ( CONSTRAINT SIE_12_REQT_INTER_UTILS_CK1 CHECK ( date_debut_efect < date_fin_efect or date_fin_efect is null ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_12_STAT; ALTER TABLE SIE_12_STAT ADD ( CONSTRAINT SIE_12_STAT_CK1 CHECK ((ref_group_stat is null and ref_struc_aplic is not null) or ( ref_group_stat is not null and ref_struc_aplic is null)) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_12_STRUC_APLIC; ALTER TABLE SIE_12_STRUC_APLIC ADD ( CONSTRAINT SIE_12_STRUC_APLIC_CK1 CHECK ((INDIC_EXTRA_TOUT = 'N' AND TAIL_TABL_EXTRA is not null) OR INDIC_EXTRA_TOUT in ('O', 'HE')) ENABLE VALIDATE, CONSTRAINT SIE_12_STRUC_APLIC_CK2 CHECK (TAIL_TABL_EXTRA > 0) ENABLE VALIDATE, CONSTRAINT SIE_12_STRUC_APLIC_CK3 CHECK ( (indic_dispn_docmn = 'O' and nom_struc_acces_don is not null) or (indic_dispn_docmn = 'N')) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_12_UTILS; ALTER TABLE SIE_12_UTILS ADD ( CONSTRAINT SIE_12_UTILS_CK1 CHECK ( regexp_like (code_utils,'^[[:alnum:]]+(_[[:alnum:]]+)*$') ) ENABLE VALIDATE, CONSTRAINT SIE_12_UTILS_CK2 CHECK ( courl is null or regexp_like (courl,'^[[:alnum:]]+((_|\.|\-|)[[:alnum:]]+)*@[[:alnum:]]+(\-|[ [:alnum:]]+)*(\.[[:alnum:]]+){1,2}$') ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_13_ITEM_MENU; ALTER TABLE SIE_13_ITEM_MENU ADD ( CONSTRAINT SIE_13_ITEM_MENU_CK01 CHECK ((ref_page is not null and forml_valr_url is null) or (ref_page is null and forml_valr_url is not null) or (ref_page is null and forml_valr_url is null)) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_13_PAGE_IR_COLN; ALTER TABLE SIE_13_PAGE_IR_COLN ADD ( CONSTRAINT SIE_13_PAGE_IR_COLN_CK1 CHECK (TYPE_LARGR in ('POINT', 'POURC', 'POUCE', 'RELTF')) ENABLE VALIDATE, CONSTRAINT SIE_13_PAGE_IR_COLN_CK2 CHECK ( type_largr is not null and largr is not null or type_largr is null and largr is null) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_13_RESRC; ALTER TABLE SIE_13_RESRC ADD ( CONSTRAINT SIE_13_RESRC_CK1 CHECK (indic_stock_meme_reprt in ('O', 'N')) ENABLE VALIDATE, CONSTRAINT SIE_13_RESRC_CK2 CHECK ((indic_stock_meme_reprt = 'O' and ref_dosr_virtl is not null) or ref_dosr_virtl is null) ENABLE VALIDATE, CONSTRAINT SIE_13_RESRC_CK3 CHECK (type_resrc in ('COMPS', 'SIMPL')) ENABLE VALIDATE, CONSTRAINT SIE_13_RESRC_CK4 CHECK ( (REF_PRODT is not null and REF_STRUC_APLIC is null and REF_PLUGN is null) or (REF_PRODT is null and REF_STRUC_APLIC is not null and REF_PLUGN is null) or (REF_PRODT is null and REF_STRUC_APLIC is null and REF_PLUGN is not null) ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_14_DOMN_VALR; ALTER TABLE SIE_14_DOMN_VALR ADD ( CONSTRAINT SIE_14_DOMN_VALR_CK1 CHECK (( indic_systm = 'O') or ( indic_systm = 'N' and ref_type_domn_valr is not null)) ENABLE VALIDATE, CONSTRAINT SIE_14_DOMN_VALR_CK2 CHECK ((REF_PRODT is null and DNR_REF_PRODT is null and REF_DOMN is not null) or (REF_PRODT is not null and DNR_REF_PRODT is not null and REF_DOMN is null)) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_17_PROFL_COURL; ALTER TABLE SIE_17_PROFL_COURL ADD ( CONSTRAINT SIE_17_PROFL_COURL_CK1 CHECK (protc_entra in ('IMAP', 'POP')) DISABLE NOVALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_19_BOUTN; ALTER TABLE SIE_19_BOUTN ADD ( CONSTRAINT SIE_19_BOUTN_CK1 CHECK ((ID_TEMPL_BOUTN is not null and TEMPL_BOUTN is null) or (ID_TEMPL_BOUTN is null and TEMPL_BOUTN is not null) or (ID_TEMPL_BOUTN is null and TEMPL_BOUTN is null) ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_19_CLE; ALTER TABLE SIE_19_CLE ADD ( CONSTRAINT SIE_19_CLE_CK1 CHECK ((CODE_KEYPR is not null and CODE_KEYDW is null) or (CODE_KEYPR is null and CODE_KEYDW is not null) or (CODE_KEYPR is null and CODE_KEYDW is null) ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_19_FONCT; ALTER TABLE SIE_19_FONCT ADD ( CONSTRAINT SIE_19_FONCT_CK1 CHECK ((REF_DV_TYPE_ATRIB1 is not null and VALR_DEFT_ATRIB1 is not null and TITRE_ATRIB1 is not null) or (REF_DV_TYPE_ATRIB1 is null and VALR_DEFT_ATRIB1 is null and TITRE_ATRIB1 is null)) ENABLE VALIDATE, CONSTRAINT SIE_19_FONCT_CK2 CHECK ((REF_DV_TYPE_ATRIB2 is not null and VALR_DEFT_ATRIB2 is not null and TITRE_ATRIB2 is not null) or (REF_DV_TYPE_ATRIB2 is null and VALR_DEFT_ATRIB2 is null and TITRE_ATRIB2 is null)) ENABLE VALIDATE, CONSTRAINT SIE_19_FONCT_CK3 CHECK ((REF_DV_TYPE_ATRIB3 is not null and VALR_DEFT_ATRIB3 is not null and TITRE_ATRIB3 is not null) or (REF_DV_TYPE_ATRIB3 is null and VALR_DEFT_ATRIB3 is null and TITRE_ATRIB3 is null)) ENABLE VALIDATE, CONSTRAINT SIE_19_FONCT_CK4 CHECK ((REF_DV_TYPE_ATRIB4 is not null and VALR_DEFT_ATRIB4 is not null and TITRE_ATRIB4 is not null) or (REF_DV_TYPE_ATRIB4 is null and VALR_DEFT_ATRIB4 is null and TITRE_ATRIB4 is null)) ENABLE VALIDATE, CONSTRAINT SIE_19_FONCT_CK5 CHECK ((REF_DV_TYPE_ATRIB5 is not null and VALR_DEFT_ATRIB5 is not null and TITRE_ATRIB5 is not null) or (REF_DV_TYPE_ATRIB5 is null and VALR_DEFT_ATRIB5 is null and TITRE_ATRIB5 is null)) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_19_SPECF_FONCT; ALTER TABLE SIE_19_SPECF_FONCT ADD ( CONSTRAINT SIE_19_SPECF_FONCT_CK1 CHECK ((ref_item is not null and ref_page is null) or (ref_item is null and ref_page is not null)) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_20_DEPLM; ALTER TABLE SIE_20_DEPLM ADD ( CONSTRAINT SIE_20_DEPLM_CK1 CHECK ( (ref_modl is not null and ref_modl_parmt is null) or (ref_modl is null and ref_modl_parmt is not null) ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_21_PLUGN_ARBRE; ALTER TABLE SIE_21_PLUGN_ARBRE ADD ( CONSTRAINT SIE_21_PLUGN_ARBRE_CK1 CHECK ( (nom_table is not null and coln_titre is not null and coln_valr is not null and coln_id is not null and coln_id_parnt is not null ) or (nom_table is null and coln_titre is null and coln_valr is null and coln_id is null and coln_id_parnt is null) ) ENABLE VALIDATE, CONSTRAINT SIE_21_PLUGN_ARBRE_CK2 CHECK (type_icone_noeud in ('SIMPL', 'COMPS','RESRC')) ENABLE VALIDATE, CONSTRAINT SIE_21_PLUGN_ARBRE_CK3 CHECK (mode_cache in ('SESN','UTILS','AUCUN')) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_21_PLUGN_ARBRE_NOEUD; ALTER TABLE SIE_21_PLUGN_ARBRE_NOEUD ADD ( CONSTRAINT SIE_21_PLUGN_ARBRE_NOEUD_CK2 CHECK (INDIC_CREER_NOEUD in ('O','N')) ENABLE VALIDATE, CONSTRAINT SIE_21_PLUGN_ARBRE_NOEUD_CK3 CHECK (INDIC_OUVRI_NOEUD in ('O','N')) ENABLE VALIDATE, CONSTRAINT SIE_21_PLUGN_ARBRE_NOEUD_CK4 CHECK (INDIC_FERMR_NOEUD in ('O','N')) ENABLE VALIDATE, CONSTRAINT SIE_21_PLUGN_ARBRE_NOEUD_CK5 CHECK (INDIC_SELCT_NOEUD in ('O','N')) ENABLE VALIDATE, CONSTRAINT SIE_21_PLUGN_ARBRE_NOEUD_CK6 CHECK (INDIC_SUPRM_NOEUD in ('O','N')) ENABLE VALIDATE, CONSTRAINT SIE_21_PLUGN_ARBRE_NOEUD_CK7 CHECK ((ref_ocurn_resrc is not null and ref_resrc is null) or ( ref_ocurn_resrc is null and ref_resrc is not null)) DISABLE NOVALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_21_PLUGN_CALND; ALTER TABLE SIE_21_PLUGN_CALND ADD ( CONSTRAINT SIE_21_PLUGN_CALND_CK1 CHECK ( nombr_mints_inter <= 1440 ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_21_PLUGN_ITEM_MENU; ALTER TABLE SIE_21_PLUGN_ITEM_MENU ADD ( CONSTRAINT SIE_21_PLUGN_ITEM_MENU_CK1 CHECK ( ref_dv_contn_item_menu is not null and niv_item = 1 or ref_dv_contn_item_menu is null ) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_23_APLIC_MODL_RECHR; ALTER TABLE SIE_23_APLIC_MODL_RECHR ADD ( CONSTRAINT SIE_23_APLIC_MODL_RECHR_CK1 CHECK (NOMBR_MAXIM_RESLT < 1000) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_23_DETL_APLIC_MODL_RECHR; ALTER TABLE SIE_23_DETL_APLIC_MODL_RECHR ADD ( CONSTRAINT SIE_23_DETL_APLIC_MODL_REC_CK1 CHECK (PERTN <= 100) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_25_PARMT_TYPE_PUBLC; ALTER TABLE SIE_25_PARMT_TYPE_PUBLC ADD ( CONSTRAINT SIE_25_PARMT_TYPE_PUBLC_CK1 CHECK (ref_type_publc is not null and ref_engin is null or ref_type_publc is null and ref_engin is not null) ENABLE VALIDATE, CONSTRAINT SIE_25_PARMT_TYPE_PUBLC_CK3 CHECK ((INDIC_PRESN_APPEL = 'N' AND ORDRE_PRESN IS NOT NULL) OR (INDIC_PRESN_APPEL != 'N')) ENABLE VALIDATE); Prompt Non-Foreign Key Constraints on Table SIE_25_VALR_ELEMN_CONFG; ALTER TABLE SIE_25_VALR_ELEMN_CONFG ADD ( CONSTRAINT SIE_25_VALR_ELEMN_CONFG_CK1 CHECK (valr_varch is not null and valr_numbr is null and valr_date is null or valr_varch is null and valr_numbr is not null and valr_date is null or valr_varch is null and valr_numbr is null and valr_date is not null) ENABLE VALIDATE);
select count(*) from "+TABLE_NAME); select * from spatial_ref_sys " +
<gh_stars>1-10 alter table egbpa_application add column isonedaypermitapplication boolean DEFAULT false; alter table egbpa_application add column typeofland character varying(128);
<filename>test/SchemaExplorer.SqlServer.Tests.Db/Schema/dbo/Tables/WithNoPrimaryKey.sql CREATE TABLE dbo.WithNoPrimaryKey ( NotAnId uniqueidentifier NOT NULL )
<reponame>uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice CREATE PROCEDURE [employer_account].[CreateInvitation] @accountId int = 0, @name nvarchar(100), @email nvarchar(255), @expiryDate datetime, @statusId tinyint, @role tinyint, @invitationId bigint output AS INSERT INTO [employer_account].[Invitation] ([AccountId],[Name],[Email],[ExpiryDate],[Status],[Role]) VALUES (@accountId, @name, @email, @expiryDate, @statusId, @role) SELECT @invitationId = SCOPE_IDENTITY();
-- file:foreign_key.sql ln:547 expect:true create table fktable (ftest1 int, ftest2 int, foreign key(ftest1, ftest2) references pktable(base1, ptest1))
<filename>modules/boonex/persons/updates/8.0.7_9.0.0/install/sql/install.sql<gh_stars>100-1000 -- FORMS DELETE FROM `sys_form_displays` WHERE `object`='bx_person' AND `display_name`='bx_person_view_full'; INSERT INTO `sys_form_displays`(`object`, `display_name`, `module`, `view_mode`, `title`) VALUES ('bx_person', 'bx_person_view_full', 'bx_persons', 1, '_bx_persons_form_profile_display_view_full'); DELETE FROM `sys_form_inputs` WHERE `object`='bx_person' AND `name` IN ('cover', 'cover_preview', 'picture', 'picture_preview', 'allow_view_to'); INSERT INTO `sys_form_inputs`(`object`, `module`, `name`, `value`, `values`, `checked`, `type`, `caption_system`, `caption`, `info`, `required`, `collapsed`, `html`, `attrs`, `attrs_tr`, `attrs_wrapper`, `checker_func`, `checker_params`, `checker_error`, `db_pass`, `db_params`, `editable`, `deletable`) VALUES ('bx_person', 'bx_persons', 'cover', 'a:1:{i:0;s:21:"bx_persons_cover_crop";}', 'a:1:{s:21:"bx_persons_cover_crop";s:24:"_sys_uploader_crop_title";}', 0, 'files', '_bx_persons_form_profile_input_sys_cover', '_bx_persons_form_profile_input_cover', '', 0, 0, 0, '', '', '', '', '', '', '', '', 1, 0), ('bx_person', 'bx_persons', 'picture', 'a:1:{i:0;s:23:"bx_persons_picture_crop";}', 'a:1:{s:23:"bx_persons_picture_crop";s:24:"_sys_uploader_crop_title";}', 0, 'files', '_bx_persons_form_profile_input_sys_picture', '_bx_persons_form_profile_input_picture', '', 0, 0, 0, '', '', '', '', '', '_bx_persons_form_profile_input_picture_err', '', '', 1, 0), ('bx_person', 'bx_persons', 'allow_view_to', 3, '', 0, 'custom', '_bx_persons_form_profile_input_sys_allow_view_to', '_bx_persons_form_profile_input_allow_view_to', '', 0, 0, 0, '', '', '', '', '', '', '', '', 0, 0); UPDATE `sys_form_inputs` SET `value`='_bx_persons_form_profile_input_submit' WHERE `object`='bx_person' AND `name`='do_submit'; UPDATE `sys_form_inputs` SET `db_pass`='<PASSWORD>' WHERE `object`='bx_person' AND `name`='description'; DELETE FROM `sys_form_display_inputs` WHERE `display_name`='bx_person_add' AND `input_name` IN ('cover_preview', 'picture_preview', 'allow_view_to', 'do_submit'); INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for_levels`, `active`, `order`) VALUES ('bx_person_add', 'allow_view_to', 2147483647, 1, 9), ('bx_person_add', 'do_submit', 2147483647, 1, 10); DELETE FROM `sys_form_display_inputs` WHERE `display_name`='bx_person_delete' AND `input_name` IN ('cover_preview', 'picture_preview'); DELETE FROM `sys_form_display_inputs` WHERE `display_name`='bx_person_edit' AND `input_name` IN ('cover_preview', 'picture_preview', 'allow_view_to', 'do_submit'); INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for_levels`, `active`, `order`) VALUES ('bx_person_edit', 'allow_view_to', 2147483647, 1, 8), ('bx_person_edit', 'do_submit', 2147483647, 1, 9); DELETE FROM `sys_form_display_inputs` WHERE `display_name`='bx_person_edit_cover' AND `input_name` IN ('cover_preview', 'picture_preview'); DELETE FROM `sys_form_display_inputs` WHERE `display_name`='bx_person_view' AND `input_name` IN ('cover_preview', 'picture_preview'); UPDATE `sys_form_display_inputs` SET `active`='0' WHERE `display_name`='bx_person_view' AND `input_name`='description'; DELETE FROM `sys_form_display_inputs` WHERE `display_name`='bx_person_view_full' AND `input_name` IN ('fullname', 'description'); INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for_levels`, `active`, `order`) VALUES ('bx_person_view_full', 'fullname', 2147483647, 1, 1), ('bx_person_view_full', 'description', 2147483647, 1, 2); -- Update profile pic and cover UPDATE `sys_storage_ghosts` AS `g` INNER JOIN (SELECT `d`.`id`, `d`.`picture` FROM `bx_persons_data` AS `d`) AS `s` ON (`s`.`picture` = `g`.id) SET `g`.`content_id` = `s`.`id` WHERE `object` LIKE 'bx_persons_pictures'; UPDATE `sys_storage_ghosts` AS `g` INNER JOIN (SELECT `d`.`id`, `d`.`cover` FROM `bx_persons_data` AS `d`) AS `s` ON (`s`.`cover` = `g`.id) SET `g`.`content_id` = `s`.`id` WHERE `object` LIKE 'bx_persons_pictures';
# txCluster.sql was originally generated by the autoSql program, which also # generated txCluster.c and txCluster.h. This creates the database representation of # an object which can be loaded and saved from RAM in a fairly # automatic way. #A cluster of transcripts or coding regions CREATE TABLE txCluster ( chrom varchar(255) not null, # Chromosome (or contig) chromStart int not null, # Zero based start within chromosome. chromEnd int not null, # End coordinate, non inclusive. name varchar(255) not null, # Cluster name score int not null, # BED score - 0-1000. 0 if not used. strand char(1) not null, # Strand - either plus or minus txCount int not null, # Count of transcripts txArray longblob not null, # Array of transcripts #Indices PRIMARY KEY(chrom) );
/* * * Make withdrawal for mobile account procedure * * * */ DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `makeMobileWithdrawal`(IN `account_ID_arg` INT(9), IN `amount_arg` DECIMAL(12,2), IN `date_of_withdrawl_arg` DATE, IN `MU_ID_arg` INT(9)) MODIFIES SQL DATA BEGIN DECLARE balance_arg decimal(12,2); DECLARE withdrawl_ID_arg int(9); DECLARE balance_of_device_arg decimal(12,2); /* BEGIN TRAN */ START TRANSACTION; /* get the current balance from the account to balance_arg variable */ SELECT balance INTO balance_arg from account where account_ID = account_ID_arg; /* update the value */ SELECT balance_arg - amount_arg into balance_arg ; /* update the table to new value */ UPDATE account set balance = balance_arg where account_ID = account_ID_arg; /* insert the data to deposits table */ INSERT into mobilet(date_of_mobileT,amount,MU_ID,dep_with) values(date_of_withdrawl_arg, amount_arg,MU_ID_arg, "W"); /* get the primary key from deposits table to deposit_ID_arg*/ SET withdrawl_ID_arg = LAST_INSERT_ID(); /* insert account_Id and deposit_ID_arg to the make deposits table */ INSERT into makes_mobilet values(account_ID_arg, withdrawl_ID_arg); /* get the current balance from the mobile unit to balance_arg variable */ SELECT balance INTO balance_arg from mobile_unit where MU_ID = MU_ID_arg; /* update the value */ SELECT balance_arg - amount_arg into balance_arg ; /* update the table to new value */ UPDATE mobile_unit set balance = balance_arg where MU_ID = MU_ID_arg; COMMIT; END$$ DELIMITER ; /* * * Make deposits for mobile account procedure * * * */ DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `makeMobileDeposit`(IN `account_ID_arg` INT(9), IN `amount_arg` DECIMAL(12,2), IN `date_of_deposit_arg` DATE, IN `MU_ID_arg` INT(9)) MODIFIES SQL DATA BEGIN DECLARE balance_arg decimal(12,2); DECLARE deposit_ID_arg int(9); /* BEGIN TRAN */ START TRANSACTION; /* get the current balance from the account to balance_arg variable */ SELECT balance INTO balance_arg from account where account_ID = account_ID_arg; /* update the value */ SELECT balance_arg + amount_arg into balance_arg ; /* update the table to new value */ UPDATE account set balance = balance_arg where account_ID = account_ID_arg; /* insert the data to deposits table */ INSERT into mobilet(date_of_mobileT,amount,MU_ID,dep_with) values(date_of_deposit_arg, amount_arg,MU_ID_arg, "D"); /* get the primary key from deposits table to deposit_ID_arg*/ SET deposit_ID_arg = LAST_INSERT_ID(); /* insert account_Id and deposit_ID_arg to the make deposits table */ INSERT into makes_mobilet values(account_ID_arg, deposit_ID_arg); /* get the current balance from the mobile unit to balance_arg variable */ SELECT balance INTO balance_arg from mobile_unit where MU_ID = MU_ID_arg; /* update the value */ SELECT balance_arg + amount_arg into balance_arg ; /* update the table to new value */ UPDATE mobile_unit set balance = balance_arg where MU_ID = MU_ID_arg; COMMIT; END$$ DELIMITER ; /* * add new mobile Account * * This function is created to retrieve data using Mobile banking account id and password * */ DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `addMA`(`customer_ID_arg` INT(9), MU_ID_arg int(9),`password_arg` VARCHAR(40)) BEGIN INSERT INTO mobile_banking_account VALUES (customer_ID_arg,MU_ID_arg,password_arg); END$$ DELIMITER ; /* * get Mobile Account function * * This function is created to retrieve data using Mobile banking account id and password * */ DELIMITER $$ CREATE DEFINER=`root`@`localhost` FUNCTION `getMA`(`MU_ID_arg` INT(9), `password_arg` VARCHAR(40)) RETURNS int(9) BEGIN DECLARE MU_ID_return int(9); Select MU_ID from mobile_unit where MU_ID=MU_ID_arg and password= password_arg into MU_ID_return; RETURN MU_ID_return; END$$ DELIMITER ; /* * * Make deposits procedure * * * */ DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `makeDeposit`(IN `account_ID_arg` INT(9), IN `amount_arg` DECIMAL(12,2), IN `date_of_deposit_arg` DATE) MODIFIES SQL DATA BEGIN DECLARE balance_arg decimal(12,2); DECLARE deposit_ID_arg int(9); /* BEGIN TRAN */ START TRANSACTION; /* get the current balance from the account to balance_arg variable */ SELECT balance INTO balance_arg from account where account_ID = account_ID_arg; /* update the value */ SELECT balance_arg + amount_arg into balance_arg ; /* update the table to new value */ UPDATE account set balance = balance_arg where account_ID = account_ID_arg; /* insert the data to deposits table */ INSERT into deposits(date_of_deposit,amount) values(date_of_deposit_arg, amount_arg); /* get the primary key from deposits table to deposit_ID_arg*/ SET deposit_ID_arg = LAST_INSERT_ID(); /* insert account_Id and deposit_ID_arg to the make deposits table */ INSERT into makes_deposit values(account_ID_arg, deposit_ID_arg); COMMIT; END$$ DELIMITER ; /* * * Make withdrawal procedure * * * */ DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `makeWithdrawal`(IN `account_ID_arg` INT(9), IN `amount_arg` DECIMAL(12,2), IN `date_of_withdrawl_arg` DATE) MODIFIES SQL DATA BEGIN DECLARE balance_arg decimal(12,2); DECLARE withdrawl_ID_arg int(9); /* BEGIN TRAN */ START TRANSACTION; /* get the current balance from the account to balance_arg variable */ SELECT balance INTO balance_arg from account where account_ID = account_ID_arg; /* update the value */ SELECT balance_arg - amount_arg into balance_arg ; /* proceed only if value can be redeemed*/ IF balance_arg >=0 THEN /* update the table to new value */ UPDATE account set balance = balance_arg where account_ID = account_ID_arg; /* insert the data to withdrawal table */ INSERT into withdrawls(date_of_withdrawl,amount) values(date_of_withdrawl_arg, amount_arg); /* get the primary key from withdrawal table to withdrawl_ID_arg*/ SET withdrawl_ID_arg = LAST_INSERT_ID(); /* insert account_Id and withdrawl_ID_arg to the make withdrawal table */ INSERT into makes_withdrawl values(account_ID_arg, withdrawl_ID_arg); COMMIT; END IF; END$$ DELIMITER ; /* * * Add user function * * * */ DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `addUser`(Email varchar(100), date_of_birth date,first_name varchar(30),last_name varchar(30)) MODIFIES SQL DATA BEGIN START TRANSACTION; Insert into users(Email,date_of_birth,first_name,last_name) values (Email,date_of_birth,first_name,last_name); COMMIT; END$$ DELIMITER ; /* * * Add account function * It simultaneously add account * update deposits table * update own by table * update makes_deposits table * * */ DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `addAccount`(IN `user_ID_arg` INT(9), IN `account_type` INT(2), IN `initial_deposit` DECIMAL(12,2), IN `date_created` DATE) MODIFIES SQL DATA BEGIN DECLARE deposit_ID_arg int(9); DECLARE account_ID_arg int(9); /* BEGIN TRAN */ START TRANSACTION; /* insert the data to account table */ insert into account(acc_type_ID,balance) values (account_type,initial_deposit); /* get the account_ID. we have to use this method since the ID is auto generated*/ SET account_ID_arg = LAST_INSERT_ID(); /* insert the data to deposits table */ INSERT into deposits(date_of_deposit,amount) values(date_created, initial_deposit); /* get the primary key from deposits table to deposit_ID_arg*/ SET deposit_ID_arg = LAST_INSERT_ID(); /* insert account_Id and deposit_ID_arg to the make deposits table */ INSERT into makes_deposit values(account_ID_arg, deposit_ID_arg); /* update own by table */ INSERT INTO own_by VALUES (account_ID_arg,user_ID_arg); COMMIT; END$$ DELIMITER ;
<reponame>VEuPathDB/EdaSubsettingService -- ============================================================ -- CHANGES TO THIS FILE WILL BREAK UNIT TESTS -- ============================================================ ------------------------------------------------------------ -- STUDY METADATA TABLES ------------------------------------------------------------ --(stable_id, display_nme, internal_abbrev) insert into study values ('DS-2324', 'GEMS', 'ds2324'); insert into StudyIdDatasetId values('DS-2324', 'datasetid_2222'); --(stable_id, study_stable_id, parent_stable_id, internal_abbrev, display_name, display_name_plural, description) insert into entityTypeGraph values ('GEMS_House', 'DS-2324', null, 'Hshld', 'Household', 'Households', 'Households in the study'); insert into entityTypeGraph values ('GEMS_HouseObs', 'DS-2324', 'GEMS_House', 'HshldObsrvtn', 'Household Observation', 'Household Observations', 'Observations about households in the study'); insert into entityTypeGraph values ('GEMS_Part','DS-2324', 'GEMS_House', 'Prtcpnt', 'Participant', 'Participants', 'Participants in the study'); insert into entityTypeGraph values ('GEMS_PartObs', 'DS-2324', 'GEMS_Part', 'PrtcpntObsrvtn', 'Participant Observation', 'Participant Observations', 'Participant observations'); insert into entityTypeGraph values ('GEMS_Sample', 'DS-2324', 'GEMS_PartObs', 'Smpl', 'Sample', 'Samples', 'Sample'); insert into entityTypeGraph values ('GEMS_Treat', 'DS-2324', 'GEMS_PartObs', 'Trtmnt', 'Treatment', 'Treatments', 'Treatment'); ------------------------------------------------------------ -- STUDY DATA TABLES ------------------------------------------------------------ -- households -- stable_id, parent_stable_id, provider_label, display_name, definition, ordinal_values, display_type, display_order, display_range_min, display_range_max, range_min, range_max, bin_width_override, bin_width_computed, is_temporal, is_featured, is_merge_key, is_repeated, has_values, data_type, distinct_values_count, is_multi_valued, data_shape, unit, precision insert into AttributeGraph_ds2324_Hshld values ('var_h1', null, '_address', 'City', 'The city where they live', '["Miami","Boston"]', 'default', 2, null, null, null, null, null, null, 0, 0, 0, 0, 1, 'string', 10, 0, 'categorical', null, null); insert into AttributeGraph_ds2324_Hshld values ('var_h2', null, '_roof', 'Roof', 'The roof type', null, 'default', 1, null, null, null, null, null, null, 0, 0, 0, 0, 1, 'string', 10, 0, 'categorical', null, null); insert into Ancestors_ds2324_Hshld values ('101'); insert into AttributeValue_ds2324_Hshld values ('101', 'var_h1', null, 'Miami', null); insert into Ancestors_ds2324_Hshld values ('102'); insert into AttributeValue_ds2324_Hshld values ('102', 'var_h1', null, 'Boston', null); -- household observations -- stable_id, parent_stable_id, provider_label, display_name, definition, ordinal_values, display_type, display_order, display_range_min, display_range_max, range_min, range_max, bin_width_override, bin_width_computed, is_temporal, is_featured, is_merge_key, is_repeated, has_values, data_type, distinct_values_count, is_multi_valued, data_shape, unit, precision insert into AttributeGraph_ds2324_HshldObsrvtn values ('var_ho1', null, '_watersupply', 'Water supply', 'Their water supply', '["piped","well"]', 'default', 1, null, null, null, null, null, null, 0, 0, 0, 0, 1, 'string', 10, 0, 'categorical', null, null); insert into Ancestors_ds2324_HshldObsrvtn values ('301', '101'); insert into AttributeValue_ds2324_HshldObsrvtn values ('301', 'var_ho1', null, 'piped', null); insert into Ancestors_ds2324_HshldObsrvtn values ('302', '102'); insert into AttributeValue_ds2324_HshldObsrvtn values ('302', 'var_ho1', null, 'well', null); -- participants -- stable_id, parent_stable_id, provider_label, display_name, definition, vocabulary, display_type, display_order, display_range_min, display_range_max, range_min, range_max, bin_width_override, bin_width_computed, is_temporal, is_featured, is_merge_key, is_repeated, has_values, data_type, distinct_values_count, is_multi_valued, data_shape, unit, precision insert into AttributeGraph_ds2324_Prtcpnt values ('var_p1', null, '_networth', 'Net worth', 'Their net worth', null, 'default', 1, null, null, '100', '100000', null, '50', 0, 0, 0, 0, 1, 'number', 10, 0, 'continuous', 'dollars', 2); insert into AttributeGraph_ds2324_Prtcpnt values ('var_p2', null, '_shoesize', 'Shoe size', 'Their shoe size', null, 'default', 1, null, null, '1.5', '14.5', null, '1', 0, 0, 0, 0, 1, 'number', 10, 0, 'categorical', 'size', 1); insert into AttributeGraph_ds2324_Prtcpnt values ('var_p3', null, '_name', 'Name', 'Their name', null, 'default', 1, null, null, null, null, null, null, 0, 0, 0, 0, 1, 'string', 10, 0, 'categorical', null, null); insert into AttributeGraph_ds2324_Prtcpnt values ('var_p4', null, '_haircolor', 'Hair color', 'Their hair color', '["blond","brown","silver"]', 'default', 1, null, null, null, null, null, null, 0, 0, 0, 0, 1, 'string', 10, 0, 'categorical', null, null); insert into AttributeGraph_ds2324_Prtcpnt values ('var_p5', null, '_earsize', 'Ear size', 'Their ear size', null, 'default', 1, null, null, null, null, null, null, 0, 0, 0, 0,1, 'string', 10, 0, 'categorical', null, null); insert into Ancestors_ds2324_Prtcpnt values ('201', '101'); insert into AttributeValue_ds2324_Prtcpnt values ('201', 'var_p3', null, 'Martin', null); insert into AttributeValue_ds2324_Prtcpnt values ('201', 'var_p2', 11.5, null, null); insert into AttributeValue_ds2324_Prtcpnt values ('201', 'var_p4', null, 'blond', null); insert into AttributeValue_ds2324_Prtcpnt values ('201', 'var_p5', null, 'small', null); insert into Ancestors_ds2324_Prtcpnt values ('202', '101'); insert into AttributeValue_ds2324_Prtcpnt values ('202', 'var_p3', null, 'Abe', null); insert into AttributeValue_ds2324_Prtcpnt values ('202', 'var_p2', 10, null, null); insert into AttributeValue_ds2324_Prtcpnt values ('202', 'var_p4', null, 'blond', null); insert into AttributeValue_ds2324_Prtcpnt values ('202', 'var_p5', null, 'medium', null); insert into Ancestors_ds2324_Prtcpnt values ('203', '102'); insert into AttributeValue_ds2324_Prtcpnt values ('203', 'var_p3', null, 'Gladys', null); insert into AttributeValue_ds2324_Prtcpnt values ('203', 'var_p2', 11.5, null, null); insert into AttributeValue_ds2324_Prtcpnt values ('203', 'var_p4', null, 'brown', null); insert into AttributeValue_ds2324_Prtcpnt values ('203', 'var_p5', null, 'large', null); insert into Ancestors_ds2324_Prtcpnt values ('204', '102'); insert into AttributeValue_ds2324_Prtcpnt values ('204', 'var_p3', null, 'Susan', null); insert into AttributeValue_ds2324_Prtcpnt values ('204', 'var_p2', 10, null, null); insert into AttributeValue_ds2324_Prtcpnt values ('204', 'var_p4', null, 'silver', null); -- intentionally omit var_18 to test left join logic -- participant observations -- stable_id, parent_stable_id, provider_label, display_name, definition, vocabulary, display_type, display_order, display_range_min, display_range_max, range_min, range_max, bin_width_override, bin_width_computed, is_temporal, is_featured, is_merge_key, is_repeated, has_values, data_type, distinct_values_count, is_multi_valued, data_shape, unit, precision insert into AttributeGraph_ds2324_PrtcpntObsrvtn values ('var_o1', null, '_weight', 'Weight', 'Their weight', null, 'default', 1, null, null, '0', '200', null, '5', 0, 0, 0, 0, 1, 'number', 10, 0, 'continuous', 'pounds', 2); insert into AttributeGraph_ds2324_PrtcpntObsrvtn values ('var_o2', null, '_favnumber', 'Favorite number', 'Their favorite number', null, 'default', 1, null, null, '0', '1000.123', null, '10', 0, 0, 0, 0, 1, 'number', 10, 0, 'categorical', null, null); insert into AttributeGraph_ds2324_PrtcpntObsrvtn values ('var_o3', null, '_startdate', 'Start date', 'Their start date', null, 'default', 1, null, null, to_date('1999','yyyy'), to_date('2010','yyyy'), null, 'week', 0, 0, 0, 0, 1, 'date', 10, 0, 'continuous', 'date', null); insert into AttributeGraph_ds2324_PrtcpntObsrvtn values ('var_o4', null, '_visitdate', 'Visit date', 'Their visit date', null, 'default', 1, null, null, to_date('1999','yyyy'), to_date('2010','yyyy'), 'month', 'week', 0, 0, 0, 0, 1, 'date', 10, 0, 'continuous', 'date', null); insert into AttributeGraph_ds2324_PrtcpntObsrvtn values ('var_o5', null, '_mood', 'Mood', 'Their mood', null, 'default', 1, null, null, null, null, null, null, 0, 0, 0, 0, 1, 'string', 10, 0, 'categorical', null, null); -- samples insert into AttributeGraph_ds2324_Smpl values ('var_s1', null, '_density', 'Density', 'Their density', null, 'default', 1, null, null, null, null, null, null, 0, 0, 0, 0, 1, 'string', 10, 0, 'categorical', null, null); -- treatments insert into AttributeGraph_ds2324_Trtmnt values ('var_t1', null, '_painkiller', 'Pain killer', 'Their pain killer', null, 'default', 1, null, null, null, null, null, null, 0, 0, 0, 0, 1, 'string', 10, 0, 'categorical', null, null);
DROP SCHEMA IF EXISTS myuniversity_mymodule CASCADE; DROP ROLE IF EXISTS myuniversity_mymodule;
CREATE USER airflow; CREATE DATABASE airflow; GRANT ALL PRIVILEGES ON DATABASE airflow TO airflow; CREATE USER grafana; CREATE DATABASE grafana; GRANT ALL PRIVILEGES ON DATABASE grafana TO grafana;
create table trunk_enis ( id serial constraint trunk_enis_pk primary key, trunk_eni text, account_id text, created_at timestamp default CURRENT_TIMESTAMP, az text, subnet_id text, vpc_id text, region text ); create unique index trunk_enis_trunk_eni_uindex on trunk_enis (trunk_eni);
<reponame>LasseWolter/clowdr<gh_stars>10-100 alter table "chat"."Chat" add constraint "Chat_duplicateToId_fkey" foreign key ("duplicateToId") references "chat"."Chat" ("id") on update cascade on delete set null;
<filename>Database/Schema Objects/Schemas/dbo/Programmability/Types/User Defined Table Types/ProjectSFN_TableType.udtt.sql CREATE TYPE [dbo].[ProjectSFN_TableType] AS TABLE ( [Project] VARCHAR (24) NULL, [Accession] CHAR (7) NULL, [OrgR] CHAR (4) NULL, [inv1] VARCHAR (30) NULL, [SFN] CHAR (3) NULL, [Amt] DECIMAL (16, 3) DEFAULT ((0.0)) NULL, [isExpense] BIT NULL);
<gh_stars>0 -- // Label group table -- Migration SQL that makes the change goes here. CREATE TABLE groups ( id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY, name VARCHAR(255) NULL DEFAULT NULL, description TEXT, created_at TIMESTAMP NULL DEFAULT NULL, updated_at TIMESTAMP NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- @UNDO -- SQL to undo the change goes here. DROP TABLE groups;
<reponame>camara94/sql_serveur_2012 USE master RESTORE SERVICE MASTER KEY FROM FILE='c:\bkp\masterykeysqlserver.key' DECRYPTION BY PASSWORD='<PASSWORD>!'
-- phpMyAdmin SQL Dump -- version 4.8.3 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Nov 16, 2019 at 09:54 AM -- Server version: 5.6.41-84.1-log -- PHP Version: 7.2.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `aobsierp_interfaceindia` -- -- -------------------------------------------------------- -- -- Table structure for table `admin_table` -- CREATE TABLE `admin_table` ( `adm_id` int(11) NOT NULL, `category` text NOT NULL, `name` varchar(30) NOT NULL, `username` varchar(30) NOT NULL, `password` varchar(30) NOT NULL, `version` text NOT NULL, `device_id` text NOT NULL, `device_type` text NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `admin_table` -- INSERT INTO `admin_table` (`adm_id`, `category`, `name`, `username`, `password`, `version`, `device_id`, `device_type`) VALUES (1, 'Accounts,Sales,Marketing,Human Resource,Logistics,Office Administration,Finance ', 'Super Admin', '<EMAIL>', '<PASSWORD>', '', '488892', ''), (4, 'Accounts,Sales,Marketing,Human Resource', '<NAME>', 'vinitp', 'vinitp', '', '654321', ''), (5, 'Accounts', '<NAME>', 'pri', 'pri', '', '815699', ''), (6, 'Sales', '<NAME>', 'pallavi', 'pallavi', '', '985176', ''), (7, 'Sales,Marketing,Logistics,Office Administration', '<NAME>', '<EMAIL>', 'prashanti123', '', '', ''), (8, 'Accounts,Human Resource,Logistics,Finance ', '<NAME>', '<EMAIL>', 'prajakta123', '', '', ''); -- -------------------------------------------------------- -- -- Table structure for table `assign_team_member` -- CREATE TABLE `assign_team_member` ( `assign_id` int(11) NOT NULL, `reminder_id` int(11) NOT NULL, `team_member_id` int(11) NOT NULL, `date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `assign_team_member` -- INSERT INTO `assign_team_member` (`assign_id`, `reminder_id`, `team_member_id`, `date_created`) VALUES (5, 1, 2, '2019-05-14 07:21:01'), (6, 2, 11, '2019-06-19 04:43:51'), (7, 2, 3, '2019-06-19 04:43:51'), (8, 3, 11, '2019-06-19 04:51:44'), (9, 3, 3, '2019-06-19 04:51:44'), (32, 17, 10, '2019-09-10 04:59:22'), (30, 4, 3, '2019-09-10 04:16:13'), (12, 5, 11, '2019-06-19 05:06:16'), (13, 5, 3, '2019-06-19 05:06:16'), (14, 8, 3, '2019-07-10 09:55:31'), (15, 8, 12, '2019-07-10 09:55:31'), (18, 9, 12, '2019-07-18 12:40:53'), (23, 12, 3, '2019-08-09 06:17:55'), (26, 13, 3, '2019-08-09 06:38:49'), (27, 16, 3, '2019-09-10 04:09:39'), (28, 15, 3, '2019-09-10 04:11:34'), (29, 14, 3, '2019-09-10 04:13:23'); -- -------------------------------------------------------- -- -- Table structure for table `category_master` -- CREATE TABLE `category_master` ( `id` int(11) NOT NULL, `category` varchar(30) NOT NULL, `date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `category_master` -- INSERT INTO `category_master` (`id`, `category`, `date_created`) VALUES (2, 'Accounts', '2019-05-14 07:04:56'), (3, 'Sales', '2019-06-19 04:08:35'), (4, 'Marketing', '2019-06-19 04:08:50'), (5, 'Human Resource', '2019-06-19 04:09:04'), (6, 'Logistics', '2019-06-19 04:10:14'), (8, 'Office Administration', '2019-06-19 04:11:47'), (9, 'Finance ', '2019-06-19 04:12:25'); -- -------------------------------------------------------- -- -- Table structure for table `log` -- CREATE TABLE `log` ( `id` int(11) NOT NULL, `reminder_id` int(11) NOT NULL, `category_id` int(11) NOT NULL, `team_member_id` int(11) NOT NULL, `log_activity` text NOT NULL, `comments` text NOT NULL, `date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `log` -- INSERT INTO `log` (`id`, `reminder_id`, `category_id`, `team_member_id`, `log_activity`, `comments`, `date_created`) VALUES (1, 1, 2, 2, '<NAME> has marked \'GSTR1 Return Filing\' reminder as Resolved of Category Accounts at 06:33:27 AM', 'done ', '2019-05-20 01:03:27'), (2, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 04:54:56 PM', 'resolved', '2019-07-18 11:24:56'), (3, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 04:57:18 PM', 'resolved', '2019-07-18 11:27:18'), (4, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 04:57:52 PM', 'resolved', '2019-07-18 11:27:52'), (5, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:00:32 PM', 'resolved', '2019-07-18 11:30:32'), (6, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:01:56 PM', 'resolved', '2019-07-18 11:31:56'), (7, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:05:21 PM', 'resolved', '2019-07-18 11:35:21'), (8, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:08:18 PM', 'resolved', '2019-07-18 11:38:18'), (9, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:08:44 PM', 'resolved', '2019-07-18 11:38:44'), (10, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:09:06 PM', 'resolved', '2019-07-18 11:39:06'), (11, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:09:46 PM', 'resolved', '2019-07-18 11:39:46'), (12, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:10:42 PM', 'resolved', '2019-07-18 11:40:42'), (13, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:10:55 PM', 'resolved', '2019-07-18 11:40:55'), (14, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:17:48 PM', 'resolved', '2019-07-18 11:47:48'), (15, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:18:26 PM', 'resolved', '2019-07-18 11:48:26'), (16, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:18:54 PM', 'resolved', '2019-07-18 11:48:54'), (17, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:20:38 PM', 'resolved', '2019-07-18 11:50:38'), (18, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:21:02 PM', 'resolved', '2019-07-18 11:51:02'), (19, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:21:26 PM', 'resolved', '2019-07-18 11:51:26'), (20, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:50:58 PM', 'resolved', '2019-07-18 12:20:58'), (21, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:51:23 PM', 'resolved', '2019-07-18 12:21:23'), (22, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:53:21 PM', 'resolved', '2019-07-18 12:23:21'), (23, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:53:40 PM', 'resolved', '2019-07-18 12:23:40'), (24, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:54:16 PM', 'resolved', '2019-07-18 12:24:16'), (25, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:56:55 PM', 'resolved', '2019-07-18 12:26:55'), (26, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:58:10 PM', 'resolved', '2019-07-18 12:28:10'), (27, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 05:58:40 PM', 'resolved', '2019-07-18 12:28:40'), (28, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 06:00:26 PM', 'resolved', '2019-07-18 12:30:26'), (29, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 06:01:43 PM', 'resolved', '2019-07-18 12:31:43'), (30, 9, 4, 12, 'Aniket has marked \'GST Return- GSTR3B\' reminder as Resolved of Category Accounts at 06:36:05 PM', 'resolved', '2019-07-18 13:06:05'), (31, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 06:37:50 PM', 'resolved', '2019-07-18 13:07:50'), (32, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 06:40:25 PM', 'resolved', '2019-07-18 13:10:25'), (33, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 06:41:38 PM', 'resolved', '2019-07-18 13:11:38'), (34, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 06:41:41 PM', 'resolved', '2019-07-18 13:11:41'), (35, 9, 4, 12, 'Aniket has marked \'GST Return- GSTR3B\' reminder as Resolved of Category Accounts at 06:42:12 PM', 'resolved', '2019-07-18 13:12:12'), (36, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 06:44:37 PM', 'resolved', '2019-07-18 13:14:37'), (37, 9, 4, 12, 'Aniket has marked \'GST Return- GSTR3B\' reminder as Resolved of Category Accounts at 06:45:12 PM', 'resolved', '2019-07-18 13:15:12'), (38, 9, 4, 12, 'Aniket has marked \'GST Return- GSTR3B\' reminder as Resolved of Category Accounts at 06:48:06 PM', 'resolved', '2019-07-18 13:18:06'), (39, 9, 4, 12, 'Aniket has marked \'GST Return- GSTR3B\' reminder as Resolved of Category Accounts at 06:48:36 PM', 'resolved', '2019-07-18 13:18:36'), (40, 9, 4, 12, 'Aniket has marked \'GST Return- GSTR3B\' reminder as Resolved of Category Accounts at 06:48:51 PM', 'resolved', '2019-07-18 13:18:51'), (41, 9, 4, 12, 'Aniket has marked \'GST Return- GSTR3B\' reminder as Resolved of Category Accounts at 06:49:30 PM', 'resolved', '2019-07-18 13:19:30'), (42, 9, 4, 12, 'Aniket has marked \'GST Return- GSTR3B\' reminder as Resolved of Category Accounts at 06:50:30 PM', 'resolved', '2019-07-18 13:20:30'), (43, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 06:55:49 PM', 'resolved', '2019-07-18 13:25:49'), (44, 9, 4, 12, 'Aniket has marked \'GST Return- GSTR3B\' reminder as Resolved of Category Accounts at 06:56:53 PM', 'resolved', '2019-07-18 13:26:53'), (45, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 01:22:16 PM', 'Resolved', '2019-07-19 07:52:16'), (46, 9, 4, 12, 'Aniket has marked \'GST Return- GSTR3B\' reminder as Resolved of Category Accounts at 01:26:49 PM', 'Resolved', '2019-07-19 07:56:49'), (47, 8, 0, 3, '<NAME> has marked \'Sale Main Out\' reminder as Resolved of Category Sales at 01:28:20 PM', 'Resolved', '2019-07-19 07:58:20'), (48, 12, 2, 3, '<NAME> has marked \'Test Reminder \' reminder as Resolved of Category Accounts at 12:02:40 PM', 'Its Done', '2019-08-09 06:32:40'), (49, 16, 2, 3, '<NAME> has marked \'GST Return- GSTR1\' reminder as Resolved of Category Accounts at 09:50:45 AM', 'yes...done successfully on 9th', '2019-09-10 04:20:45'); -- -------------------------------------------------------- -- -- Table structure for table `notification` -- CREATE TABLE `notification` ( `id` int(11) NOT NULL, `team_member_id` int(11) NOT NULL, `message` text NOT NULL, `date_created` varchar(30) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `notification` -- INSERT INTO `notification` (`id`, `team_member_id`, `message`, `date_created`) VALUES (1, 3, 'tax', '2019-06-19 10:02:32'), (2, 3, 'Test', '2019-08-09 11:13:19'), (3, 3, 'Hey', '2019-08-09 11:29:41'), (4, 3, 'Hey', '2019-08-09 11:31:23'), (5, 3, 'Please check if the software is sending proper messages', '2019-09-10 10:35:20'), (6, 8, 'Test Notification', '2019-09-10 10:36:33'); -- -------------------------------------------------------- -- -- Table structure for table `reminder` -- CREATE TABLE `reminder` ( `id` int(11) NOT NULL, `category_id` varchar(30) NOT NULL, `title` varchar(30) NOT NULL, `description` text NOT NULL, `task_date` varchar(30) NOT NULL, `task_time` varchar(30) NOT NULL, `team_member_id` varchar(30) NOT NULL, `repeat_reminder` varchar(30) NOT NULL, `reminder_start_date` varchar(30) NOT NULL, `reminder_start_time` varchar(30) NOT NULL, `repeat_reminder_every` varchar(30) NOT NULL, `priority` varchar(30) NOT NULL, `status` tinyint(4) NOT NULL, `reminder_status` int(11) NOT NULL DEFAULT '0', `date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `reminder` -- INSERT INTO `reminder` (`id`, `category_id`, `title`, `description`, `task_date`, `task_time`, `team_member_id`, `repeat_reminder`, `reminder_start_date`, `reminder_start_time`, `repeat_reminder_every`, `priority`, `status`, `reminder_status`, `date_created`) VALUES (17, '8', 'Prepare Test Zig', 'Please prepare test zig for LG Electronics under guidance from Hemant Sir', '2019-09-30', 'All Day', '', '', '2019-09-10', '10:00 AM', '24', 'Medium Priority', 1, 0, '2019-09-10 04:58:33'), (18, '2', 'GST Payment', 'Payment of monthly GST liability through UCO Bank.', '2019-09-19', 'All Day', '', '', '2019-09-19', 'All Day', '24', 'High Priority', 1, 0, '2019-09-15 03:31:55'), (4, '2', 'GST Payment', 'Payment of monthly GST liability through UCO Bank.', '2019-09-19', 'All Day', '', '', '2019-09-16', '9:30 AM', '24', 'High Priority', 1, 0, '2019-09-10 04:16:13'), (19, '2', 'GST Return- GSTR1', 'File monthly GSTR1 before 10th.', '2019-10-10', 'All Day', '', '', '2019-10-10', 'All Day', '24', 'High Priority', 1, 0, '2019-10-06 03:32:03'), (20, '2', 'GST Payment', 'Payment of monthly GST liability through UCO Bank.', '2019-10-18', 'All Day', '', '', '2019-10-18', 'All Day', '24', 'High Priority', 1, 0, '2019-10-13 03:32:22'), (21, '2', 'GST Return- GSTR1', 'File monthly GSTR1 before 10th.', '2019-11-08', 'All Day', '', '', '2019-11-08', 'All Day', '24', 'High Priority', 1, 0, '2019-11-03 03:32:10'), (14, '2', 'GST Return- GSTR3B', 'File GSTR3B before 20th of the month', '2019-09-20', 'All Day', '', '', '2019-09-15', '11:05 AM', '24', 'High Priority', 1, 0, '2019-09-10 04:13:23'), (15, '2', 'GST Annual Return', 'File Annual GST Return before 31st October.', '2019-10-31', 'All Day', '', '', '2019-09-11', '10:30 AM', '24', 'High Priority', 1, 0, '2019-09-10 04:11:34'), (16, '2', 'GST Return- GSTR1', 'File monthly GSTR1 before 10th.', '2019-09-10', 'All Day', '', '', '2019-09-05', '10:05 AM', '24', 'High Priority', 1, 1, '2019-09-10 04:20:45'); -- -------------------------------------------------------- -- -- Table structure for table `repeat_reminder` -- CREATE TABLE `repeat_reminder` ( `request_id` int(11) NOT NULL, `reminder_id` int(11) NOT NULL, `frequency` varchar(20) NOT NULL, `day` varchar(10) NOT NULL, `repeat_date_start` varchar(30) NOT NULL, `repeat_date_end` varchar(30) NOT NULL, `repeat_status` int(11) NOT NULL DEFAULT '1' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `repeat_reminder` -- INSERT INTO `repeat_reminder` (`request_id`, `reminder_id`, `frequency`, `day`, `repeat_date_start`, `repeat_date_end`, `repeat_status`) VALUES (1, 2, 'Monthly', '', '2019-07-05', '2022-03-10', 1), (2, 3, 'Monthly', '', '2019-07-16', '2022-03-20', 1), (3, 4, 'Monthly', '', '2019-07-16', '2022-03-20', 1), (4, 5, 'Yearly', '', '2019-05-01', '2022-06-30', 1), (5, 16, 'Monthly', '', '2019-09-05', '2020-09-10', 1), (6, 14, 'Monthly', '', '2019-09-15', '2020-09-20', 1), (7, 4, 'Monthly', '', '2019-09-16', '2020-09-19', 1); -- -------------------------------------------------------- -- -- Table structure for table `team_member` -- CREATE TABLE `team_member` ( `id` int(11) NOT NULL, `category_id` int(11) NOT NULL, `name` varchar(30) NOT NULL, `mobile` varchar(30) NOT NULL, `email` varchar(30) NOT NULL, `password` varchar(30) NOT NULL, `status` tinyint(4) NOT NULL DEFAULT '0', `version` varchar(30) NOT NULL, `device_id` varchar(50) NOT NULL, `device_type` varchar(30) NOT NULL, `date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `team_member` -- INSERT INTO `team_member` (`id`, `category_id`, `name`, `mobile`, `email`, `password`, `status`, `version`, `device_id`, `device_type`, `date_created`) VALUES (11, 5, '<NAME>', '8888887025', '<EMAIL>', '<PASSWORD>a123', 1, '', '', '', '2019-08-09 06:53:24'), (3, 2, '<NAME>', '9373040059', '<EMAIL>', 'password', 1, '1', '<PASSWORD>', 'Android', '2019-08-09 05:43:06'), (8, 3, '<NAME>', '9373040051', '<EMAIL>', '<PASSWORD>', 1, '', '', '', '2019-09-10 04:01:48'), (6, 3, '<NAME>', '9373040056', '<EMAIL>', 'shubham123', 1, '', '', '', '2019-09-10 04:02:32'), (9, 3, '<NAME>', '9373040053', '<EMAIL>', 'hemant123', 1, '', '', '', '2019-09-10 04:02:59'), (10, 6, '<NAME>', '9373040058', '<EMAIL>', 'arun123', 1, '', '', '', '2019-09-10 04:03:11'), (13, 8, '<NAME>', '9373040051', '<EMAIL>', 'prashanti123', 1, '', '', '', '2019-09-10 04:04:03'), (14, 5, '<NAME>', '9373040059', '<EMAIL>', 'prajakta123', 1, '', '', '', '2019-09-10 04:04:51'), (15, 8, '<NAME>', '9373040058', '<EMAIL>', 'arun123', 1, '', '', '', '2019-09-10 04:55:09'); -- -- Indexes for dumped tables -- -- -- Indexes for table `admin_table` -- ALTER TABLE `admin_table` ADD PRIMARY KEY (`adm_id`); -- -- Indexes for table `assign_team_member` -- ALTER TABLE `assign_team_member` ADD PRIMARY KEY (`assign_id`); -- -- Indexes for table `category_master` -- ALTER TABLE `category_master` ADD PRIMARY KEY (`id`); -- -- Indexes for table `log` -- ALTER TABLE `log` ADD PRIMARY KEY (`id`); -- -- Indexes for table `notification` -- ALTER TABLE `notification` ADD PRIMARY KEY (`id`); -- -- Indexes for table `reminder` -- ALTER TABLE `reminder` ADD PRIMARY KEY (`id`); -- -- Indexes for table `repeat_reminder` -- ALTER TABLE `repeat_reminder` ADD PRIMARY KEY (`request_id`); -- -- Indexes for table `team_member` -- ALTER TABLE `team_member` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `admin_table` -- ALTER TABLE `admin_table` MODIFY `adm_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `assign_team_member` -- ALTER TABLE `assign_team_member` MODIFY `assign_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33; -- -- AUTO_INCREMENT for table `category_master` -- ALTER TABLE `category_master` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT for table `log` -- ALTER TABLE `log` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50; -- -- AUTO_INCREMENT for table `notification` -- ALTER TABLE `notification` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `reminder` -- ALTER TABLE `reminder` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22; -- -- AUTO_INCREMENT for table `repeat_reminder` -- ALTER TABLE `repeat_reminder` MODIFY `request_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `team_member` -- ALTER TABLE `team_member` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
SELECT l.name AS league, ROUND(AVG(m.home_team_goal + m.away_team_goal), 2) AS avg_goals, /* Subquery to calculate overall average goals scored */ (SELECT ROUND(AVG(home_team_goal + away_team_goal), 2) FROM Match WHERE season = '2013/2014') AS overall_avg --> Have same WHERE clause in main query -- ROUND(AVG(m.home_goal + m.away_goal) - -- (SELECT AVG(home_goal + away_goal) -- FROM match -- WHERE season = '2013/2014'),2) AS diff --> To see the difference of overall vs avg for the season FROM League AS l LEFT JOIN match AS m ON l.country_id = m.country_id WHERE season = '2013/2014' GROUP BY league;
<reponame>iafb/greatreadingadventure CREATE TABLE [dbo].[CustomRegistrationFields] ( [CID] INT IDENTITY (1, 1) NOT NULL, [Use1] BIT CONSTRAINT [DF_CustomRegistrationFields_Use1] DEFAULT ((0)) NULL, [Label1] VARCHAR (50) NULL, [DDValues1] VARCHAR (50) NULL, [Use2] BIT CONSTRAINT [DF_CustomRegistrationFields_Use2] DEFAULT ((0)) NULL, [Use3] BIT CONSTRAINT [DF_CustomRegistrationFields_Use3] DEFAULT ((0)) NULL, [Use4] BIT CONSTRAINT [DF_CustomRegistrationFields_Use4] DEFAULT ((0)) NULL, [Use5] BIT CONSTRAINT [DF_CustomRegistrationFields_Use5] DEFAULT ((0)) NULL, [Label2] VARCHAR (50) NULL, [Label3] VARCHAR (50) NULL, [Label4] VARCHAR (50) NULL, [Label5] VARCHAR (50) NULL, [DDValues2] VARCHAR (50) NULL, [DDValues3] VARCHAR (50) NULL, [DDValues4] VARCHAR (50) NULL, [DDValues5] VARCHAR (50) NULL, [LastModDate] DATETIME CONSTRAINT [DF_CustomRegistrationFields_LastModDate] DEFAULT (getdate()) NULL, [LastModUser] VARCHAR (50) CONSTRAINT [DF_CustomRegistrationFields_LastModUser] DEFAULT ('N/A') NULL, [AddedDate] DATETIME CONSTRAINT [DF_CustomRegistrationFields_AddedDate] DEFAULT (getdate()) NULL, [AddedUser] VARCHAR (50) CONSTRAINT [DF_CustomRegistrationFields_AddedUser] DEFAULT ('N/A') NULL, [TenID] INT NULL, [FldInt1] INT NULL, [FldInt2] INT NULL, [FldInt3] INT NULL, [FldBit1] BIT NULL, [FldBit2] BIT NULL, [FldBit3] BIT NULL, [FldText1] TEXT NULL, [FldText2] TEXT NULL, [FldText3] TEXT NULL, CONSTRAINT [PK_CustomRegistrationFields] PRIMARY KEY CLUSTERED ([CID] ASC) );
<gh_stars>0 /* SQLyog Ultimate v11.11 (64 bit) MySQL - 5.5.5-10.1.38-MariaDB : Database - travelopolis ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; CREATE DATABASE /*!32312 IF NOT EXISTS*/`travelopolis` /*!40100 DEFAULT CHARACTER SET latin1 */; USE `travelopolis`; /*Table structure for table `detalle_viajes` */ DROP TABLE IF EXISTS `detalle_viajes`; CREATE TABLE `detalle_viajes` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del registro', `id_viaje` int(11) DEFAULT NULL COMMENT 'Identificador del viaje unido a este registo', `id_viajero` int(11) DEFAULT NULL COMMENT 'Identificador del viajero unido a este registro', `cantidad` int(11) DEFAULT NULL COMMENT 'Cantidad de pasajes solicitados por el viajero', `f_registro` date DEFAULT NULL COMMENT 'Fecha de agregacion del regisro', `status` int(1) DEFAULT NULL COMMENT 'Estado del registro (0 Inactivo, 1 Activo)', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `detalle_viajes` */ /*Table structure for table `dias_viajes` */ DROP TABLE IF EXISTS `dias_viajes`; CREATE TABLE `dias_viajes` ( `id` int(11) NOT NULL COMMENT 'Identifica el registro', `id_viaje` int(11) DEFAULT NULL COMMENT 'Identifica el registro del viaje padre de este regisstro', `nombre` varchar(100) DEFAULT NULL COMMENT 'Nombre del dia, este campo es unico por cada id_viaje', `descripcion` text COMMENT 'Describe el dia del viaje', `f_dia` date DEFAULT NULL COMMENT 'Fecha de ocurrencia de dia', `f_registro` date DEFAULT NULL COMMENT 'Fecha de registro del dia', `indice` int(11) DEFAULT NULL COMMENT 'Indice del dia en el itinerario del viaje', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `dias_viajes` */ /*Table structure for table `empleados` */ DROP TABLE IF EXISTS `empleados`; CREATE TABLE `empleados` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del registro', `nombre` varchar(45) DEFAULT NULL COMMENT 'Nombre del Empleado', `a_paterno` varchar(45) DEFAULT NULL COMMENT 'Apellido Paterno del Empleado', `a_materno` varchar(45) DEFAULT NULL COMMENT 'Apellido Materno del Empelado', `telefono` varchar(15) DEFAULT NULL COMMENT 'Telefono de contacto del empleado', `correo` varchar(30) DEFAULT NULL COMMENT 'Correo del empleado registrado', `rfc` varchar(100) NOT NULL COMMENT 'RFC del Empleado, este campo es unico y obligatorio', `nss` varchar(100) NOT NULL COMMENT 'NSS del Empleado, esta campo es unico y obligatorio', `f_registro` date DEFAULT NULL COMMENT 'Fecha de la creacion del registro', `id_usuario` int(11) NOT NULL COMMENT 'Identificador de usuario', `status` int(11) DEFAULT NULL COMMENT 'Estado del registro (0 Inactivo, 1 Activo)', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; /*Data for the table `empleados` */ insert into `empleados`(`id`,`nombre`,`a_paterno`,`a_materno`,`telefono`,`correo`,`rfc`,`nss`,`f_registro`,`id_usuario`,`status`) values (1,'Valeria','Altamirano','Palacios','6699129707','<EMAIL>','ANV980321PAAL','70169728311','2019-03-11',1,1),(2,'Juan','Valverde','Martinez','6693250611','<EMAIL>','JURA972305vVAMA','7016928311','2019-03-11',2,1),(3,'Carlos','Hernandez','Gaxiola','6694252565','<EMAIL>','CAAL981507HEGA','7016928331','2019-03-11',3,1),(4,'José','Lora','Peinado','6631842943','<EMAIL>','JOMA982308LOPA','70169255262','2019-03-11',4,1),(5,'Cesar','Ramirez','Luna','6392299693','<EMAIL>','CEED990215RALU','7016521196','2019-03-11',5,1); /*Table structure for table `mensajes_grupos` */ DROP TABLE IF EXISTS `mensajes_grupos`; CREATE TABLE `mensajes_grupos` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del registro', `id_remitente` int(11) DEFAULT NULL COMMENT 'Identifiacador del usuario remitente del mensaje', `id_grupo_destinatario` int(11) DEFAULT NULL COMMENT 'Identificador del grupo destinatario del mensaje', `cuerpo` longtext COMMENT 'Cuerpo del mensaje', `f_registro` date DEFAULT NULL COMMENT 'Fecha del registro del mensaje', `h_registro` time DEFAULT NULL COMMENT 'Hora del registro del mensaje', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `mensajes_grupos` */ /*Table structure for table `mensajes_privados` */ DROP TABLE IF EXISTS `mensajes_privados`; CREATE TABLE `mensajes_privados` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del registro', `id_remitente` int(11) DEFAULT NULL COMMENT 'Identificador del usuario que mando el mensaje', `id_destinatario` int(11) DEFAULT NULL COMMENT 'Identificador del destinatario que mando el mensaje', `cuerpo` longtext COMMENT 'Cuerpo del mensaje', `f_registro` date DEFAULT NULL COMMENT 'Fecha del registro del mensaje', `h_registro` time DEFAULT NULL COMMENT 'Hora del registro del mensaje', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `mensajes_privados` */ /*Table structure for table `modulos` */ DROP TABLE IF EXISTS `modulos`; CREATE TABLE `modulos` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(50) DEFAULT NULL, `descripcion` varchar(255) DEFAULT NULL, `ruta` varchar(45) DEFAULT NULL, `fa_icon` varchar(45) DEFAULT NULL, `status` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1; /*Data for the table `modulos` */ insert into `modulos`(`id`,`nombre`,`descripcion`,`ruta`,`fa_icon`,`status`) values (1,'Inicio','Explora los viajes y tambien crea tu usuario','inicio','fas fa-home',1),(2,'Modulos','Modulo para ver los modulos','administrar/modulos','fas fa-puzzle-piece',1),(3,'Viajeros','Ver listado de viajeros','administrar/viajeros','far fa-user',1),(4,'Viajes','Agregar, editar, eliminar y ver registro de viajes','administrar/viajes','fas fa-plane',1),(5,'Perfiles','Ver, editar y cambiar permisos de perfiles','administrar/perfiles','fas fa-side-head',1),(6,'Guias','Agregar, editar, eliminar y listar guias','administrar/guias','fas fa-file-user',1),(7,'Administradores','Agregar, editar, eliminar y listar administradores','administrar/administradores','fas fa-user-cog',1),(8,'Mi Perfil','Ver datos de mi perfil de usuario','perfil','fas fa-user',1); /*Table structure for table `movimientos` */ DROP TABLE IF EXISTS `movimientos`; CREATE TABLE `movimientos` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del registro', `fecha` date DEFAULT NULL COMMENT 'Fecha de registro del movimiento', `tipo` int(11) DEFAULT NULL COMMENT 'Tipo de movimiento (0 registro, 1 baja, 2 modificacion)', `tabla` varchar(50) DEFAULT NULL COMMENT 'Nombre de la tabla afectada por el movimiento', `id_usuario_responsable` int(11) DEFAULT NULL COMMENT 'Identificador del usuario responsable del movimiento', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `movimientos` */ /*Table structure for table `perfiles` */ DROP TABLE IF EXISTS `perfiles`; CREATE TABLE `perfiles` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(20) DEFAULT NULL, `descripcion` varchar(45) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; /*Data for the table `perfiles` */ insert into `perfiles`(`id`,`nombre`,`descripcion`) values (1,'Administrador','Acceso a todo'),(2,'Guía','Acceso a itinerario y pasajeros'),(3,'Viajero','Cliente'); /*Table structure for table `perfiles_modulos` */ DROP TABLE IF EXISTS `perfiles_modulos`; CREATE TABLE `perfiles_modulos` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del regsitro', `id_perfil` int(11) DEFAULT NULL COMMENT 'Identifica el tipo de usuario que puede acceder al modulo', `id_modulo` int(11) DEFAULT NULL COMMENT 'Identifica el modulo que esta relaciona con el tipo de usuario', `f_registro` date DEFAULT NULL COMMENT 'Fecha en que se agrego el reistro', `status` int(11) DEFAULT NULL COMMENT 'Estado del registro (0 Inactivo, 1 Activo)', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `perfiles_modulos` */ /*Table structure for table `publicaciones` */ DROP TABLE IF EXISTS `publicaciones`; CREATE TABLE `publicaciones` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del registro', `id_propietario` int(11) DEFAULT NULL COMMENT 'Identificador del usuario propietario de la noticia', `cuerpo` text COMMENT 'Mensaje principal de la publicacion', `titulo` text COMMENT 'Titulo de la publicacion', `tipo` int(11) DEFAULT NULL COMMENT 'Tipo de noticia (0 viaje realizado, 1 viaje por realizar, 2 nuevo vieaje, 3 viaje renovado, 4 experiencia de viaje)', `f_registro` date DEFAULT NULL COMMENT 'Fecha de registro de la publicacion', `status` int(1) DEFAULT NULL COMMENT 'Estado del registro (0 Inactivo, 1 Activo)', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `publicaciones` */ /*Table structure for table `rutas_multimedia` */ DROP TABLE IF EXISTS `rutas_multimedia`; CREATE TABLE `rutas_multimedia` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del registro', `id_viaje` int(11) DEFAULT NULL COMMENT 'Identificador del viaje con el que se liga la archivo', `ruta` text COMMENT 'Ruta de la foto/imagen', `tipo` int(11) DEFAULT NULL COMMENT 'Tipo de archivo multimedia del registro (0 foto, 1 video)', `id_usuario` int(11) DEFAULT NULL COMMENT 'Identificador del usuario que agrego la foto', `f_registro` date DEFAULT NULL COMMENT 'Fecha en que se agrego la foto', `status` int(11) DEFAULT NULL COMMENT 'Estado del registro (0 Inactivo, 1 Activo)', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `rutas_multimedia` */ /*Table structure for table `tipos_proveedores` */ DROP TABLE IF EXISTS `tipos_proveedores`; CREATE TABLE `tipos_proveedores` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador de tipos de provedor', `nombre` varchar(40) DEFAULT NULL COMMENT 'nombre del tipo Hospedaje/Transporte/LUGAR', `estatus` int(11) DEFAULT NULL COMMENT '0=Inactivo/1=ACTIVO', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `tipos_proveedores` */ /*Table structure for table `usuarios` */ DROP TABLE IF EXISTS `usuarios`; CREATE TABLE `usuarios` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del usuario', `usuario` varchar(100) DEFAULT NULL COMMENT 'Nombre del usuario, este campo es unico', `contraseña` varchar(100) DEFAULT NULL COMMENT 'Contraseña del usuario, encriptacion sha1', `id_perfil` int(11) DEFAULT NULL COMMENT 'Identificador del rol que ejerce el usuario en el sistema (0 Sistemas, 1 Admistrador, 2 Guia, 3 Viajero)', `f_registro` date DEFAULT NULL COMMENT 'Fecha de registro del usuario', `status` int(11) DEFAULT NULL COMMENT 'Estado actual del registro (0 Inactivo, 1 Activo)', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1; /*Data for the table `usuarios` */ insert into `usuarios`(`id`,`usuario`,`contraseña`,`id_perfil`,`f_registro`,`status`) values (1,'Valeria','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',1,'2019-03-11',1),(2,'Juan','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',1,'2019-03-11',1),(3,'Carlos','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',1,'2019-03-11',1),(4,'Lora','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',2,'2019-03-11',1),(5,'Cesar','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',2,'2019-03-11',1),(6,'Linda','1234',3,'2019-03-11',1),(7,'Kimiko','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',3,'2019-03-11',1),(8,'inda','c2325b478dfeef64a3088ea3f8f0c0f284173a91',4,'2019-03-11',1),(9,'joma1998','1234',4,'2019-03-12',1); /*Table structure for table `viajeros` */ DROP TABLE IF EXISTS `viajeros`; CREATE TABLE `viajeros` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(100) DEFAULT NULL, `a_paterno` varchar(100) DEFAULT NULL, `a_materno` varchar(100) DEFAULT NULL, `ruta_foto` varchar(255) DEFAULT NULL, `telefono` varchar(15) DEFAULT NULL, `correo` varchar(30) DEFAULT NULL COMMENT 'Correo del viajero registrado', `id_usuario` int(11) DEFAULT NULL, `f_registro` date DEFAULT NULL, `status` int(11) DEFAULT NULL COMMENT '0) inactivo 1) activo', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; /*Data for the table `viajeros` */ insert into `viajeros`(`id`,`nombre`,`a_paterno`,`a_materno`,`ruta_foto`,`telefono`,`correo`,`id_usuario`,`f_registro`,`status`) values (1,'Linda','German','Torres',NULL,'6699276707','<EMAIL>',6,'2019-03-11',1),(2,'Alejandro','Castro','Aviles',NULL,'6691002599','<EMAIL>',7,'2019-03-11',1),(3,'Armando','Inda','Mellado',NULL,'6692276707','<EMAIL>',8,'2019-03-11',1),(4,'LORa','PEINADO','JOSE',NULL,NULL,NULL,9,NULL,NULL),(5,'$nombre','$apellido_p','$apellido_m','$nueva_foto','$telefono','$correo',0,'0000-00-00',0),(6,'LORA','LORA','LORA','LORA','LORA','LORA',1,'0000-00-00',1); /*Table structure for table `viajes` */ DROP TABLE IF EXISTS `viajes`; CREATE TABLE `viajes` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del registro', `nombre` varchar(100) DEFAULT NULL COMMENT 'Nombre del viaje, este campo debe ser unico', `descripcion` text COMMENT 'Agrega una breve descripcion del viaje', `minimo` int(11) DEFAULT NULL COMMENT 'Cantidad minima de viajeros para poder realizar este viaje', `maximo` int(11) DEFAULT NULL COMMENT 'Cantidad maxima de viajeros para realizar este viaje', `precio` float DEFAULT NULL COMMENT 'Precio base del viaje', `dias_duracion` int(11) DEFAULT NULL COMMENT 'Duración del viaje', `noches_duracion` int(11) DEFAULT NULL COMMENT 'Cantidad de noches', `dias_espera_devolucion` int(11) DEFAULT NULL COMMENT 'Numero de dias antes de la fecha del viaje para pedir una devolucion', `f_inicio` date DEFAULT NULL COMMENT 'Fecha de inicio del viaje', `f_fin` date DEFAULT NULL COMMENT 'Fecha de fin del viaje', `url_imagen` text COMMENT 'Url relativa al sitio donde se almacena una imagen de muestra para el viaje', `f_registro` date DEFAULT NULL COMMENT 'Fecha de registro del viaje', `status` int(1) DEFAULT NULL COMMENT 'Estado del viaje (0 Inactivo, 1 reclutando, 2 lleno, 3 realizado)', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; /*Data for the table `viajes` */ insert into `viajes`(`id`,`nombre`,`descripcion`,`minimo`,`maximo`,`precio`,`dias_duracion`,`noches_duracion`,`dias_espera_devolucion`,`f_inicio`,`f_fin`,`url_imagen`,`f_registro`,`status`) values (1,'Primavera Invernal','Viaje por Mazamitla en la primavera, y paseo al parque de diversiones',30,42,2400,3,2,30,'2019-04-26','2019-04-28',NULL,'2019-03-11',1),(2,'Playopolis','Viaje por Cancún visitando sus hermosas playas y hospedaje en un hotel de 3 estrellas.',30,42,6500,4,3,30,'2019-07-19','2019-07-22',NULL,'2019-03-11',1),(3,'<NAME>','Viaje por Guanajuato visitando sus hermosas ruinas y saludando sus momias.hola.',30,42,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0); /*Table structure for table `viajes_destacados` */ DROP TABLE IF EXISTS `viajes_destacados`; CREATE TABLE `viajes_destacados` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del registro', `id_viaje` int(11) DEFAULT NULL COMMENT 'Identificador del viaje marcado como favorito', `id_viajero` int(11) DEFAULT NULL COMMENT 'Identificador del viajero que marco el viaje', `tipo` int(11) DEFAULT NULL COMMENT 'Tipo de destamiento del viaje (0 Me encanta, 1 Me hubiera gustado)', `f_registro` date DEFAULT NULL COMMENT 'Fecha de registro', `status` int(1) DEFAULT NULL COMMENT 'Estado del registro (1 Marcado, 0 No Marcado)', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `viajes_destacados` */ /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
<reponame>carlitoxenlaweb/seip-temp begin; CREATE TABLE IF NOT EXISTS `seip_cei_day_stop` ( `id` int(11) NOT NULL, `nro_day` int(11) NOT NULL, `enabled` tinyint(1) NOT NULL, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL, `deletedAt` datetime DEFAULT NULL ) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; INSERT INTO `seip_cei_day_stop` (`id`, `nro_day`, `enabled`, `createdAt`, `updatedAt`, `deletedAt`) VALUES (1, 1, 1, '2015-05-03 21:38:47', '2015-05-03 21:38:47', NULL), (2, 2, 1, '2015-05-03 21:39:14', '2015-05-03 21:39:14', NULL), (3, 3, 1, '2015-05-03 21:39:19', '2015-05-03 21:39:19', NULL), (4, 4, 1, '2015-05-03 21:39:25', '2015-05-03 21:39:25', NULL), (5, 5, 1, '2015-05-03 21:39:29', '2015-05-03 21:39:29', NULL), (6, 6, 1, '2015-05-03 21:39:34', '2015-05-03 21:39:34', NULL), (7, 7, 1, '2015-05-03 21:39:38', '2015-05-03 21:39:38', NULL), (8, 8, 1, '2015-05-03 21:39:42', '2015-05-03 21:39:42', NULL), (9, 9, 1, '2015-05-03 21:39:46', '2015-05-03 21:39:46', NULL), (10, 10, 1, '2015-05-03 21:39:50', '2015-05-03 21:39:50', NULL), (11, 11, 1, '2015-05-03 21:39:54', '2015-05-03 21:39:54', NULL), (12, 12, 1, '2015-05-03 21:39:58', '2015-05-03 21:39:58', NULL), (13, 13, 1, '2015-05-03 21:40:02', '2015-05-03 21:40:02', NULL), (14, 14, 1, '2015-05-03 21:40:06', '2015-05-03 21:40:06', NULL), (15, 15, 1, '2015-05-03 21:40:09', '2015-05-03 21:40:09', NULL), (16, 16, 1, '2015-05-03 21:40:12', '2015-05-03 21:40:12', NULL), (17, 17, 1, '2015-05-03 21:40:16', '2015-05-03 21:40:16', NULL), (18, 18, 1, '2015-05-03 21:40:19', '2015-05-03 21:40:19', NULL), (19, 19, 1, '2015-05-03 21:40:23', '2015-05-03 21:40:23', NULL), (20, 20, 1, '2015-05-03 21:40:29', '2015-05-03 21:40:29', NULL), (21, 21, 1, '2015-05-03 21:40:32', '2015-05-03 21:40:32', NULL), (22, 22, 1, '2015-05-03 21:40:36', '2015-05-03 21:40:36', NULL), (23, 23, 1, '2015-05-03 21:40:39', '2015-05-03 21:40:39', NULL), (24, 24, 1, '2015-05-03 21:40:43', '2015-05-03 21:40:43', NULL), (25, 25, 1, '2015-05-03 21:40:46', '2015-05-03 21:40:46', NULL), (26, 26, 1, '2015-05-03 21:40:49', '2015-05-03 21:40:49', NULL), (27, 27, 1, '2015-05-03 21:40:53', '2015-05-03 21:40:53', NULL), (28, 28, 1, '2015-05-03 21:40:58', '2015-05-03 21:40:58', NULL), (29, 29, 1, '2015-05-03 21:41:02', '2015-05-03 21:41:02', NULL), (30, 30, 1, '2015-05-03 21:41:07', '2015-05-03 21:41:07', NULL), (31, 31, 1, '2015-05-03 21:41:12', '2015-05-03 21:41:12', NULL); ALTER TABLE `seip_cei_day_stop` ADD PRIMARY KEY (`id`); ALTER TABLE `seip_cei_day_stop` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=32; commit;
<gh_stars>0 delete from tags; delete from comments; delete from posts; delete from users; insert into users(user_id, email, password, name, role) values(1,'<EMAIL>','admin','Administrator','ROLE_ADMIN'); insert into users(user_id, email, password, name, role) values(2,'<EMAIL>','foot','foot pro','ROLE_USER'); insert into tags(tag_id, name, description) values (1,'OM','recrutement OM'), (2,'PSG','recrutement PSG'), (3,'Nice','recrutement OGCN'), (4,'Lyon','recrutement OL'), (5,'ASSE','recrutement ASSE'), (6,'Lille','recrutement LOSC') ; insert into posts(post_id, title, content, created_on, updated_on) values(1,'Attaquant de 18 ans','issu de centre de formation de Nice', '2018-01-20', null); insert into posts(post_id, title, content, created_on, updated_on) values(2,'Gardien de but','issu de centre de formation de OM', '2018-01-25', null); insert into comments(comment_id, post_id, email, name, content, created_on, updated_on) values(1, 1, '<EMAIL>', 'Guest','sample comment 1', now(), null); insert into comments(comment_id, post_id, email, name, content, created_on, updated_on) values(2, 2, '<EMAIL>', 'Test','sample comment 2', now(), null); insert into comments(comment_id, post_id, email, name, content, created_on, updated_on) values(3, 2, '<EMAIL>', 'Test','sample comment 3', now(), now());
CREATE TABLE [dbo].[AzureAdminSubscriptionVmOsMapping]( [Id] [int] IDENTITY (1, 1) NOT NULL, [VmOsId] [int] NOT NULL, [PlanId] varchar(50) NOT NULL, [IsActive] [bit] NOT NULL, CONSTRAINT [PK_AzureAdminSubscriptionVmOsMapping] PRIMARY KEY CLUSTERED ([Id] ASC));
<filename>docsite/examples-schema-subjects.sql CREATE TABLE departments ( id INTEGER PRIMARY KEY, name TEXT ); INSERT INTO departments (id, name) VALUES (1, 'Research'), (2, 'Accounting'), (3, 'Finance');
<filename>bigquery/02_compute_overlaps.sql<gh_stars>1-10 # Creating list of number of users who authored at least 10 posts in pairs of subreddits: SELECT t1.subreddit, t2.subreddit, SUM(1) as NumOverlaps FROM (SELECT subreddit, author, COUNT(1) as cnt FROM [fh-bigquery:reddit_comments.all_starting_201501] WHERE author NOT IN (SELECT author FROM [fh-bigquery:reddit_comments.bots_201505]) AND subreddit IN (SELECT subreddit FROM [PROJECT_ID:DATASET_ID.subr_rank_all_starting_201501] WHERE rank_authors>200 AND rank_authors<2201) GROUP BY subreddit, author HAVING cnt > 10) t1 JOIN (SELECT subreddit, author, COUNT(1) as cnt FROM [fh-bigquery:reddit_comments.all_starting_201501] WHERE author NOT IN (SELECT author FROM [fh-bigquery:reddit_comments.bots_201505]) GROUP BY subreddit, author HAVING cnt > 10) t2 ON t1.author=t2.author WHERE t1.subreddit!=t2.subreddit GROUP BY t1.subreddit, t2.subreddit
<reponame>yuweijun/spring-boot-examples --liquibase formatted sql --changeset yuweijun:5 date:2018-09-06 DROP TABLE IF EXISTS `tickets64`; CREATE TABLE `tickets64` ( `id` bigint(20) unsigned NOT NULL auto_increment, `stub` char(1) NOT NULL default '', PRIMARY KEY (`id`), UNIQUE KEY `stub` (`stub`) ) ENGINE=MyISAM; --rollback drop table tickets64;
<filename>Migration/MigrationV3V4/CSharp/ContosoHelpdeskChatBot-V3/ContosoHelpdeskData/dbo/Tables/LocalAdmin.sql<gh_stars>1000+ CREATE TABLE [dbo].[LocalAdmin] ( [Id] INT IDENTITY (1, 1) NOT NULL, [MachineName] NVARCHAR (MAX) NULL, [AdminDuration] INT NULL, CONSTRAINT [PK_dbo.LocalAdmin] PRIMARY KEY CLUSTERED ([Id] ASC) );
CREATE TABLE [ssas].[TMSCHEMA_CULTURES] ( [databasename] NVARCHAR (128) CONSTRAINT [DF_TMSCHEMA_CULTURES_database] DEFAULT (N'mydatabase') NOT NULL, [ID] NUMERIC (20) NOT NULL, [ModelID] NUMERIC (20) NOT NULL, [Name] NVARCHAR (MAX) NOT NULL, [LinguisticMetadataID] NUMERIC (20) NULL, [ModifiedTime] DATETIME NOT NULL, [StructureModifiedTime] DATETIME NOT NULL, CONSTRAINT [PK_TMSCHEMA_CULTURES] PRIMARY KEY CLUSTERED ([databasename] ASC, [ID] ASC) ); GO EXECUTE sp_addextendedproperty @name = N'RepoObject_guid', @value = 'f1e6a70a-8a06-ec11-8515-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'CONSTRAINT', @level2name = N'DF_TMSCHEMA_CULTURES_database'; GO EXECUTE sp_addextendedproperty @name = N'RepoObject_guid', @value = 'f2e6a70a-8a06-ec11-8515-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'CONSTRAINT', @level2name = N'PK_TMSCHEMA_CULTURES'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = '81c70313-8a06-ec11-8515-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'COLUMN', @level2name = N'StructureModifiedTime'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = '80c70313-8a06-ec11-8515-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'COLUMN', @level2name = N'ModifiedTime'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = '7fc70313-8a06-ec11-8515-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'COLUMN', @level2name = N'LinguisticMetadataID'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = '7ec70313-8a06-ec11-8515-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'COLUMN', @level2name = N'Name'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = '7dc70313-8a06-ec11-8515-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'COLUMN', @level2name = N'ModelID'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = '7cc70313-8a06-ec11-8515-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'COLUMN', @level2name = N'ID'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = '7bc70313-8a06-ec11-8515-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'COLUMN', @level2name = N'databasename'; GO EXECUTE sp_addextendedproperty @name = N'RepoObject_guid', @value = 'f0e6a70a-8a06-ec11-8515-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES'; GO EXECUTE sp_addextendedproperty @name = N'is_ssas', @value = N'0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'CONSTRAINT', @level2name = N'PK_TMSCHEMA_CULTURES'; GO EXECUTE sp_addextendedproperty @name = N'is_repo_managed', @value = N'0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'CONSTRAINT', @level2name = N'PK_TMSCHEMA_CULTURES'; GO EXECUTE sp_addextendedproperty @name = N'is_ssas', @value = N'0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'CONSTRAINT', @level2name = N'DF_TMSCHEMA_CULTURES_database'; GO EXECUTE sp_addextendedproperty @name = N'is_repo_managed', @value = N'0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES', @level2type = N'CONSTRAINT', @level2name = N'DF_TMSCHEMA_CULTURES_database'; GO EXECUTE sp_addextendedproperty @name = N'pk_IndexPatternColumnName', @value = N'databasename,ID', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES'; GO EXECUTE sp_addextendedproperty @name = N'pk_IndexPatternColumnDatatype', @value = N'nvarchar(128),numeric(20, 0)', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES'; GO EXECUTE sp_addextendedproperty @name = N'pk_index_guid', @value = N'F2E6A70A-8A06-EC11-8515-A81E8446D5B0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES'; GO EXECUTE sp_addextendedproperty @name = N'is_ssas', @value = N'0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES'; GO EXECUTE sp_addextendedproperty @name = N'is_repo_managed', @value = N'0', @level0type = N'SCHEMA', @level0name = N'ssas', @level1type = N'TABLE', @level1name = N'TMSCHEMA_CULTURES';
<filename>api/src/main/resources/sql/schemas/sil/sil.v1.sql -- sil tables are copied from SIL schema docs and adorned with columns this system needs -- https://www.ethnologue.com/codes/code-table-structure -- http://www.ethnologue.com/sites/default/files/Ethnologue-19-Global%20Dataset%20Doc.pdf create schema sil; create type sil.lang_status_type as enum ( 'L', -- L(iving) 'X' -- (e)X(tinct) ); CREATE TABLE sil.language_codes ( id varchar(32) primary key default common.nanoid(), lang char(3) not null, -- Three-letter code country char(2) not null, -- Main country where used lang_status sil.lang_status_type not null, name varchar(75) not null, -- Primary name in that country created_at timestamp not null default CURRENT_TIMESTAMP, created_by varchar(32) not null references admin.people(id), modified_at timestamp not null default CURRENT_TIMESTAMP, modified_by varchar(32) not null references admin.people(id), owning_person varchar(32) not null references admin.people(id), owning_group varchar(32) not null references admin.groups(id) ); CREATE TABLE sil.country_codes ( id varchar(32) primary key default common.nanoid(), country char(2) not null, -- Two-letter code from ISO3166 name varchar(75) not null, -- Country name area varchar(10) not null, -- World area created_at timestamp not null default CURRENT_TIMESTAMP, created_by varchar(32) not null references admin.people(id), modified_at timestamp not null default CURRENT_TIMESTAMP, modified_by varchar(32) not null references admin.people(id), owning_person varchar(32) not null references admin.people(id), owning_group varchar(32) not null references admin.groups(id) ); create type sil.language_name_type as enum ( 'L', -- L(anguage) 'LA', -- LA(lternate) 'D', -- D(ialect) 'DA', -- DA(lternate) 'LP', -- LP (a pejorative alternate) 'DP' -- DP (a pejorative alternate) ); CREATE TABLE sil.language_index ( id varchar(32) primary key not null references common.languages(id), lang char(3) not null, -- Three-letter code for language country char(2) not null, -- Country where this name is used name_type sil.language_name_type not null, name varchar(75) not null, created_at timestamp not null default CURRENT_TIMESTAMP, created_by varchar(32) not null references admin.people(id), modified_at timestamp not null default CURRENT_TIMESTAMP, modified_by varchar(32) not null references admin.people(id), owning_person varchar(32) not null references admin.people(id), owning_group varchar(32) not null references admin.groups(id) ); create type sil.iso_639_3_scope_options as enum ( 'I', -- Individual 'M', -- Macrolanguage 'S' -- Special ); create type sil.iso_639_3_type_options as enum ( 'A', -- Ancient 'C', -- Constructed 'E', -- Extinct 'H', -- Historical 'L', -- Living 'S' -- Special ); CREATE TABLE sil.iso_639_3 ( id varchar(32) primary key default common.nanoid(), _id char(3) not null, -- three letter 639-3 identifier part_2b char(3), -- equivalent 639-2 identifier of the bibliographic applications code set, if there is one part_2t char(3), -- equivalent 639-2 identifier of the terminology applications code set, if there is one part_1 char(2), -- equivalent 639-1 identifier, if there is one scope sil.iso_639_3_scope_options not null, type sil.iso_639_3_type_options not null, ref_name varchar(150) not null, -- reference language name comment varchar(150), -- comment relating to one or more of the columns created_at timestamp not null default CURRENT_TIMESTAMP, created_by varchar(32) not null references admin.people(id), modified_at timestamp not null default CURRENT_TIMESTAMP, modified_by varchar(32) not null references admin.people(id), owning_person varchar(32) not null references admin.people(id), owning_group varchar(32) not null references admin.groups(id) ); CREATE TABLE sil.iso_639_3_names ( id varchar(32) primary key default common.nanoid(), _id char(3) not null, -- three letter 639-3 identifier print_name varchar(75) not null, -- one of the names associated with this identifier inverted_name varchar(75) not null, -- the inverted form of this print_name form created_at timestamp not null default CURRENT_TIMESTAMP, created_by varchar(32) not null references admin.people(id), modified_at timestamp not null default CURRENT_TIMESTAMP, modified_by varchar(32) not null references admin.people(id), owning_person varchar(32) not null references admin.people(id), owning_group varchar(32) not null references admin.groups(id) ); create type sil.iso_639_3_status_options as enum ( 'A', -- Active 'R' -- Retired ); CREATE TABLE sil.iso_639_3_macrolanguages ( id varchar(32) primary key default common.nanoid(), m_id char(3) not null, -- the identifier for a macrolanguage i_id char(3) not null, -- the identifier for an individual language that is a member of the macrolanguage i_status sil.iso_639_3_status_options not null, -- indicating the status of the individual code element created_at timestamp not null default CURRENT_TIMESTAMP, created_by varchar(32) not null references admin.people(id), modified_at timestamp not null default CURRENT_TIMESTAMP, modified_by varchar(32) not null references admin.people(id), owning_person varchar(32) not null references admin.people(id), owning_group varchar(32) not null references admin.groups(id) ); create type sil.iso_639_3_retirement_reason_options as enum ( 'C', -- Change 'D', -- Duplicate 'N', -- Non-existent 'S', -- Split 'M' -- Merge ); CREATE TABLE sil.iso_639_3_retirements ( id varchar(32) primary key default common.nanoid(), _id char(3) not null, -- three letter 639-3 identifier ref_name varchar(150) not null, -- reference name of the language ret_reason sil.iso_639_3_retirement_reason_options, -- code for retirement change_to char(3), -- in the cases of C, D, and M, the identifier to which all instances of this id should be changed ret_remedy varchar(300), -- the instructions for updating an instance of the retired (split) identifier effective timestamp not null, -- the date the retirement became effective created_at timestamp not null default CURRENT_TIMESTAMP, created_by varchar(32) not null references admin.people(id), modified_at timestamp not null default CURRENT_TIMESTAMP, modified_by varchar(32) not null references admin.people(id), owning_person varchar(32) not null references admin.people(id), owning_group varchar(32) not null references admin.groups(id) ); CREATE TABLE sil.table_of_countries ( id varchar(32) primary key default common.nanoid(), country_code char(2), country_name varchar(40), languages int, indigenous int, established int, unestablished int, diversity decimal, included int, sum_of_populations int, mean int, median int, population int, literacy_rate decimal, conventions int, created_at timestamp not null default CURRENT_TIMESTAMP, created_by varchar(32) not null references admin.people(id), modified_at timestamp not null default CURRENT_TIMESTAMP, modified_by varchar(32) not null references admin.people(id), owning_person varchar(32) not null references admin.people(id), owning_group varchar(32) not null references admin.groups(id) ); CREATE TABLE sil.table_of_languages ( id varchar(32) primary key default common.nanoid(), iso_639 char(3), language_name varchar(50), uninverted_name varchar(50), country_code char(2), country_name varchar(40), region_code char(3), region_name varchar(30), area varchar(8), l1_users int, digits int, all_users int, countries int, family varchar(30), classification varchar(250), latitude decimal, longitude decimal, egids varchar(3), is_written char(1), institutional int, developing int, vigorous int, in_trouble int, dying int, extinct int, created_at timestamp not null default CURRENT_TIMESTAMP, created_by varchar(32) not null references admin.people(id), modified_at timestamp not null default CURRENT_TIMESTAMP, modified_by varchar(32) not null references admin.people(id), owning_person varchar(32) not null references admin.people(id), owning_group varchar(32) not null references admin.groups(id) ); CREATE TABLE sil.table_of_languages_in_country ( id varchar(32) primary key default common.nanoid(), iso_639 char(3), language_name varchar(50), uninverted_name varchar(50), country_code char(2), country_name varchar(40), region_code char(3), region_name varchar(30), area varchar(8), is_primary char(1), is_indigenous char(1), is_established char(1), all_users int, l1_users int, l2_users int, family varchar(30), egids varchar(3), function_code varchar(3), function_label varchar(42), institutional int, developing int, vigorous int, in_trouble int, dying int, extinct int, created_at timestamp not null default CURRENT_TIMESTAMP, created_by varchar(32) not null references admin.people(id), modified_at timestamp not null default CURRENT_TIMESTAMP, modified_by varchar(32) not null references admin.people(id), owning_person varchar(32) not null references admin.people(id), owning_group varchar(32) not null references admin.groups(id) );
prompt --application/shared_components/navigation/lists/p7_action_menu begin -- Manifest -- LIST: P7_ACTION_MENU -- Manifest End wwv_flow_api.component_begin ( p_version_yyyy_mm_dd=>'2020.03.31' ,p_release=>'20.1.0.00.13' ,p_default_workspace_id=>2400405578329584 ,p_default_application_id=>100 ,p_default_id_offset=>0 ,p_default_owner=>'FLOWS4APEX' ); wwv_flow_api.create_list( p_id=>wwv_flow_api.id(7935522414465879) ,p_name=>'P7_ACTION_MENU' ,p_list_status=>'PUBLIC' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(7935795315465880) ,p_list_item_display_sequence=>10 ,p_list_item_link_text=>'Export' ,p_list_item_link_target=>'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:5:P5_DGRM_ID,P5_MULTI:&P7_DGRM_ID.,N:' ,p_list_item_icon=>'fa-download' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(7936149892465882) ,p_list_item_display_sequence=>20 ,p_list_item_link_text=>'Delete' ,p_list_item_icon=>'fa-trash-o' ,p_list_text_01=>'delete-flow-diagram' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.component_end; end; /
<gh_stars>0 DELIMITER / INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,CONS_CD,NMSPC_CD,OBJ_ID,PARM_DESC_TXT,PARM_DTL_TYP_CD,PARM_NM,PARM_TYP_CD,TXT,VER_NBR) VALUES ('KC','A','KC-COIDISCLOSURE',UUID(),'Column header label for Coi FE conflict','Document','COI_DISCLOSURE_FE_CONFLICT_HEADER_LABEL','CONFG','Related',1) / DELIMITER ;
1. Написать запрос получение всех продуктов с типом "СЫР" SELECT * FROM product AS p INNER JOIN type AS t ON p.type_id = t.id AND t.name = 'СЫР'; 2. Написать запрос получения всех продуктов, у кого в имени есть слово "мороженное" SELECT * FROM product WHERE name LIKE '%мороженное%'; 3. Написать запрос, который выводит все продукты, срок годности которых заканчивается в следующем месяце. SELECT * FROM product WHERE (SELECT date_part('month', expired_date)) = (SELECT date_part('month', CURRENT_DATE + INTERVAL'1 month')); 4. Написать запрос, который выводит самый дорогой продукт. SELECT * FROM product; WHERE price = (SELECT MAX(price) FROM product); 5. Написать запрос, который выводит количество всех продуктов определенного типа. SELECT t.name, COUNT(p.type_id) FROM product AS p INNER JOIN type AS t ON p.type_id = t.id GROUP BY t.name; 6. Написать запрос получение всех продуктов с типом "СЫР" и "МОЛОКО" SELECT * FROM product AS p INNER JOIN type AS t ON p.type_id = t.id AND t.name = 'СЫР' AND t.name = 'МОЛОКО'; 7. Написать запрос, который выводит тип продуктов, которых осталось меньше 10 штук. SELECT t.name, COUNT (type_id) FROM product AS p INNER JOIN type AS t ON p.type_id = t.id GROUP BY t.name HAVING COUNT(type_id) < 10; 8. Вывести все продукты и их тип. SELECT p.name, t.name FROM product AS p INNER JOIN type AS t ON p.type_id = t.id;
<filename>exercices/dubreuia-sql-jpa/sql/init.sql SET @@global.time_zone = '+01:00'; CREATE TABLE students ( id INTEGER PRIMARY KEY AUTO_INCREMENT, first_name VARCHAR(128), last_name VARCHAR(128) NOT NULL, birthdate DATE NOT NULL, note DOUBLE ); INSERT INTO students VALUES (NULL, 'Donald', 'Trump', date('1946-05-31'), 0.0); INSERT INTO students VALUES (NULL, 'George', '<NAME>', date('1946-08-05'), 10.0); SELECT * FROM students;
REM RecordAssignment.sql REM Chapter 3, Oracle9i PL/SQL Programming by <NAME> REM This block shows legal and illegal record assignments. DECLARE TYPE t_Rec1Type IS RECORD ( Field1 NUMBER, Field2 VARCHAR2(5)); TYPE t_Rec2Type IS RECORD ( Field1 NUMBER, Field2 VARCHAR2(5)); v_Rec1 t_Rec1Type; v_Rec2 t_Rec2Type; BEGIN /* Even though v_Rec1 and v_Rec2 have the same field names and field types, the record types themselves are different. This is an illegal assignment which raises PLS-382. */ v_Rec1 := v_Rec2; /* However, the fields are the same type, so the following are legal assignments. */ v_Rec1.Field1 := v_Rec2.Field1; v_Rec2.Field2 := v_Rec2.Field2; END; /
/* Warnings: - You are about to drop the `_replies` table. If the table is not empty, all the data it contains will be lost. */ -- DropForeignKey ALTER TABLE "_replies" DROP CONSTRAINT "_replies_A_fkey"; -- DropForeignKey ALTER TABLE "_replies" DROP CONSTRAINT "_replies_B_fkey"; -- DropTable DROP TABLE "_replies"; -- CreateTable CREATE TABLE "reply" ( "id" SERIAL NOT NULL, "createdAt" TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP, "message" VARCHAR(200) NOT NULL, "commenterId" INTEGER NOT NULL, "commentId" INTEGER NOT NULL, CONSTRAINT "reply_pkey" PRIMARY KEY ("id") ); -- AddForeignKey ALTER TABLE "reply" ADD CONSTRAINT "reply_commenterId_fkey" FOREIGN KEY ("commenterId") REFERENCES "user"("id") ON DELETE RESTRICT ON UPDATE CASCADE; -- AddForeignKey ALTER TABLE "reply" ADD CONSTRAINT "reply_commentId_fkey" FOREIGN KEY ("commentId") REFERENCES "comment"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
-- phpMyAdmin SQL Dump -- version 4.6.4 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Aug 02, 2017 at 11:44 AM -- Server version: 10.1.19-MariaDB -- PHP Version: 7.0.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `modelvoter` -- -- -------------------------------------------------------- -- -- Table structure for table `password_resets` -- CREATE TABLE `password_resets` ( `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `token` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `password_resets` -- INSERT INTO `password_resets` (`email`, `token`, `created_at`) VALUES ('<EMAIL>', '$2y$10$Lz/EJRN9xTFRqhAPCCdqdebiqfF8/Siyru3sN7mM.YJ6vnDkPhSLy', '2017-07-18 14:31:46'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(10) UNSIGNED NOT NULL, `role` int(11) DEFAULT '1' COMMENT '1=>users, 2=>admin', `fbid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `mobile` varchar(13) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `activated` tinyint(2) DEFAULT NULL, `status` int(1) NOT NULL DEFAULT '1', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `role`, `fbid`, `name`, `email`, `mobile`, `password`, `remember_token`, `activated`, `status`, `created_at`, `updated_at`) VALUES (15, 1, NULL, '<NAME>', '<EMAIL>', NULL, '$2y$10$yqs3LjpzTNWSkc8bheHrrO7seaK7SArZ34xaNpwff/Lo.sVCAn/sS', '3mLKga0gTBieoy6hATTKo3niYhi1iEm4CXK8a3W5JS4JnApR68vrWtPAcqWg', NULL, 1, '2017-08-01 07:44:12', '2017-08-01 07:44:12'), (21, 1, '10209667746666484', '<NAME>', '<EMAIL>', NULL, '$2y$10$U5zaXNbJWXEzHv7QE6KoD.Bgg3pJAyG/9.ViTbAel0ABNN7Vh58L.', 'u5XJJ8GvmoyaTUFf4kH32FiCdVojPABBxWwDBDyTRNN78EtDIvyAHXPAVmew', 1, 1, '2017-08-02 05:59:42', '2017-08-02 11:29:42'); -- -- Indexes for dumped tables -- -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
CREATE ROLE IF NOT EXISTS skye WITH LOGIN PASSWORD '<PASSWORD>'; CREATE DATABASE IF NOT EXISTS skye OWNER skye; CREATE EXTENSION IS NOT EXISTS pg_tgrm; CREATE TABLE IF NOT EXISTS prefix( prefix TEXT ); CREATE TABLE IF NOT EXISTS logs ( channel_id BIGINT ); CREATE TABLE IF NOT EXISTS autorole ( guild BIGINT, role BIGINT ); CREATE TABLE IF NOT EXISTS tags ( id SERIAL PRIMARY KEY, name TEXT content TEXT, owner_id BIGINT, uses INTEGER DEFAULT 0, location_id BIGINT, created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW() AT TIME ZONE 'utc' ); CREATE TABLE IF NOT EXISTS Enabled( command TEXT, guild_id BIGINT )
-- phpMyAdmin SQL Dump -- version 4.9.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Sep 08, 2020 at 05:02 PM -- Server version: 10.4.8-MariaDB -- PHP Version: 7.1.33 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `final` -- -- -------------------------------------------------------- -- -- Table structure for table `emp` -- CREATE TABLE `emp` ( `id` int(10) NOT NULL, `ename` varchar(100) NOT NULL, `cname` varchar(100) NOT NULL, `num` varchar(100) NOT NULL, `uname` varchar(50) NOT NULL, `pass` varchar(50) NOT NULL, `sid` int(2) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `emp` -- INSERT INTO `emp` (`id`, `ename`, `cname`, `num`, `uname`, `pass`, `sid`) VALUES (2, 'Al-amin', 'AIUB', '0151547854', 'alamin', '1234', 2), (4, '<NAME>', 'AIUB', '01454154784', 'rahat', '1234', 2), (5, 'TANVIR', 'AIUB', '01515217821', 'tanvir', '1234', 1); -- -------------------------------------------------------- -- -- Table structure for table `job` -- CREATE TABLE `job` ( `id` int(10) NOT NULL, `name` varchar(100) NOT NULL, `title` varchar(100) NOT NULL, `location` varchar(100) NOT NULL, `salary` double(10,2) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `job` -- INSERT INTO `job` (`id`, `name`, `title`, `location`, `salary`) VALUES (1, 'AIUB', 'TA', 'Kuratoli', 22000.00); -- -- Indexes for dumped tables -- -- -- Indexes for table `emp` -- ALTER TABLE `emp` ADD PRIMARY KEY (`id`); -- -- Indexes for table `job` -- ALTER TABLE `job` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `emp` -- ALTER TABLE `emp` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `job` -- ALTER TABLE `job` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- 1. Pick the code which shows the name of winner names beginning with C and ending in n SELECT winner FROM nobel WHERE winner LIKE 'C%' AND winner LIKE '%n'; -- 2. Select the code that shows how many Chemistry awards were given between 1950 and 1960 SELECT COUNT(subject) FROM nobel WHERE subject = 'Chemistry' AND yr BETWEEN 1950 and 1960; -- 3. Pick the code that shows the amount of years where no Medicine awards were given SELECT COUNT(DISTINCT yr) FROM nobel WHERE yr NOT IN (SELECT DISTINCT yr FROM nobel WHERE subject = 'Medicine'); -- 4. Select the result that would be obtained from the following code: -- Medicine Sir <NAME> -- Medicine Sir <NAME> -- 5. Select the code which would show the year when neither a Physics or Chemistry award was given SELECT yr FROM nobel WHERE yr NOT IN(SELECT yr FROM nobel WHERE subject IN ('Chemistry','Physics')); -- 6. Select the code which shows the years when a Medicine award was given but no Peace or Literature award was SELECT DISTINCT yr FROM nobel WHERE subject='Medicine' AND yr NOT IN(SELECT yr FROM nobel WHERE subject='Literature') AND yr NOT IN (SELECT yr FROM nobel WHERE subject='Peace'); -- 7. Pick the result that would be obtained from the following code: -- Chemistry 1 -- Literature 1 -- Medicine 2 -- Peace 1 -- Physics 1
-- CREATE SQL for tarkov_dev_roadmap -- tables -- Table: cadastro CREATE TABLE cadastro ( id_cad int unsigned NOT NULL AUTO_INCREMENT, nome text NOT NULL, email varchar(255) NOT NULL, password varchar(200) NOT NULL, CONSTRAINT cadastro_pk PRIMARY KEY (id_cad) ); -- Table: updates CREATE TABLE updates ( id_update int unsigned NOT NULL AUTO_INCREMENT, updateName text NOT NULL, estimatedDate text NOT NULL, extraInformation longtext NOT NULL, isWipe boolean NOT NULL, CONSTRAINT updates_pk PRIMARY KEY (id_update) ); -- Table: updateImages CREATE TABLE updateImages ( id_image int unsigned NOT NULL AUTO_INCREMENT, id_ownerUpdate int unsigned NOT NULL, filename text NOT NULL, CONSTRAINT updateImages_pk PRIMARY KEY (id_image) ); -- foreign keys -- Reference: updateImages_updates (table: updateImages) ALTER TABLE updateImages ADD CONSTRAINT updateImages_updates FOREIGN KEY updateImages_updates (id_ownerUpdate) REFERENCES updates (id_update) ON DELETE RESTRICT ON UPDATE CASCADE; -- End of file.
EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2017-09-30',@EPS = N'0.22',@EPSDeduct = N'0',@Revenue = N'1.82亿',@RevenueYoy = N'-2.69',@RevenueQoq = N'19.31',@Profit = N'2629.76万',@ProfitYoy = N'-11.49',@ProfiltQoq = N'31.67',@NAVPerUnit = N'5.8866',@ROE = N'3.56',@CashPerUnit = N'0.1208',@GrossProfitRate = N'34.83',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-10-27' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2017-03-31',@EPS = N'0.08',@EPSDeduct = N'0',@Revenue = N'5750.63万',@RevenueYoy = N'0.68',@RevenueQoq = N'-19.80',@Profit = N'993.54万',@ProfitYoy = N'9.12',@ProfiltQoq = N'-10.38',@NAVPerUnit = N'5.8962',@ROE = N'1.35',@CashPerUnit = N'-0.1101',@GrossProfitRate = N'35.08',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-04-28' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2017-06-30',@EPS = N'0.14',@EPSDeduct = N'0.13',@Revenue = N'1.14亿',@RevenueYoy = N'-10.60',@RevenueQoq = N'-1.30',@Profit = N'1699.46万',@ProfitYoy = N'-11.33',@ProfiltQoq = N'-28.95',@NAVPerUnit = N'5.8191',@ROE = N'2.43',@CashPerUnit = N'0.0176',@GrossProfitRate = N'34.60',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2017-08-23' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2016-12-31',@EPS = N'0.34',@EPSDeduct = N'0.32',@Revenue = N'2.59亿',@RevenueYoy = N'-2.78',@RevenueQoq = N'21.06',@Profit = N'4079.57万',@ProfitYoy = N'-23.26',@ProfiltQoq = N'5.14',@NAVPerUnit = N'5.8172',@ROE = N'5.97',@CashPerUnit = N'0.4753',@GrossProfitRate = N'35.71',@Distribution = N'10派1.25',@DividenRate = N'0.28',@AnnounceDate = N'2017-04-17' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2016-09-30',@EPS = N'0.25',@EPSDeduct = N'0',@Revenue = N'1.87亿',@RevenueYoy = N'-2.06',@RevenueQoq = N'-16.20',@Profit = N'2970.99万',@ProfitYoy = N'-19.99',@ProfiltQoq = N'4.80',@NAVPerUnit = N'5.7059',@ROE = N'4.21',@CashPerUnit = N'0.1352',@GrossProfitRate = N'35.60',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-10-27' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2016-06-30',@EPS = N'0.16',@EPSDeduct = N'0.16',@Revenue = N'1.28亿',@RevenueYoy = N'2.52',@RevenueQoq = N'23.75',@Profit = N'1916.61万',@ProfitYoy = N'-21.22',@ProfiltQoq = N'10.51',@NAVPerUnit = N'5.6145',@ROE = N'2.85',@CashPerUnit = N'-0.0526',@GrossProfitRate = N'34.75',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2017-08-23' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2016-03-31',@EPS = N'0.08',@EPSDeduct = N'0',@Revenue = N'5712.05万',@RevenueYoy = N'1.16',@RevenueQoq = N'-24.00',@Profit = N'910.48万',@ProfitYoy = N'-18.04',@ProfiltQoq = N'-43.20',@NAVPerUnit = N'5.6684',@ROE = N'1.30',@CashPerUnit = N'-0.1301',@GrossProfitRate = N'32.21',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-04-28' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2015-12-31',@EPS = N'0.59',@EPSDeduct = N'0.57',@Revenue = N'2.66亿',@RevenueYoy = N'-4.57',@RevenueQoq = N'13.34',@Profit = N'5316.35万',@ProfitYoy = N'-6.02',@ProfiltQoq = N'25.17',@NAVPerUnit = N'5.5975',@ROE = N'14.04',@CashPerUnit = N'0.3824',@GrossProfitRate = N'38.95',@Distribution = N'10派1.5',@DividenRate = N'0.44',@AnnounceDate = N'2017-04-17' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2015-03-31',@EPS = N'0.12',@EPSDeduct = N'0.11',@Revenue = N'5646.79万',@RevenueYoy = N'-',@RevenueQoq = N'-30.21',@Profit = N'1110.82万',@ProfitYoy = N'-',@ProfiltQoq = N'-28.74',@NAVPerUnit = N'4.0254',@ROE = N'2.94',@CashPerUnit = N'0.0684',@GrossProfitRate = N'32.43',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2016-04-20' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2014-12-31',@EPS = N'0.63',@EPSDeduct = N'0.59',@Revenue = N'2.79亿',@RevenueYoy = N'4.05',@RevenueQoq = N'13.62',@Profit = N'5656.89万',@ProfitYoy = N'7.36',@ProfiltQoq = N'0.98',@NAVPerUnit = N'3.9016',@ROE = N'17.52',@CashPerUnit = N'0.8212',@GrossProfitRate = N'36.79',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2016-04-19' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2013-12-31',@EPS = N'0.59',@EPSDeduct = N'0.55',@Revenue = N'2.68亿',@RevenueYoy = N'-12.18',@RevenueQoq = N'-',@Profit = N'5269.19万',@ProfitYoy = N'-16.22',@ProfiltQoq = N'-',@NAVPerUnit = N'3.2747',@ROE = N'19.63',@CashPerUnit = N'0.5452',@GrossProfitRate = N'37.71',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2014-04-25' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2012-12-31',@EPS = N'0.7',@EPSDeduct = N'0.67',@Revenue = N'3.05亿',@RevenueYoy = N'12.76',@RevenueQoq = N'-',@Profit = N'6289.12万',@ProfitYoy = N'13.18',@ProfiltQoq = N'-',@NAVPerUnit = N'2.6900',@ROE = N'29.86',@CashPerUnit = N'0.8357',@GrossProfitRate = N'37.77',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2014-04-25' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2015-09-30',@EPS = N'0.41',@EPSDeduct = N'0.4',@Revenue = N'1.91亿',@RevenueYoy = N'-3.54',@RevenueQoq = N'-2.76',@Profit = N'3713.50万',@ProfitYoy = N'-9.38',@ProfiltQoq = N'-3.14',@NAVPerUnit = N'4.3198',@ROE = N'14.04',@CashPerUnit = N'0.2583',@GrossProfitRate = N'37.31',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2016-10-27' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2015-06-30',@EPS = N'0.27',@EPSDeduct = N'0.26',@Revenue = N'1.25亿',@RevenueYoy = N'-',@RevenueQoq = N'20.77',@Profit = N'2432.95万',@ProfitYoy = N'-',@ProfiltQoq = N'19.02',@NAVPerUnit = N'4.1705',@ROE = N'6.70',@CashPerUnit = N'0.2075',@GrossProfitRate = N'35.75',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2016-08-23' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2014-09-30',@EPS = N'0.46',@EPSDeduct = N'0',@Revenue = N'1.98亿',@RevenueYoy = N'-',@RevenueQoq = N'-',@Profit = N'4097.98万',@ProfitYoy = N'-',@ProfiltQoq = N'-',@NAVPerUnit = N'0.0000',@ROE = N'-',@CashPerUnit = N'0.0000',@GrossProfitRate = N'36.08',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2015-11-23' EXEC [EST].[Proc_yjbb_Ins] @Code = N'603696',@CutoffDate = N'2011-12-31',@EPS = N'1.14',@EPSDeduct = N'1.15',@Revenue = N'2.71亿',@RevenueYoy = N'-',@RevenueQoq = N'-',@Profit = N'5556.62万',@ProfitYoy = N'-',@ProfiltQoq = N'-',@NAVPerUnit = N'1.9908',@ROE = N'44.11',@CashPerUnit = N'0.4341',@GrossProfitRate = N'37.29',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2014-04-25'
<reponame>lgcarrier/AFW set define off set serveroutput on set feedback off prompt ======================================== prompt Post-applications prompt ...Metadonnees des entites prompt ......aplic begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$11_aplic; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_aplic'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_aplic'); end; / prompt ......type_comnc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_type_comnc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_type_comnc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_type_comnc'); end; / prompt ......versn begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$11_versn; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_versn'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_versn'); end; / prompt ......code_err_oracl begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_code_err_oracl; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_code_err_oracl'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_code_err_oracl'); end; / prompt ......type_fichr begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_type_fichr; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_type_fichr'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_type_fichr'); end; / prompt ......modl_comnc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_modl_comnc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_modl_comnc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_modl_comnc'); end; / prompt ......entit begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_FONCT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_11_PARMT_AFW' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_DOMN_FONCT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_OPERT_OPTIO' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_GR_UT_OPERT_OPTIO_DOMN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_FONCT_STRUC_APLIC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_CARNT_APLIC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_07_VALR_AUDIT_STRUC_APLIC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_ACTIO_AUDIT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_MESG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_ATRIB_STRUC_APLIC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_AFECT_ITEM' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_PAGE_ITEM' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_CARNT_SPRIN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_ITEM_CARNT_SPRIN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_CARNT_PRODT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_EFORT_ITEM' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_PAGE' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_REQT_INTER_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_23_RESLT_RECHR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_HISTR_EFORT_RESTN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_ITEM_CARNT_PRODT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_30_CAS_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_CHAMP_PUBLC_TRAVL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_OCURN_PARMT_PUBLC_TRAVL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_23_DETL_APLIC_MODL_RECHR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_23_ENONC_RECHR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_23_PATRN_RECHR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_23_APLIC_MODL_RECHR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_STRUC_APLIC_SUIVI' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_MODL_COMNC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_TYPE_TRAVL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_CONFG_EVENM_NOTFB' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_MODL_AFICH_NOTFC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_TYPE_COMNC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_COMPT_TWILI' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_PIECE_TELCP_AXIAT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_SMS_TWILI' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_EVENM_NOTFB' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_COMPT_AXIAT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_23_MODL_RECHR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_NOTFC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_ATRIB_MODL_COMNC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_23_DETL_RESLT_RECHR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_STRUC_APLIC_DESTN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_23_RECHR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_03_JOURN_STRUC_APLIC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_RESLT_DESTN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_TELCP_AXIAT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_VALR_CHAMP' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_MESG_LANG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_SMS_TWILI_ENTRA' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_MESG_ERR_LIE' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_CODE_ERR_ORACL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_LANG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_21_PLUGN_ITEM_MENU' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_21_PLUGN_MENU' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_29_RESLT_REQUT_AQ' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_29_CONTR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_CHAMP' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_VERSN_PUBLC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_DESTN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_EXPOR_APLIC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_STRUC_ADMIN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_PAGE_IR_COLN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_07_INSTA_SEMPH' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_LIEN_GROUP_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_04_FIL_ARIAN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_LIEN_STRUC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_entit'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_MESG_TRADC_APEX' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_19_CLE' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_NAVGT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_19_SPECF_FONCT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_STAT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_INSTA_PREFR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_04_CONTX' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_19_FONCT_LANG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_PAGE_ITEM' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_14_DOMN_VALR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_STRUC_APLIC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_STRUC_APLIC_LANG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_19_FONCT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_14_TYPE_DOMN_VALR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_OPERT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_GROUP_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_TYPE_STRUC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_PAGE' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_PAGE_IR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_14_FORMT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_REGN_PILTB' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_LANG_LANG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_04_CONTX_ETEND' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_MESG_INFOR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_MEMBR_STRUC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_14_DETL_DOMN_VALR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_SESN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_11_PRODT_LANG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_PREFR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_07_ETAT_SESN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_LISTE_NAVGT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_EVOLT_STAT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_19_DISPN_FONCT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_11_PRODT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_07_SEMPH' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_03_JOURN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_DEFNT_ACCES' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_CONDT_PILTB' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_21_PLUGN_CALND' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_CONDT_EXECT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_20_MODL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_TYPE_PUBLC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_20_DETL_DOCMN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_20_SECTN_DOCMN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_20_DOCMN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_DOMN_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_GROUP_PUBLC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_TYPE_FICHR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_11_ENTIT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_LIEN_CONDT_PILTB' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_ITEM_MENU' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_MIME_TYPE' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_ELEMN_CONFG_PUBLC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_20_MODL_PARMT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_HISTR_ACCES' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_21_PLUGN_ARBRE' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_PAGE_LANG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_ELEMN_CONFG_EVENM_NOTFB' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_ENGIN_VERSN_PUBLC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_JOURN_TRAVL_EXECT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_RESRC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_FORMT_RESRC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_03_LIEN_CLAS_INTER_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_DOMN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_21_PLUGN_CALND_TYPE' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_DOMN_TYPE_PUBLC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_20_MODL_EXCEP' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_PARMT_PUBLC_TRAVL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_EXPOR_PAGE' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_PUBLC_TRAVL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_21_PLUGN_ARBRE_NOEUD' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_11_PRODT_RESRC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_19_BOUTN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_20_DEPLM' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_04_NAVGT_HISTR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_EMPLA_DOSR_VIRTL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_PAGE_PREFR_NAVGT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_GROUP_STAT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_11_VERSN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_MENU' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_PARMT_TYPE_PUBLC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_DOSR_VIRTL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_11_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_FAVR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_PAGE_ITEM_LANG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_NAVGT_ELEMN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_REGN_PILTB_LANG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_TRAVL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_ENGIN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_HIERC_APLIC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_03_CLAS_INTER' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_PROFL_COURL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_OCURN_RESRC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_VALR_ELEMN_CONFG' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_03_TRACE_EXECT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_ARBRE_NOEUD' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_PARMT_PUBLC_TRAVL_EXECT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_11_ATRIB_ENTIT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_ARBRE' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_MODL_MESG_NOTFC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_entit'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_DESTN_CONFG_EVENM_NOTFB' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_OCURN_SA_EVENM_NOTFB' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_21_PLUGN_CALND_COULR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_COURL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_COURL_PIECE_JOINT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_COURL_DESTN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_11_APLIC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_07_AUDIT_STRUC_APLIC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_25_PUBLC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_11_PLUGN' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_PROPR_COURL_ENTRA' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_ATACH_COURL_ENTRA' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_17_COURL_ENTRA' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_04_TUTRL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_UTILS_AVATR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_01_PROPG_EVENM_NOTFB' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_HISTR_TUTRL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_DOMN_SERVR_LDAP' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_SERVR_LDAP' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_ETAPE_TUTRL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_13_TUTRL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_LIEN_GADGT_UTILS_PARMT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_TUTRL' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_37_LIEN_GADGT_PARMT_RACRC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_37_GADGT_PARMT_RACRC' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_GROUP_GADGT_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_37_GADGT_CATGR' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_37_GADGT_PARMT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_37_TABL_BORD' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_LIEN_GR_GADGT_GR_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_37_GADGT' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); update afw_11_entit set ref_atrib_entit_supr = null where code = 'AFW_12_LIEN_GADGT_UTILS' and ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Select'); declare vnu_count pls_integer; begin select count(1) into vnu_count from em$11_entit; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_entit'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_entit'); end; / prompt ......plugn_calnd_coulr begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$21_plugn_calnd_coulr; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_calnd_coulr'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_calnd_coulr'); end; / prompt ......atrib_modl_comnc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_atrib_modl_comnc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_atrib_modl_comnc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_atrib_modl_comnc'); end; / prompt ......formt begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$14_formt; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_14_formt'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_14_formt'); end; / prompt ......atrib_entit begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH4' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(347, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ELEMN_CONFG_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(295, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(283, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(327, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIBL_REGN' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(277, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'EREUR' and ref_entit = afw$migrt$pkg.obten_var_entit(306, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(292, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(310, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DERNR_PRODT_ACCES' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'WHO_CALLED_ME' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TAIL_TABL_EXTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(207, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(207, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(380, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(317, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_IGNOR' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(354, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(255, 'Update') where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(298, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR4' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ID_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH1' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_CONDT_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(312, 'Update') where code = 'REF_TYPE_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(251, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_FONCT' and ref_entit = afw$migrt$pkg.obten_var_entit(277, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ADJEC_DEMNS' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(355, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(318, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(352, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PREFR' and ref_entit = afw$migrt$pkg.obten_var_entit(275, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_PHYSQ' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(217, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(218, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_REQT_INTER' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DEFT_ATRIB2' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ARBRE' and ref_entit = afw$migrt$pkg.obten_var_entit(366, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC_TRIER_PAR' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SUPRS' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LARGR' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'IMAGE_SPRIT' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(226, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MOT' and ref_entit = afw$migrt$pkg.obten_var_entit(227, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(246, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MODL_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(229, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC_PLSQL_GAUCH' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(328, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ATRIB_SA_ADRES_DESTN' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(372, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_SCHEM' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DERNR_DOMN_ACCES' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PROFL_SMS_NOTFC' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(243, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(239, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(235, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(213, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(235, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ID_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'GROUP_SMS' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MIME_TYPE' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(245, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TELCP_AXIAT' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COULR_ARIER_PLAN' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ITEM_CARNT_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(212, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(232, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COULR_TITRE' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(218, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_LIBL_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(221, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CAS_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_PAGE_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SUCRS_IMPLA' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_REINT_SIDF' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(262, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(211, 'Update') where code = 'REF_ATRIB_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(262, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PORT' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_MODIF' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PUBLC_TRAVL' and ref_entit = afw$migrt$pkg.obten_var_entit(250, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NOMBR' and ref_entit = afw$migrt$pkg.obten_var_entit(250, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_TROP_DON_TROUV' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(286, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(329, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_RANGE_MODF' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_RANGE_INSER_SPECF' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_FROMCITY' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ID_APEX_REGN' and ref_entit = afw$migrt$pkg.obten_var_entit(369, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(372, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(373, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_HIERC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(372, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PAGE_PERST' and ref_entit = afw$migrt$pkg.obten_var_entit(266, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(352, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(278, 'Update') where code = 'REF_PAGE_ITEM' and ref_entit = afw$migrt$pkg.obten_var_entit(320, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH10' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(350, 'Update') where code = 'REF_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(305, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_LECTR_SEUL' and ref_entit = afw$migrt$pkg.obten_var_entit(320, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(352, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_EXTRA_TOTAL' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(291, 'Update') where code = 'REF_REGN_PILTB' and ref_entit = afw$migrt$pkg.obten_var_entit(357, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(360, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'OBJET' and ref_entit = afw$migrt$pkg.obten_var_entit(370, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(360, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'HEURE_FIN_EXTEN' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CORPS_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(370, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(370, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(370, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(370, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_EVENM_NOTFB' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(360, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'HEURE_DEBUT_EXTEN' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOMBR_MINTS_INTER' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(370, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(370, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'HEURE_FIN_NORML' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'APLIC_PRIOR' and ref_entit = afw$migrt$pkg.obten_var_entit(360, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE_LISTE' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR1' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_VALR_SCPC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_AIDE_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ATRIB_3' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(339, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(310, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(369, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_FONCT' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_ACTIO' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(266, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(289, 'Update') where code = 'REF_PAGE_IR' and ref_entit = afw$migrt$pkg.obten_var_entit(347, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(317, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR7' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(255, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(332, 'Update') where code = 'REF_FORMT_RESRC' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(352, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE_VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(325, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DISPN_FONCT' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(356, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(298, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MODE_CACHE' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(352, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(300, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_EXTRA_TOUT' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(369, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_AIDE_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(298, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_COMNC_PAR_RACN' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(353, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(302, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(277, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIBL' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(356, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH3' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LARGR_REGN_ARBRE' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_MODL' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_COURN' and ref_entit = afw$migrt$pkg.obten_var_entit(356, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIBL' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'URL_SERVL' and ref_entit = afw$migrt$pkg.obten_var_entit(359, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(342, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_VERSN' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE9' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SESS_ID' and ref_entit = afw$migrt$pkg.obten_var_entit(294, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(348, 'Update') where code = 'REF_GROUP_STAT' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_DATE_FIN' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_VALR_SSPI' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC_CONTX_INTER' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(277, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_EXTRA_TERMN' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(363, 'Update') where code = 'REF_OCURN_RESRC' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(312, 'Update') where code = 'REF_TYPE_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(316, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(366, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(315, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ITEM' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(359, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TAIL_TABL_EXTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MOT_PASSE' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MIME_TYPE' and ref_entit = afw$migrt$pkg.obten_var_entit(322, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_MESG_AIDE_CONTX' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(294, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MODL' and ref_entit = afw$migrt$pkg.obten_var_entit(337, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(255, 'Update') where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(355, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR8' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_FORMT_SORT' and ref_entit = afw$migrt$pkg.obten_var_entit(359, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CORDN_X_DEBUT' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(274, 'Update') where code = 'REF_STAT' and ref_entit = afw$migrt$pkg.obten_var_entit(302, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR_COMNT' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(342, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_EXTRA_TOUT' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_ICON' and ref_entit = afw$migrt$pkg.obten_var_entit(345, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(254, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_CONTN_ITEM_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_ALIGN' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_FORMT_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'HAUTR_REGN_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_COULR_THEME' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_COULR_PRINC' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(350, 'Update') where code = 'REF_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_ORIEN_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LARGR_REGN_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_TYPE_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_FROM' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_TOCOUNTRY' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_BODY' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_ACCOUNTSID' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_TOCITY' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ATRIB_3' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(318, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_ID' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_JOURN' and ref_entit = afw$migrt$pkg.obten_var_entit(330, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(317, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_ORGAN' and ref_entit = afw$migrt$pkg.obten_var_entit(337, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_VALR_SCPI' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIBL' and ref_entit = afw$migrt$pkg.obten_var_entit(254, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COURL' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ID_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(297, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(342, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(277, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(366, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(255, 'Update') where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(327, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(300, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(345, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_PRESN' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(338, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(283, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(292, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(354, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONTN' and ref_entit = afw$migrt$pkg.obten_var_entit(357, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AGEND_NOM_TABLE' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_INTER' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(325, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TRAVL' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_ATRIB3' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(283, 'Update') where code = 'REF_TYPE_DOMN_VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(380, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_VERSN_2' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(345, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(254, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TEXT_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(294, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(269, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(295, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TAIL_TABL_EXTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CHANG_MOT_PASSE' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC_CONDT_PLSQL' and ref_entit = afw$migrt$pkg.obten_var_entit(310, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'HAUTR_PREPN' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_DEPLC' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(302, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(336, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ATRIB_4' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(344, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SUPRS' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOEUD_OUVER' and ref_entit = afw$migrt$pkg.obten_var_entit(366, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(312, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(275, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_AIDE' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SSPI' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(318, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(316, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(292, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(322, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(348, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(269, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ATRIB_5' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'IDENT_ENVIR' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SEMPH' and ref_entit = afw$migrt$pkg.obten_var_entit(266, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(325, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(269, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOCMN' and ref_entit = afw$migrt$pkg.obten_var_entit(313, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MODL' and ref_entit = afw$migrt$pkg.obten_var_entit(344, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_HEURE' and ref_entit = afw$migrt$pkg.obten_var_entit(306, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(302, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_EXPRT' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PRISE_CHARG_AFW13_NAVGT' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ATRIB_2' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(356, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_NAVGT_HISTR' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(285, 'Update') where code = 'REF_GROUP_UTILS_LIE' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ADRES_IP' and ref_entit = afw$migrt$pkg.obten_var_entit(325, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_PACKG' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ID_TEMPL_BOUTN' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(337, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ICONE' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DETL_DOCMN' and ref_entit = afw$migrt$pkg.obten_var_entit(313, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_TABLE' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(354, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(342, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(380, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SEQNC_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(354, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SHIFT' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR2' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_RESRC_COMPS' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(332, 'Update') where code = 'REF_FORMT_RESRC' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_RESPN' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DEFNT' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC_CONDT_COMNC_PAR' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TITRE_ATRIB5' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_RAPRT_INTER' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR5' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MODL' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(275, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SAPC' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(255, 'Update') where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(283, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONDT' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(278, 'Update') where code = 'REF_PAGE_ITEM_FOCUS' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(348, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(345, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MODL_PARMT' and ref_entit = afw$migrt$pkg.obten_var_entit(344, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_SURCH' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_TITRE_AIDE_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_TYPE' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(336, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(297, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOMBR_MESG_TOTL' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE3' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SESSION_ID' and ref_entit = afw$migrt$pkg.obten_var_entit(300, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(316, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_SUBST' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_IGNOR_GROUP_ADMIN' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROCD_EXPOR_METDN' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(207, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(207, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(207, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS_RESPN' and ref_entit = afw$migrt$pkg.obten_var_entit(207, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(207, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CARNT_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(207, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(207, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DOCMN_REFRC' and ref_entit = afw$migrt$pkg.obten_var_entit(207, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(318, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_EXPRE' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_CHOIX' and ref_entit = afw$migrt$pkg.obten_var_entit(322, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(277, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(336, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(348, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(278, 'Update') where code = 'REF_ITEM' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_INDIC_EVENM_MODFB' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE_INTER' and ref_entit = afw$migrt$pkg.obten_var_entit(380, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PRESN_APPEL' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AIDE_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LARGR_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(298, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(346, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(295, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(300, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(320, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_ATRIB5' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(255, 'Update') where code = 'REF_LANG_CIBLE' and ref_entit = afw$migrt$pkg.obten_var_entit(292, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PROFL_COURL' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DEUX' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR9' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(333, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'HASH_DERNR_URL' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(330, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_CONDT_SAUVG' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(278, 'Update') where code = 'REF_PAGE_ITEM' and ref_entit = afw$migrt$pkg.obten_var_entit(355, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(251, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_COURT' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH' and ref_entit = afw$migrt$pkg.obten_var_entit(338, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC_PRESN' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(344, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_TABLE' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(344, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(283, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(327, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_REINT_NAVGT' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(251, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MESG_AIDE_CONTX' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(262, 'Update') where code = 'REF_DESTN' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(325, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(348, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_INDIC_JOURN_COMPL' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_AUDIT_SUPRS' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PAGE_ACUEI' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DERNR_MAJ_REFRN_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(208, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(208, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(312, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PIPLN' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TITRE_ATRIB3' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(347, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TRAVL_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UN' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(305, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(353, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(218, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'OBJET' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AFICH_UNIQ' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(218, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(363, 'Update') where code = 'REF_OCURN_RESRC_ICON' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(239, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_CURSR_AIDE_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_REFRC_DOCMN' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_PRECD' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ACTIO_JOURN' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(239, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS_RESPN' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_COMPT_AXIAT' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(243, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'STAT_SOUMS' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ITEM_CARNT_SPRIN' and ref_entit = afw$migrt$pkg.obten_var_entit(221, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(217, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_DESTN' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MESG_SMS' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_ENVOI_DIFR' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_ERR' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(217, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(235, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(245, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_HEURE_SAISI' and ref_entit = afw$migrt$pkg.obten_var_entit(221, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(239, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(232, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(332, 'Update') where code = 'REF_FORMT_RESRC_ICON' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PARMT_ALIMN' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(320, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_MODIF_OCURN' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(295, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_SEQNC_SA_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TYPE_STRUC' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PRISE_CHARG_AFW01' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TIMST' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_IMEDT' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE_KEYDW' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(255, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VERSN_BD_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(305, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AGEND_COLN_TITRE' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(286, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PRISE_CHARG_AFW14_POPUP' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SESSION_ID' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TITRE_ATRIB2' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_LIEN' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(310, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_AFICH' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(359, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ID_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(312, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(322, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_SAPI' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(333, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_VALR_SSPC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(352, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(298, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_EXECT' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(210, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(318, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_ICONE_NOEUD' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'APP_ID' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(277, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(331, 'Update') where code = 'REF_RESRC' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_ATRIB4' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(315, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CONTX' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_ACCES' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(315, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_VERSN_1' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(302, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TEMPL_BOUTN' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_REINT_PAGE_IR' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_EVENM' and ref_entit = afw$migrt$pkg.obten_var_entit(325, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AFICH' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COMNT' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AGEND_COLN_COULR' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_LARGR' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(353, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(313, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(325, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR' and ref_entit = afw$migrt$pkg.obten_var_entit(338, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(379, 'Update') where code = 'REF_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(331, 'Update') where code = 'REF_RESRC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(363, 'Update') where code = 'REF_OCURN_RESRC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(332, 'Update') where code = 'REF_FORMT_RESRC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_INSTA_LIBL' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_LIBL' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(321, 'Update') where code = 'REF_ITEM_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(257, 'Update') where code = 'REF_PLUGN_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NIV_ITEM' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ETEND_NOMBR_COLN' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'RANG_ITEM' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_ITEM' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(256, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(317, 'Update') where code = 'REF_GROUP_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(254, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_CONTR' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(327, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(316, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CLEAR_PAGE_IR' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'STAT_SOUMS' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(356, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(348, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_DETRM' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(310, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SUPRM_OCURN' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_RESRC' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(295, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_VALR_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_GROUP_UTILS_ADMIN' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(318, 'Update') where code = 'REF_TYPE_FICHR' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PAGE_CIBLE' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH2' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(315, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_ITEM' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(285, 'Update') where code = 'REF_GROUP_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(318, 'Update') where code = 'REF_TYPE_FICHR' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(369, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PREFX_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(269, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(305, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(295, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_VERSN_4' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(355, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_SSPC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(313, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'IDENT_ACCES_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'IDENT_ACCES' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_FIL_ARIAN' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(333, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'OBJET' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ATRIB_1' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ITEM_SUBST' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC_SQL' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_LIE' and ref_entit = afw$migrt$pkg.obten_var_entit(269, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(327, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_TYPE_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(275, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DISPN_FONCT' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(333, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(349, 'Update') where code = 'REF_VERSN' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(270, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LARGR_REGN_CALND' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(255, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(352, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'EFACR_CACHE' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_INITL' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(355, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOMBR_RANG_EXTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AGEND_COLN_VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(355, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CTRL' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(348, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONCT_PROPR_ENTET_GAUCH' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CONFR_SAUVG' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_EN_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TITRE' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TITRE_AIDE_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(339, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_PHYSQ_COMPS' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ATRIB_2' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SOUMS_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'EXPLI' and ref_entit = afw$migrt$pkg.obten_var_entit(306, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(354, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(255, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'EXPRE_ACTIO' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_CONDT_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_TABLE_EREUR' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_SCPC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(308, 'Update') where code = 'REF_CONDT_PILTB' and ref_entit = afw$migrt$pkg.obten_var_entit(320, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DEPSM_ALIAS_COLN' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VARBL2' and ref_entit = afw$migrt$pkg.obten_var_entit(305, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(269, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_DOCMN_VERL' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(312, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PUBLC_PAGE_GARDE' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_REINT_PAGNT' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(286, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DEFT_ATRIB5' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(210, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(347, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_ADMIN' and ref_entit = afw$migrt$pkg.obten_var_entit(269, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(292, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_VALR_REQST' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(275, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(354, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'POSTN' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONTX' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(347, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(380, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_RENMR' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(338, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_PRESN' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(284, 'Update') where code = 'REF_OPERT' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(255, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COMPR_MIGRT' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(317, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(348, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LB' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE4' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(302, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(322, 'Update') where code = 'REF_MIME_TYPE' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR10' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_GROUP_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(333, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DEFT_ATRIB4' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TRAVL' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(283, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_NAVGT' and ref_entit = afw$migrt$pkg.obten_var_entit(356, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CREER_NOEUD' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(210, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(283, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONCT_PROPR_ENTET_DROIT' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(344, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AUTHID_CURNT_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(352, 'Update') where code = 'REF_DOSR_VIRTL' and ref_entit = afw$migrt$pkg.obten_var_entit(346, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(327, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(355, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(377, 'Update') where code = 'REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(320, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(377, 'Update') where code = 'REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_TRAIT' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROCD_VALD_NIV_SECRT_MOT_PASSE' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_DEMND_ACTIV_COMPT_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(377, 'Update') where code = 'REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_AUDIT_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_AUDIT_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FONCT_OBTEN_BASE_URL' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_APLIC_COMNT_BOGUE' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_APLIC_ACUEI' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(377, 'Update') where code = 'REF_APLIC_AUTHE' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_APLIC_AUTHE' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_APLIC_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE_CONXN' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(208, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(208, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_AUDIT_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(208, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(208, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(208, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(208, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NATR_AUDIT' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ACTIO_AUDIT' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SEQNC_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(344, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(255, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(348, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(312, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(366, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(320, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(380, 'Update') where code = 'REF_PLUGN' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(357, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ID_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(297, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(345, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(243, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(285, 'Update') where code = 'REF_GROUP' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_ALT' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_ELEMN' and ref_entit = afw$migrt$pkg.obten_var_entit(356, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(275, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(346, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'APP_USER' and ref_entit = afw$migrt$pkg.obten_var_entit(297, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SUPRM_NOEUD' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(317, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MODL' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PUBLC_TRAVL' and ref_entit = afw$migrt$pkg.obten_var_entit(338, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE6' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(312, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(352, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(286, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(355, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(266, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(318, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PILE_TRACE' and ref_entit = afw$migrt$pkg.obten_var_entit(306, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(352, 'Update') where code = 'REF_DOSR_VIRTL' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_DATE_DEBUT' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(349, 'Update') where code = 'REF_VERSN' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(270, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(286, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(254, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(283, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(347, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(359, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(310, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_VALR_SAPC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PREVN_ACTIO_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(318, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_URL' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_VALR_URL' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(262, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(211, 'Update') where code = 'REF_ATRIB_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(360, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(360, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'HEURE_DEBUT_NORML' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(360, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(239, 'Update') where code = 'REF_EVENM_NOTFB' and ref_entit = afw$migrt$pkg.obten_var_entit(360, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(349, 'Update') where code = 'REF_VERSN' and ref_entit = afw$migrt$pkg.obten_var_entit(380, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(346, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_ALIMN' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH8' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'EXT' and ref_entit = afw$migrt$pkg.obten_var_entit(322, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(270, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ROLE' and ref_entit = afw$migrt$pkg.obten_var_entit(353, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(366, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(254, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(354, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_ELEMN' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_TABLE_TEMPR' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(320, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_URL' and ref_entit = afw$migrt$pkg.obten_var_entit(345, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(312, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(286, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(310, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(275, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(337, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(210, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(295, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'APP_USER' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SYSTM' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(210, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS_POUR' and ref_entit = afw$migrt$pkg.obten_var_entit(325, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(357, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONCT_PROPR_ENTET_CENTR' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(315, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_FICHR' and ref_entit = afw$migrt$pkg.obten_var_entit(375, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ADRES_ENVOY' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONTN' and ref_entit = afw$migrt$pkg.obten_var_entit(375, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PROFL_COURL' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'STAT_SOUMS' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(376, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(376, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ADRES' and ref_entit = afw$migrt$pkg.obten_var_entit(376, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_ENVOY' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(376, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(376, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SENS' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TAIL' and ref_entit = afw$migrt$pkg.obten_var_entit(375, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOMBR_TENTV_MAX' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SUJET' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(375, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_FIL_ATENT' and ref_entit = afw$migrt$pkg.obten_var_entit(376, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AUTHE_MDP' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DESTN' and ref_entit = afw$migrt$pkg.obten_var_entit(245, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(239, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(224, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(360, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONTN' and ref_entit = afw$migrt$pkg.obten_var_entit(224, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CHAMP' and ref_entit = afw$migrt$pkg.obten_var_entit(224, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PUBLC_TRAVL' and ref_entit = afw$migrt$pkg.obten_var_entit(224, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(224, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(224, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(224, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_PROCD_INFOR_SUPLM' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PAGE_INEXS_MAJ_REFRN' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONTX_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_SUCS' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_ECHEC' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_ECHEC_SPECF' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'POSTN_X' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'POSTN_Y' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ANGLE_ORINT' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_CHAMP' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PDF_FUSN' and ref_entit = afw$migrt$pkg.obten_var_entit(329, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(250, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CHAMP' and ref_entit = afw$migrt$pkg.obten_var_entit(250, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(250, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(250, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(250, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE' and ref_entit = afw$migrt$pkg.obten_var_entit(250, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_EXPOR_TABL_INDEX' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_TROP_DON_TROUV' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_COMNC_PAR_COLN_PARNT_NUL' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AFICH_ERR_CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'JQUER_UI_CSS_SCOPE' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_VERSN_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(329, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(329, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(329, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_SMSSTATUS' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'IDEN_ACCES' and ref_entit = afw$migrt$pkg.obten_var_entit(329, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_NOUVL_ATRIB' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(368, 'Update') where code = 'REF_ATRIB_ENTIT_SUPR' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_DISPN_DOCMN' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SEQNC_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(315, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(315, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR' and ref_entit = afw$migrt$pkg.obten_var_entit(225, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE' and ref_entit = afw$migrt$pkg.obten_var_entit(225, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(319, 'Update') where code = 'REF_ENTIT_REFRN' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH' and ref_entit = afw$migrt$pkg.obten_var_entit(225, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CARDN' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_FORCE_SELCT' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(225, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PARMT_PUBLC_TRAVL' and ref_entit = afw$migrt$pkg.obten_var_entit(225, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_PRICE' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(245, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(235, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TITRE_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_DATE_JOURN_COMPL' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(239, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_URI' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONFG_INCLU_MIGRT' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SERVR_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SSL_SORTN' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SSL_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AUTHE_USAGR_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SERVR_SORTN' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PORT_SORTN' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AUTHE_METHD_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NIV_INCLU_MIGRT' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AUTHE_USAGR_SORTN' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PORT_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AUTHE_MDP_SORTN' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AUTHE_MDP_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_COMPT_AXIAT_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AUTHE_METHD_SORTN' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_RAFRC' and ref_entit = afw$migrt$pkg.obten_var_entit(369, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC_PRESN' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(312, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SUIVI' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CREAT_INITL' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CHARG_PROGR' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STAT' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_PERSN' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STAT' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(230, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(334, 'Update') where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_PROCD_GLISR_ELEMN_ARBRE' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(275, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_PROCD_DEPSR_ELEMN_ARBRE' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(231, 'Update') where code = 'REF_MODL_COMNC' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(235, 'Update') where code = 'REF_TYPE_COMNC' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(262, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(262, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_DESTN' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(262, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CORPS' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(262, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_COMPT_TWILI' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_COURL' and ref_entit = afw$migrt$pkg.obten_var_entit(375, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MODE_ATACH' and ref_entit = afw$migrt$pkg.obten_var_entit(375, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(376, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AUTHE_USAGR' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SERVR' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOMBR_TENTV' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(376, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE' and ref_entit = afw$migrt$pkg.obten_var_entit(376, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(251, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(357, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_STRUC_ACCES_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(210, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(283, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ORGAN' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(333, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_VERL' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(380, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_SNPI' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_FORMT_ORCL' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_SCPI' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(345, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(294, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_SUPRS_SPECF' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CLE' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LARGR_PREPN' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SSPC' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(274, 'Update') where code = 'REF_STAT_EVOLT' and ref_entit = afw$migrt$pkg.obten_var_entit(302, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(344, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PRISE_CHARG_AFW04' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TEXT' and ref_entit = afw$migrt$pkg.obten_var_entit(270, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(346, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(339, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(337, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_ATRIB1' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIBL' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(342, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(300, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(269, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(310, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(289, 'Update') where code = 'REF_PAGE_IR' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PROFL_COURL' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STAT' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TAIL_RELTV' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MODL_RECHR_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_LIEN' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(218, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_DECMP_RESLT' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STAT' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(221, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CARNT_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_VERSN' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS_RESPN' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DEFT_ATRIB3' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_RESRC' and ref_entit = afw$migrt$pkg.obten_var_entit(342, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(338, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_LIEN' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(359, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AGREG' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_AFW_13_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(218, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'URL_SERVL_EXTER' and ref_entit = afw$migrt$pkg.obten_var_entit(359, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(354, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(312, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(269, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC' and ref_entit = afw$migrt$pkg.obten_var_entit(330, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(338, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VARBL1' and ref_entit = afw$migrt$pkg.obten_var_entit(305, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(284, 'Update') where code = 'REF_OPERT' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(337, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_TITRE' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(322, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(302, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH9' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(217, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC_ELEMN' and ref_entit = afw$migrt$pkg.obten_var_entit(356, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(353, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'APP' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ITEM_CARNT_SPRIN' and ref_entit = afw$migrt$pkg.obten_var_entit(217, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ID_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(348, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ATRIB_1' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_SUCS_SPECF' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_FROMSTATE' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DESTN' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(357, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(346, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SECTN_DOCMN' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(342, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(342, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'EMPLA' and ref_entit = afw$migrt$pkg.obten_var_entit(346, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AVERT_AUTR_UNIQ' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(210, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(327, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PRISE_CHARG_AFW19' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(318, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(255, 'Update') where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(292, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_TABLE' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(353, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_EN_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE1' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MIME_TYPE' and ref_entit = afw$migrt$pkg.obten_var_entit(375, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AUTHE_METHD' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_FORMT_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(374, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(294, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SUPRM_DON_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_NATR_INFOR' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(224, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INFOR_SUPLM' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LISTE_REF_PAGE_ACTIV' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(359, 'Update') where code = 'REF_ENGIN' and ref_entit = afw$migrt$pkg.obten_var_entit(329, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(250, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH' and ref_entit = afw$migrt$pkg.obten_var_entit(250, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MESG_TOUT_DROIT_RESRV' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(260, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(329, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_VERSN_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_FROMZIP' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_APIVERSION' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESTN_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(239, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MODL_AFICH_NOTFC' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOMBR_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_TIME' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(243, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'EFORT_RESTN' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(217, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(216, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_VERSN_3' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(369, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_BOUTN' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(327, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(283, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_RESLT_DESTN' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(277, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LARGR' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(380, 'Update') where code = 'REF_PLUGN' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DERNR_MAJ_REFRN_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MOT_PASSE_WALT' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(255, 'Update') where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(357, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(346, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(313, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_TYPE_REGN_PILTB' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC_CONTX' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(353, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(338, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SYSTM' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(251, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(294, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_LIAIS' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_EVENM' and ref_entit = afw$migrt$pkg.obten_var_entit(325, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ELEMN_SUP' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(313, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC_PRE_REQT' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_EXCLU' and ref_entit = afw$migrt$pkg.obten_var_entit(305, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(290, 'Update') where code = 'REF_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CREER_OCURN' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(312, 'Update') where code = 'REF_TYPE_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(326, 'Update') where code = 'REF_PLUGN_ARBRE' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_ORGAN' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(345, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DISPN_FONCT' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_ACTIF' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(320, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(353, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AGEND' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_SAPC' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_LIBL' and ref_entit = afw$migrt$pkg.obten_var_entit(345, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ATRIB_4' and ref_entit = afw$migrt$pkg.obten_var_entit(273, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(277, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SECTN_DOCMN' and ref_entit = afw$migrt$pkg.obten_var_entit(313, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(283, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DUREE' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(348, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(316, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(349, 'Update') where code = 'REF_VERSN' and ref_entit = afw$migrt$pkg.obten_var_entit(346, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_GERER_SIDF' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(209, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PAGE_COMNT_BOGUE' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(349, 'Update') where code = 'REF_VERSN' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(347, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(378, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(369, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'HAUTR' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_STOCK_MEME_REPRT' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE' and ref_entit = afw$migrt$pkg.obten_var_entit(338, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PUBLC_TRAVL' and ref_entit = afw$migrt$pkg.obten_var_entit(330, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH7' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ERR_CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(254, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH' and ref_entit = afw$migrt$pkg.obten_var_entit(293, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(263, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(251, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(254, 'Update') where code = 'REF_CODE_ERR_ORACL' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_FIXE' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(316, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'EMPLA_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH5' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_EFORT' and ref_entit = afw$migrt$pkg.obten_var_entit(217, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(336, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(213, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CONTX' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SEQNC_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(357, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_VALR_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(317, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FIL' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SENS' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_VALID' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(226, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(352, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VUE_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(229, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(229, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'OPERT' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_ACTIF' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SEQNC_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_STRUC_ACCES' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(212, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(245, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CSS_ICONE_BOOTS' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(232, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(216, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(261, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(312, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(329, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(261, 'Update') where code = 'REF_VERSN_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(329, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_VARCH6' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR6' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE5' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_RETR' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_FETCH' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_RANGE_SUPRM' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_RANGE_INSER' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MESG_AUCUN_DON_TROUV' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_FETCH_SPECF' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_RANGE_SUPRM_SPECF' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_RANGE_MODF_SPECF' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_AUCUN_DON_TROUV' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_SMSMESSAGESID' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_ACCES_GLOBL' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_TOZIP' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_TOSTATE' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_FROMCOUNTRY' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_SMSSID' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_RECPT_TO' and ref_entit = afw$migrt$pkg.obten_var_entit(252, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(257, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(328, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'IDENT_ACCES_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(328, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(372, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CONFG_EVENM_NOTFB' and ref_entit = afw$migrt$pkg.obten_var_entit(372, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(328, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CONFG_EVENM_NOTFB' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(373, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(328, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CONFG_EVENM_NOTFB' and ref_entit = afw$migrt$pkg.obten_var_entit(328, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'IDENT_ACCES' and ref_entit = afw$migrt$pkg.obten_var_entit(328, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(372, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(328, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(373, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COULR' and ref_entit = afw$migrt$pkg.obten_var_entit(373, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_PRESN' and ref_entit = afw$migrt$pkg.obten_var_entit(373, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(328, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(328, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(372, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(373, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_NATR_DESTN' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(373, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(239, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(218, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_STATUS' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DON_NOMNL' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_AGEND' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TAIL_TITRE' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROCD_AUTHE_EXTER_AFW' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(231, 'Update') where code = 'REF_MODL_COMNC' and ref_entit = afw$migrt$pkg.obten_var_entit(243, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_FICHR' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PROFL_COURL_NOTFC' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDEN_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_COMPT_TWILI' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(239, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(235, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(232, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_ENVOI_DIFR' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_ATACH' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TITRE_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_A' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PARTG' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REPNS_SERVR' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COULR_TEXTE' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_PREVU' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(218, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ITEM_CARNT_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(213, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ITEM_CARNT_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(213, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(217, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_AFW_30_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(213, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(221, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(216, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(334, 'Update') where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SPECF' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(235, 'Update') where code = 'REF_TYPE_COMNC' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DOCMN_REFRC' and ref_entit = afw$migrt$pkg.obten_var_entit(216, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(235, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TAIL_TEXTE' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(235, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(243, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_PERTN' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COULR_TEXTE' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(239, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_IDENT' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(212, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TYPE_TRAVL' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(245, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(245, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(232, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_FLECH_AIDE_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TEMPS_AFICH' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_PRIOR' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REPRT_WALT' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(232, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(232, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_PREVU' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SYSTM' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(243, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(216, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'IDENT' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DOCMN_REFRC' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_APLIC_MODL_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_NOUVL_ENTIT' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(221, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(217, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_LIBL_STRUC_APLIC_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(216, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(220, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(212, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'EFORT_PREVU' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SEQNC_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(372, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(212, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LONGR_BLOC' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CARNT_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(214, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROTC_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_APLIC_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC_ACCES' and ref_entit = afw$migrt$pkg.obten_var_entit(248, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'AUTHE_TOKEN' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(243, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_AFW_30_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(251, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(316, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(369, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(347, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE8' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(302, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(333, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC_PRE_REQT' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(298, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PRISE_CHARG_AFW13_CONFR' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(366, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(232, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(300, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIBL' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(340, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_ACTIF' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PRISE_CHARG_AFW18' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE2' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_VALR_SAPI' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(331, 'Update') where code = 'REF_RESRC' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_CONDT_SAUVG' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE_KEYPR' and ref_entit = afw$migrt$pkg.obten_var_entit(271, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_ECRIT' and ref_entit = afw$migrt$pkg.obten_var_entit(330, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIBL' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DOSR_FICHR' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SAPI' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE7' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UNITE_MESR_LARGR_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(336, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOEUD_ACTIF' and ref_entit = afw$migrt$pkg.obten_var_entit(369, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_TITRE' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TRAVL' and ref_entit = afw$migrt$pkg.obten_var_entit(330, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(275, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(359, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(266, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_ADMIN' and ref_entit = afw$migrt$pkg.obten_var_entit(295, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(349, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(316, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_STAT_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ID_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE_FORML' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'OBTEN_JSON_NOEUD_NOMBR_NIV' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_FIL_ARIAN' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(343, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(322, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_EVENM_MODFB' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(355, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PRENM' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(359, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC_SOURC' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(279, 'Update') where code = 'REF_DOMN_VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(264, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(319, 'Update') where code = 'REF_ENTIT' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(281, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONTX_INTER' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_ID_PARNT' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(364, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(286, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(337, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(210, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_TABLE' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(325, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(321, 'Update') where code = 'REF_ITEM_MENU' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(210, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_REQST' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_ATRIB2' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(255, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIBL' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(300, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_FERMR_NOEUD' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PLUGN_ARBRE_NOEUD' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_UNITE_INCLU' and ref_entit = afw$migrt$pkg.obten_var_entit(290, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(317, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(292, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(286, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(255, 'Update') where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(270, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_VERSN' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC_CONDT' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(294, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ID_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(266, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(210, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_NUMBR3' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(295, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ACTIO' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_VALR_SNPI' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(379, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CLAS_INTER' and ref_entit = afw$migrt$pkg.obten_var_entit(333, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(352, 'Update') where code = 'REF_DOSR_VIRTL' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ADRES_ENVOY' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TITRE_ATRIB4' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_AIDE' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(292, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TRAVL' and ref_entit = afw$migrt$pkg.obten_var_entit(306, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AFECT_INPUT_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(296, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PARMT_TYPE_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(338, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(359, 'Update') where code = 'REF_ENGIN' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(323, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_COLN' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PLUGN' and ref_entit = afw$migrt$pkg.obten_var_entit(342, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(270, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(274, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(251, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VARBL3' and ref_entit = afw$migrt$pkg.obten_var_entit(305, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_PRESN' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(291, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_APLIC_CIBLE' and ref_entit = afw$migrt$pkg.obten_var_entit(263, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_MAJ_REFRN' and ref_entit = afw$migrt$pkg.obten_var_entit(263, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(263, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(263, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(336, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(336, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_TYPE_SECTN' and ref_entit = afw$migrt$pkg.obten_var_entit(314, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(327, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DATE10' and ref_entit = afw$migrt$pkg.obten_var_entit(367, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_TITRE_AIDE_INSTA' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(310, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(380, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(316, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AFICH' and ref_entit = afw$migrt$pkg.obten_var_entit(320, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_EXPIR' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'HAUTR_REGN_ARBRE' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(299, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(307, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(253, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(311, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TYPE_PUBLC' and ref_entit = afw$migrt$pkg.obten_var_entit(336, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(319, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(288, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(275, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_DEFT_ATRIB1' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'OBTEN_JSON_ARBRE_NOMBR_NIV' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(313, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'APEX_REPTS_ID' and ref_entit = afw$migrt$pkg.obten_var_entit(272, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(356, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(265, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(268, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CONDT_EXECT' and ref_entit = afw$migrt$pkg.obten_var_entit(342, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_OUVRI_NOEUD' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DTHR' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(270, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'BB' and ref_entit = afw$migrt$pkg.obten_var_entit(365, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(317, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(358, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_ERR_SUPRS' and ref_entit = afw$migrt$pkg.obten_var_entit(280, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_ENVOY' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_SSPI' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TITRE_ATRIB1' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(318, 'Update') where code = 'REF_TYPE_FICHR' and ref_entit = afw$migrt$pkg.obten_var_entit(322, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(286, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(270, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(333, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(368, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SELCT_NOEUD' and ref_entit = afw$migrt$pkg.obten_var_entit(341, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(361, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(322, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONDT_PRISE_CHARG' and ref_entit = afw$migrt$pkg.obten_var_entit(282, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(326, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(331, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(308, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(313, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(300, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(298, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_TYPE' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(351, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_ICON' and ref_entit = afw$migrt$pkg.obten_var_entit(318, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(333, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(357, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(380, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(255, 'Update') where code = 'REF_LANG' and ref_entit = afw$migrt$pkg.obten_var_entit(251, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR_ATRIB_5' and ref_entit = afw$migrt$pkg.obten_var_entit(303, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(315, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_ORGAN' and ref_entit = afw$migrt$pkg.obten_var_entit(324, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_COLN' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COLN_DATE_FIN_JOURN_COMPL' and ref_entit = afw$migrt$pkg.obten_var_entit(309, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_FONCT' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(211, 'Update') where code = 'REF_ATRIB_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(211, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(246, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(227, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_PERTN' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOMBR_MAXIM_RESLT' and ref_entit = afw$migrt$pkg.obten_var_entit(229, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DETL_APLIC_MODL_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ACTIO_INTER' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(266, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(352, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(344, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(276, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(332, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CORDN_Y_DEBUT' and ref_entit = afw$migrt$pkg.obten_var_entit(363, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(227, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ENONC_PLSQL_DROIT' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PATRN_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(226, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MODL_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(246, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(246, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(246, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ENONC_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ATRIB_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(226, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_PRIOR' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_EXECT' and ref_entit = afw$migrt$pkg.obten_var_entit(226, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(216, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE_CONTR' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_APART' and ref_entit = afw$migrt$pkg.obten_var_entit(227, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(226, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_APLIC_LIEN' and ref_entit = afw$migrt$pkg.obten_var_entit(229, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(227, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(226, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(227, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(212, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SENS' and ref_entit = afw$migrt$pkg.obten_var_entit(249, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(229, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(229, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS_RESPN' and ref_entit = afw$migrt$pkg.obten_var_entit(216, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(226, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_EXECT' and ref_entit = afw$migrt$pkg.obten_var_entit(246, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(227, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_APLIC_MODL_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(226, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(213, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(213, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(246, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NIV_GRAVT' and ref_entit = afw$migrt$pkg.obten_var_entit(258, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(228, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(229, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PAGE_ID' and ref_entit = afw$migrt$pkg.obten_var_entit(258, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(212, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PERTN' and ref_entit = afw$migrt$pkg.obten_var_entit(226, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(227, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(246, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'EFORT_RESTN' and ref_entit = afw$migrt$pkg.obten_var_entit(221, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(241, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SENS' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_STRUC_APLIC_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(229, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(262, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COULR_TEXT' and ref_entit = afw$migrt$pkg.obten_var_entit(373, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FLOW_ID' and ref_entit = afw$migrt$pkg.obten_var_entit(258, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ACOUN_ID' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(232, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_TRAVL_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(242, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'RESLT' and ref_entit = afw$migrt$pkg.obten_var_entit(247, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COULR_BORDR' and ref_entit = afw$migrt$pkg.obten_var_entit(335, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(331, 'Update') where code = 'REF_RESRC_ICON' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ATRIB_STRUC_APLIC_AFICH' and ref_entit = afw$migrt$pkg.obten_var_entit(229, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ID' and ref_entit = afw$migrt$pkg.obten_var_entit(258, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NATR' and ref_entit = afw$migrt$pkg.obten_var_entit(258, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NIV_GRAVT' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CONTR' and ref_entit = afw$migrt$pkg.obten_var_entit(258, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_ATRIB_SA_NOM_FORMT' and ref_entit = afw$migrt$pkg.obten_var_entit(371, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_COMPS' and ref_entit = afw$migrt$pkg.obten_var_entit(258, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CARNT_SPRIN' and ref_entit = afw$migrt$pkg.obten_var_entit(215, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_RESLT_RECHR' and ref_entit = afw$migrt$pkg.obten_var_entit(244, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(223, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(234, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(243, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR' and ref_entit = afw$migrt$pkg.obten_var_entit(236, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(231, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_DE' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TYPE_COMNC' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_CARNT_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(222, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(221, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COMNT' and ref_entit = afw$migrt$pkg.obten_var_entit(217, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONTN' and ref_entit = afw$migrt$pkg.obten_var_entit(237, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TW_SID' and ref_entit = afw$migrt$pkg.obten_var_entit(238, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(240, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(381, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(381, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(381, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(381, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(381, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_COURL_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(381, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(381, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_REPRS_LECTR_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_LECTR_ENTRA_ERR' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_LIRE_PROFL_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_RECPT' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PROFL_COURL' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_COURL' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TAIL_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_REPND' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_RECNT' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_LU' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SUPRM' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COURL_EXPED' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_EXPED' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONTN_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONTN_TEXTE_PUR' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'OBJET' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TAIL' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROPR' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_MIME_TYPE' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONTN' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_COURL_ENTRA' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NUMR_PIECE_CORPS_MESG' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(279, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOMBR_PAGE_LARGR' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_FORCR_AJUST_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(289, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'RESRC_ADITN' and ref_entit = afw$migrt$pkg.obten_var_entit(350, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_COMPL_MAXM' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROCD_IMPRE_PIED_PAGE_PDF_IR' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(206, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(284, 'Update') where code = 'REF_OPERT' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PREPN' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_CONDT_AFICH' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_VALR_INSTA_CONDT_AFICH' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE_UTILS_BASE_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(205, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(205, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(205, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(205, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_OPERT_OPTIO' and ref_entit = afw$migrt$pkg.obten_var_entit(205, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_OPERT' and ref_entit = afw$migrt$pkg.obten_var_entit(205, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_GROUP_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(205, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(201, 'Update') where code = 'REF_FONCT' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(206, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(206, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(206, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(206, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(201, 'Update') where code = 'REF_FONCT' and ref_entit = afw$migrt$pkg.obten_var_entit(206, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(206, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(201, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(201, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(201, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(201, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(201, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(201, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(201, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(201, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(201, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(201, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(203, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(203, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(203, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(203, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_ACTIF' and ref_entit = afw$migrt$pkg.obten_var_entit(203, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(203, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_FONCT' and ref_entit = afw$migrt$pkg.obten_var_entit(203, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(203, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'COMPT_GENRL' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(202, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(202, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(202, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(202, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(202, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(202, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(202, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(259, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(381, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TYPE_CONTN' and ref_entit = afw$migrt$pkg.obten_var_entit(383, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(382, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(204, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(201, 'Update') where code = 'REF_FONCT' and ref_entit = afw$migrt$pkg.obten_var_entit(284, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(267, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(205, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(205, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(206, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROCD_PLPDF_COULR' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROCD_IMPRE_ENTET_PDF_IR' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_PAGE_ACUEI' and ref_entit = afw$migrt$pkg.obten_var_entit(377, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(270, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(270, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TIMST' and ref_entit = afw$migrt$pkg.obten_var_entit(641, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ON_SHOWN' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ON_SHOW' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(641, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(641, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ON_HIDE' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(641, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ON_HIDN' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LOGO_TAIL_MOYN' and ref_entit = afw$migrt$pkg.obten_var_entit(621, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INITL_COMPS_JAVSC' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(621, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(621, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(621, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(621, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LOGO_TAIL_LARGE' and ref_entit = afw$migrt$pkg.obten_var_entit(621, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(621, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LOGO_TAIL_PET' and ref_entit = afw$migrt$pkg.obten_var_entit(621, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(621, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(621, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(278, 'Update') where code = 'REF_PAGE_ITEM' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DOMN_DOCMN_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(603, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(602, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(601, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ON_PREV' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIEN_ID_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROCD_PERSN_URL_APRES_AUTHE' and ref_entit = afw$migrt$pkg.obten_var_entit(219, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_TITRE' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AFICH_TOILE_FOND' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'MOT_PASSE' and ref_entit = afw$migrt$pkg.obten_var_entit(604, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(603, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PARMT_AUTHE_EXTER_AFW' and ref_entit = afw$migrt$pkg.obten_var_entit(287, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(601, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ON_NEXT' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(604, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_PREMR_CHARG' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_MODE_REFLX' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TUTRL' and ref_entit = afw$migrt$pkg.obten_var_entit(602, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(602, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DOMN' and ref_entit = afw$migrt$pkg.obten_var_entit(301, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(602, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(603, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SERVR_LDAP' and ref_entit = afw$migrt$pkg.obten_var_entit(603, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(603, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(602, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(601, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(606, 'Update') where code = 'REF_TUTRL' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PORT' and ref_entit = afw$migrt$pkg.obten_var_entit(604, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(603, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AFICH_ORPHE' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'TEMPL_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SEQNC_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(601, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_PRESN' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(288, 'Update') where code = 'REF_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AJOUT_APLIC_APEX' and ref_entit = afw$migrt$pkg.obten_var_entit(263, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ADRES' and ref_entit = afw$migrt$pkg.obten_var_entit(604, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SELCT_JQUER_ELEMN_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIEN_ATRIB_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ICONE_BULLE_AIDE' and ref_entit = afw$migrt$pkg.obten_var_entit(278, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(601, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(602, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_POSTN_AFICH' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(604, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'LIEN_CLASS_CSS_HTML' and ref_entit = afw$migrt$pkg.obten_var_entit(321, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'BASE_DN' and ref_entit = afw$migrt$pkg.obten_var_entit(604, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(604, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CN' and ref_entit = afw$migrt$pkg.obten_var_entit(604, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(604, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(601, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(603, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(602, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOTE_BAS_PAGE' and ref_entit = afw$migrt$pkg.obten_var_entit(336, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(603, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_AJOUT_SUPRT_CCI' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(210, 'Update') where code = 'REF_MESG_DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(605, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(298, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(603, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_SUPRT' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ADRES_SUPRT' and ref_entit = afw$migrt$pkg.obten_var_entit(362, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(601, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(606, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(604, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_EVENM_NOTFB' and ref_entit = afw$migrt$pkg.obten_var_entit(601, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(662, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_GROUP_GADGT_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(671, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(669, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_LIEN_GADGT_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROCD_AJAX' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(671, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(671, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_FIN_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_SESN' and ref_entit = afw$migrt$pkg.obten_var_entit(641, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONFG_GADGT' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_TYPE_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_GROUP_GADGT_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(669, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(671, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(671, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_PRESN' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(664, 'Update') where code = 'REF_GADGT_PARMT_RACRC' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(669, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(669, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROCD_APRES_DECNX' and ref_entit = afw$migrt$pkg.obten_var_entit(334, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_GROUP_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(669, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CLASS_CSS' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_GADGT_PARMT' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TUTRL' and ref_entit = afw$migrt$pkg.obten_var_entit(641, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_SYSTM' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(671, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(280, 'Update') where code = 'REF_STRUC_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(662, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(662, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM_GROUP_DEFT' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TUTRL' and ref_entit = afw$migrt$pkg.obten_var_entit(662, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_TABL_BORD' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_OBLIG' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_GADGT_PARMT_RACRC' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(296, 'Update') where code = 'REF_DV_TYPE_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(662, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_GENRQ' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(671, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(668, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(666, 'Update') where code = 'REF_GADGT_CATGR' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_GADGT' and ref_entit = afw$migrt$pkg.obten_var_entit(671, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(669, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ICONE' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_UTILS_DEMDR' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CONFG_GRIL' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(669, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(304, 'Update') where code = 'REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(671, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(669, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(670, 'Update') where code = 'REF_GADGT' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_ENVOI_DIFR' and ref_entit = afw$migrt$pkg.obten_var_entit(233, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'SEQNC' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOM' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(666, 'Update') where code = 'REF_GADGT_CATGR' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_PRESN' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'PROCD_GENRT' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'UTILS_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(671, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(666, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(667, 'Update') where code = 'REF_GADGT_PARMT' and ref_entit = afw$migrt$pkg.obten_var_entit(663, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'ORDRE_PRESN' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_DV_FORML_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = afw$migrt$pkg.obten_var_entit(279, 'Update') where code = 'REF_DOMN_VALR' and ref_entit = afw$migrt$pkg.obten_var_entit(667, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_DEBUT_EFECT' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DESCR' and ref_entit = afw$migrt$pkg.obten_var_entit(670, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_MODFC' and ref_entit = afw$migrt$pkg.obten_var_entit(665, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'REF_LIEN_GADGT_PARMT_RACRC' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DATE_CREAT' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(661, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'CODE' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_11_atrib_entit'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_11_atrib_entit'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'FORML_DON' and ref_entit = afw$migrt$pkg.obten_var_entit(664, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'DNR_REF_PRODT' and ref_entit = afw$migrt$pkg.obten_var_entit(298, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOTE_SCRIP_PRE_MIGRT' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'NOTE_SCRIP_POST_MIGRT' and ref_entit = afw$migrt$pkg.obten_var_entit(304, 'Select'); update afw_11_atrib_entit set ref_entit_refrn = null where code = 'INDIC_GROUP_APLIC' and ref_entit = afw$migrt$pkg.obten_var_entit(285, 'Select'); declare vnu_count pls_integer; begin select count(1) into vnu_count from em$11_atrib_entit; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_atrib_entit'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_atrib_entit'); end; / prompt ......type_domn_valr begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$14_type_domn_valr; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_14_type_domn_valr'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_14_type_domn_valr'); end; / prompt ......domn_valr begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$14_domn_valr; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_14_domn_valr'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_14_domn_valr'); end; / prompt ......mime_type begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_13_mime_type set ref_type_fichr = null where ext = '.mcf' and mime_type = 'text/mcf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mcp' and mime_type = 'application/netmc'; update afw_13_mime_type set ref_type_fichr = null where ext = '.me' and mime_type = 'application/x-troff-me'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mht' and mime_type = 'message/rfc822'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mhtml' and mime_type = 'message/rfc822'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mid' and mime_type = 'application/x-midi'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mid' and mime_type = 'audio/midi'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mid' and mime_type = 'audio/x-mid'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mid' and mime_type = 'audio/x-midi'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mid' and mime_type = 'music/crescendo'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mid' and mime_type = 'x-music/x-midi'; update afw_13_mime_type set ref_type_fichr = null where ext = '.midi' and mime_type = 'application/x-midi'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.midi' and mime_type = 'audio/midi'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.midi' and mime_type = 'audio/x-mid'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.midi' and mime_type = 'audio/x-midi'; update afw_13_mime_type set ref_type_fichr = null where ext = '.midi' and mime_type = 'music/crescendo'; update afw_13_mime_type set ref_type_fichr = null where ext = '.midi' and mime_type = 'x-music/x-midi'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mif' and mime_type = 'application/x-frame'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mif' and mime_type = 'application/x-mif'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mime' and mime_type = 'message/rfc822'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mime' and mime_type = 'www/mime'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mjf' and mime_type = 'audio/x-vnd.audioexplosion.mjuicemediafile'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mjpg' and mime_type = 'video/x-motion-jpeg'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mm' and mime_type = 'application/base64'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mm' and mime_type = 'application/x-meme'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mme' and mime_type = 'application/base64'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mod' and mime_type = 'audio/mod'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mod' and mime_type = 'audio/x-mod'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.moov' and mime_type = 'video/quicktime'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mov' and mime_type = 'video/quicktime'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.movie' and mime_type = 'video/x-sgi-movie'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mp2' and mime_type = 'audio/mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mp2' and mime_type = 'audio/x-mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mp2' and mime_type = 'video/mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mp2' and mime_type = 'video/x-mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mp2' and mime_type = 'video/x-mpeq2a'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mp3' and mime_type = 'audio/mpeg3'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mp3' and mime_type = 'audio/x-mpeg-3'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mp3' and mime_type = 'video/mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mp3' and mime_type = 'video/x-mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mpa' and mime_type = 'audio/mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mpa' and mime_type = 'video/mpeg'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mpc' and mime_type = 'application/x-project'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mpe' and mime_type = 'video/mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mpeg' and mime_type = 'video/mpeg'; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_13_mime_type'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_13_mime_type'); update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mpg' and mime_type = 'audio/mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mpg' and mime_type = 'video/mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.mpga' and mime_type = 'audio/mpeg'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mpp' and mime_type = 'application/vnd.ms-project'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mpt' and mime_type = 'application/x-project'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mpv' and mime_type = 'application/x-project'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mpx' and mime_type = 'application/x-project'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mrc' and mime_type = 'application/marc'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ms' and mime_type = 'application/x-troff-ms'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.mv' and mime_type = 'video/x-sgi-movie'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.my' and mime_type = 'audio/make'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mzz' and mime_type = 'application/x-vnd.audioexplosion.mzz'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.nap' and mime_type = 'image/naplps'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.naplps' and mime_type = 'image/naplps'; update afw_13_mime_type set ref_type_fichr = null where ext = '.nc' and mime_type = 'application/x-netcdf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ncm' and mime_type = 'application/vnd.nokia.configuration-message'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.nif' and mime_type = 'image/x-niff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.niff' and mime_type = 'image/x-niff'; update afw_13_mime_type set ref_type_fichr = null where ext = '.nix' and mime_type = 'application/x-mix-transfer'; update afw_13_mime_type set ref_type_fichr = null where ext = '.nsc' and mime_type = 'application/x-conference'; update afw_13_mime_type set ref_type_fichr = null where ext = '.nvd' and mime_type = 'application/x-navidoc'; update afw_13_mime_type set ref_type_fichr = null where ext = '.o' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.oda' and mime_type = 'application/oda'; update afw_13_mime_type set ref_type_fichr = null where ext = '.omc' and mime_type = 'application/x-omc'; update afw_13_mime_type set ref_type_fichr = null where ext = '.omcd' and mime_type = 'application/x-omcdatamaker'; update afw_13_mime_type set ref_type_fichr = null where ext = '.omcr' and mime_type = 'application/x-omcregerator'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p' and mime_type = 'text/x-pascal'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p10' and mime_type = 'application/pkcs10'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p10' and mime_type = 'application/x-pkcs10'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p12' and mime_type = 'application/pkcs-12'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p12' and mime_type = 'application/x-pkcs12'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p7a' and mime_type = 'application/x-pkcs7-signature'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p7c' and mime_type = 'application/pkcs7-mime'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p7c' and mime_type = 'application/x-pkcs7-mime'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p7m' and mime_type = 'application/pkcs7-mime'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p7m' and mime_type = 'application/x-pkcs7-mime'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p7r' and mime_type = 'application/x-pkcs7-certreqresp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.p7s' and mime_type = 'application/pkcs7-signature'; update afw_13_mime_type set ref_type_fichr = null where ext = '.part' and mime_type = 'application/pro_eng'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pas' and mime_type = 'text/pascal'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.pbm' and mime_type = 'image/x-portable-bitmap'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pcl' and mime_type = 'application/vnd.hp-pcl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pcl' and mime_type = 'application/x-pcl'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.pct' and mime_type = 'image/x-pict'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.pcx' and mime_type = 'image/x-pcx'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pdb' and mime_type = 'chemical/x-pdb'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(3, 'Update') where ext = '.pdf' and mime_type = 'application/pdf'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.pfunk' and mime_type = 'audio/make'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.pfunk' and mime_type = 'audio/make.my.funk'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.pgm' and mime_type = 'image/x-portable-graymap'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.pgm' and mime_type = 'image/x-portable-greymap'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.pic' and mime_type = 'image/pict'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.pict' and mime_type = 'image/pict'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pkg' and mime_type = 'application/x-newton-compatible-pkg'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sbk' and mime_type = 'application/x-tbook'; update afw_13_mime_type set ref_type_fichr = null where ext = '.scm' and mime_type = 'application/x-lotusscreencam'; update afw_13_mime_type set ref_type_fichr = null where ext = '.scm' and mime_type = 'text/x-script.guile'; update afw_13_mime_type set ref_type_fichr = null where ext = '.scm' and mime_type = 'text/x-script.scheme'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.scm' and mime_type = 'video/x-scm'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sdml' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sdp' and mime_type = 'application/sdp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sdp' and mime_type = 'application/x-sdp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sdr' and mime_type = 'application/sounder'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sea' and mime_type = 'application/sea'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sea' and mime_type = 'application/x-sea'; update afw_13_mime_type set ref_type_fichr = null where ext = '.set' and mime_type = 'application/set'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sgm' and mime_type = 'text/sgml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sgm' and mime_type = 'text/x-sgml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sgml' and mime_type = 'text/sgml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sgml' and mime_type = 'text/x-sgml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sh' and mime_type = 'application/x-bsh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sh' and mime_type = 'application/x-sh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sh' and mime_type = 'application/x-shar'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sh' and mime_type = 'text/x-script.sh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.shar' and mime_type = 'application/x-bsh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.shar' and mime_type = 'application/x-shar'; update afw_13_mime_type set ref_type_fichr = null where ext = '.shtml' and mime_type = 'text/html'; update afw_13_mime_type set ref_type_fichr = null where ext = '.shtml' and mime_type = 'text/x-server-parsed-html'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.sid' and mime_type = 'audio/x-psid'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sit' and mime_type = 'application/x-sit'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sit' and mime_type = 'application/x-stuffit'; update afw_13_mime_type set ref_type_fichr = null where ext = '.skd' and mime_type = 'application/x-koan'; update afw_13_mime_type set ref_type_fichr = null where ext = '.skm' and mime_type = 'application/x-koan'; update afw_13_mime_type set ref_type_fichr = null where ext = '.skp' and mime_type = 'application/x-koan'; update afw_13_mime_type set ref_type_fichr = null where ext = '.skt' and mime_type = 'application/x-koan'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sl' and mime_type = 'application/x-seelogo'; update afw_13_mime_type set ref_type_fichr = null where ext = '.smi' and mime_type = 'application/smil'; update afw_13_mime_type set ref_type_fichr = null where ext = '.smil' and mime_type = 'application/smil'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.snd' and mime_type = 'audio/basic'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.snd' and mime_type = 'audio/x-adpcm'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sol' and mime_type = 'application/solids'; update afw_13_mime_type set ref_type_fichr = null where ext = '.spc' and mime_type = 'application/x-pkcs7-certificates'; update afw_13_mime_type set ref_type_fichr = null where ext = '.spc' and mime_type = 'text/x-speech'; update afw_13_mime_type set ref_type_fichr = null where ext = '.spl' and mime_type = 'application/futuresplash'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.spr' and mime_type = 'application/x-sprite'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.sprite' and mime_type = 'application/x-sprite'; update afw_13_mime_type set ref_type_fichr = null where ext = '.src' and mime_type = 'application/x-wais-source'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ssi' and mime_type = 'text/x-server-parsed-html'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ssm' and mime_type = 'application/streamingmedia'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sst' and mime_type = 'application/vnd.ms-pki.certstore'; update afw_13_mime_type set ref_type_fichr = null where ext = '.step' and mime_type = 'application/step'; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_13_mime_type'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_13_mime_type'); update afw_13_mime_type set ref_type_fichr = null where ext = '.stl' and mime_type = 'application/sla'; update afw_13_mime_type set ref_type_fichr = null where ext = '.stl' and mime_type = 'application/vnd.ms-pki.stl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.stl' and mime_type = 'application/x-navistyle'; update afw_13_mime_type set ref_type_fichr = null where ext = '.stp' and mime_type = 'application/step'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sv4cpio' and mime_type = 'application/x-sv4cpio'; update afw_13_mime_type set ref_type_fichr = null where ext = '.sv4crc' and mime_type = 'application/x-sv4crc'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.svf' and mime_type = 'image/vnd.dwg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.svf' and mime_type = 'image/x-dwg'; update afw_13_mime_type set ref_type_fichr = null where ext = '.svr' and mime_type = 'application/x-world'; update afw_13_mime_type set ref_type_fichr = null where ext = '.svr' and mime_type = 'x-world/x-svr'; update afw_13_mime_type set ref_type_fichr = null where ext = '.swf' and mime_type = 'application/x-shockwave-flash'; update afw_13_mime_type set ref_type_fichr = null where ext = '.t' and mime_type = 'application/x-troff'; update afw_13_mime_type set ref_type_fichr = null where ext = '.talk' and mime_type = 'text/x-speech'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tar' and mime_type = 'application/x-tar'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tbk' and mime_type = 'application/toolbook'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tbk' and mime_type = 'application/x-tbook'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tcl' and mime_type = 'application/x-tcl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tcl' and mime_type = 'text/x-script.tcl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tcsh' and mime_type = 'text/x-script.tcsh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tex' and mime_type = 'application/x-tex'; update afw_13_mime_type set ref_type_fichr = null where ext = '.texi' and mime_type = 'application/x-texinfo'; update afw_13_mime_type set ref_type_fichr = null where ext = '.texinfo' and mime_type = 'application/x-texinfo'; update afw_13_mime_type set ref_type_fichr = null where ext = '.text' and mime_type = 'application/plain'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(23, 'Update') where ext = '.text' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tgz' and mime_type = 'application/gnutar'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tgz' and mime_type = 'application/x-compressed'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.tif' and mime_type = 'image/tiff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.tif' and mime_type = 'image/x-tiff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.tiff' and mime_type = 'image/tiff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.tiff' and mime_type = 'image/x-tiff'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tr' and mime_type = 'application/x-troff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.tsi' and mime_type = 'audio/tsp-audio'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tsp' and mime_type = 'application/dsptype'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.tsp' and mime_type = 'audio/tsplayer'; update afw_13_mime_type set ref_type_fichr = null where ext = '.tsv' and mime_type = 'text/tab-separated-values'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.turbot' and mime_type = 'image/florian'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(23, 'Update') where ext = '.txt' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.uil' and mime_type = 'text/x-uil'; update afw_13_mime_type set ref_type_fichr = null where ext = '.uni' and mime_type = 'text/uri-list'; update afw_13_mime_type set ref_type_fichr = null where ext = '.unis' and mime_type = 'text/uri-list'; update afw_13_mime_type set ref_type_fichr = null where ext = '.unv' and mime_type = 'application/i-deas'; update afw_13_mime_type set ref_type_fichr = null where ext = '.uri' and mime_type = 'text/uri-list'; update afw_13_mime_type set ref_type_fichr = null where ext = '.uris' and mime_type = 'text/uri-list'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ustar' and mime_type = 'application/x-ustar'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ustar' and mime_type = 'multipart/x-ustar'; update afw_13_mime_type set ref_type_fichr = null where ext = '.uu' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.uu' and mime_type = 'text/x-uuencode'; update afw_13_mime_type set ref_type_fichr = null where ext = '.uue' and mime_type = 'text/x-uuencode'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vcd' and mime_type = 'application/x-cdlink'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vcs' and mime_type = 'text/x-vcalendar'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vda' and mime_type = 'application/vda'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.vdo' and mime_type = 'video/vdo'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vew' and mime_type = 'application/groupwise'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.viv' and mime_type = 'video/vivo'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.viv' and mime_type = 'video/vnd.vivo'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.vivo' and mime_type = 'video/vivo'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.vivo' and mime_type = 'video/vnd.vivo'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vmd' and mime_type = 'application/vocaltec-media-desc'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vmf' and mime_type = 'application/vocaltec-media-file'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.voc' and mime_type = 'audio/voc'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.voc' and mime_type = 'audio/x-voc'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.vos' and mime_type = 'video/vosaic'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.vox' and mime_type = 'audio/voxware'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.vqe' and mime_type = 'audio/x-twinvq-plugin'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.vqf' and mime_type = 'audio/x-twinvq'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.vql' and mime_type = 'audio/x-twinvq-plugin'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vrml' and mime_type = 'application/x-vrml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vrml' and mime_type = 'model/vrml'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xls' and mime_type = 'application/x-msexcel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlt' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlt' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlv' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlv' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlw' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlw' and mime_type = 'application/vnd.ms-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlw' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = null where ext = '.xlw' and mime_type = 'application/x-msexcel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.xm' and mime_type = 'audio/xm'; update afw_13_mime_type set ref_type_fichr = null where ext = '.xml' and mime_type = 'application/xml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.xml' and mime_type = 'text/xml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.xmz' and mime_type = 'xgl/movie'; update afw_13_mime_type set ref_type_fichr = null where ext = '.xpix' and mime_type = 'application/x-vnd.ls-xpix'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.xpm' and mime_type = 'image/x-xpixmap'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.xpm' and mime_type = 'image/xpm'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.x-png' and mime_type = 'image/png'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.xsr' and mime_type = 'video/x-amt-showrun'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.xwd' and mime_type = 'image/x-xwd'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.xwd' and mime_type = 'image/x-xwindowdump'; update afw_13_mime_type set ref_type_fichr = null where ext = '.xyz' and mime_type = 'chemical/x-pdb'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(4, 'Update') where ext = '.z' and mime_type = 'application/x-compress'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(4, 'Update') where ext = '.z' and mime_type = 'application/x-compressed'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(4, 'Update') where ext = '.zip' and mime_type = 'application/x-compressed'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(4, 'Update') where ext = '.zip' and mime_type = 'application/x-zip-compressed'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(4, 'Update') where ext = '.zip' and mime_type = 'application/zip'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(4, 'Update') where ext = '.zip' and mime_type = 'multipart/x-zip'; update afw_13_mime_type set ref_type_fichr = null where ext = '.zoo' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.zsh' and mime_type = 'text/x-script.zsh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.3dm' and mime_type = 'x-world/x-3dmf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.3dmf' and mime_type = 'x-world/x-3dmf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.a' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.aab' and mime_type = 'application/x-authorware-bin'; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_13_mime_type'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_13_mime_type'); update afw_13_mime_type set ref_type_fichr = null where ext = '.aam' and mime_type = 'application/x-authorware-map'; update afw_13_mime_type set ref_type_fichr = null where ext = '.aas' and mime_type = 'application/x-authorware-seg'; update afw_13_mime_type set ref_type_fichr = null where ext = '.abc' and mime_type = 'text/vnd.abc'; update afw_13_mime_type set ref_type_fichr = null where ext = '.acgi' and mime_type = 'text/html'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.afl' and mime_type = 'video/animaflex'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ai' and mime_type = 'application/postscript'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.aif' and mime_type = 'audio/aiff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.aif' and mime_type = 'audio/x-aiff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.aifc' and mime_type = 'audio/aiff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.aifc' and mime_type = 'audio/x-aiff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.aiff' and mime_type = 'audio/aiff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.aiff' and mime_type = 'audio/x-aiff'; update afw_13_mime_type set ref_type_fichr = null where ext = '.aim' and mime_type = 'application/x-aim'; update afw_13_mime_type set ref_type_fichr = null where ext = '.aip' and mime_type = 'text/x-audiosoft-intra'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ani' and mime_type = 'application/x-navi-animation'; update afw_13_mime_type set ref_type_fichr = null where ext = '.aos' and mime_type = 'application/x-nokia-9000-communicator-add-on-software'; update afw_13_mime_type set ref_type_fichr = null where ext = '.aps' and mime_type = 'application/mime'; update afw_13_mime_type set ref_type_fichr = null where ext = '.arc' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.arj' and mime_type = 'application/arj'; update afw_13_mime_type set ref_type_fichr = null where ext = '.arj' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.art' and mime_type = 'image/x-jg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.asf' and mime_type = 'video/x-ms-asf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.asm' and mime_type = 'text/x-asm'; update afw_13_mime_type set ref_type_fichr = null where ext = '.asp' and mime_type = 'text/asp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.asx' and mime_type = 'application/x-mplayer2'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.asx' and mime_type = 'video/x-ms-asf'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.asx' and mime_type = 'video/x-ms-asf-plugin'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.au' and mime_type = 'audio/basic'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.au' and mime_type = 'audio/x-au'; update afw_13_mime_type set ref_type_fichr = null where ext = '.avi' and mime_type = 'application/x-troff-msvideo'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.avi' and mime_type = 'video/avi'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.avi' and mime_type = 'video/msvideo'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.avi' and mime_type = 'video/x-msvideo'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.avs' and mime_type = 'video/avs-video'; update afw_13_mime_type set ref_type_fichr = null where ext = '.bcpio' and mime_type = 'application/x-bcpio'; update afw_13_mime_type set ref_type_fichr = null where ext = '.bin' and mime_type = 'application/mac-binary'; update afw_13_mime_type set ref_type_fichr = null where ext = '.bin' and mime_type = 'application/macbinary'; update afw_13_mime_type set ref_type_fichr = null where ext = '.bin' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.bin' and mime_type = 'application/x-binary'; update afw_13_mime_type set ref_type_fichr = null where ext = '.bin' and mime_type = 'application/x-macbinary'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.bm' and mime_type = 'image/bmp'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.bmp' and mime_type = 'image/bmp'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.bmp' and mime_type = 'image/x-windows-bmp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.boo' and mime_type = 'application/book'; update afw_13_mime_type set ref_type_fichr = null where ext = '.book' and mime_type = 'application/book'; update afw_13_mime_type set ref_type_fichr = null where ext = '.boz' and mime_type = 'application/x-bzip2'; update afw_13_mime_type set ref_type_fichr = null where ext = '.bsh' and mime_type = 'application/x-bsh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.bz' and mime_type = 'application/x-bzip'; update afw_13_mime_type set ref_type_fichr = null where ext = '.bz2' and mime_type = 'application/x-bzip2'; update afw_13_mime_type set ref_type_fichr = null where ext = '.c' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.c' and mime_type = 'text/x-c'; update afw_13_mime_type set ref_type_fichr = null where ext = '.c++' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cat' and mime_type = 'application/vnd.ms-pki.seccat'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cc' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cc' and mime_type = 'text/x-c'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ccad' and mime_type = 'application/clariscad'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cco' and mime_type = 'application/x-cocoa'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cdf' and mime_type = 'application/cdf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cdf' and mime_type = 'application/x-cdf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cdf' and mime_type = 'application/x-netcdf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cer' and mime_type = 'application/pkix-cert'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cer' and mime_type = 'application/x-x509-ca-cert'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cha' and mime_type = 'application/x-chat'; update afw_13_mime_type set ref_type_fichr = null where ext = '.chat' and mime_type = 'application/x-chat'; update afw_13_mime_type set ref_type_fichr = null where ext = '.class' and mime_type = 'application/java'; update afw_13_mime_type set ref_type_fichr = null where ext = '.class' and mime_type = 'application/java-byte-code'; update afw_13_mime_type set ref_type_fichr = null where ext = '.class' and mime_type = 'application/x-java-class'; update afw_13_mime_type set ref_type_fichr = null where ext = '.com' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.com' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.conf' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cpio' and mime_type = 'application/x-cpio'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cpp' and mime_type = 'text/x-c'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cpt' and mime_type = 'application/mac-compactpro'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cpt' and mime_type = 'application/x-compactpro'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cpt' and mime_type = 'application/x-cpt'; update afw_13_mime_type set ref_type_fichr = null where ext = '.crl' and mime_type = 'application/pkcs-crl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.crl' and mime_type = 'application/pkix-crl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.crt' and mime_type = 'application/pkix-cert'; update afw_13_mime_type set ref_type_fichr = null where ext = '.crt' and mime_type = 'application/x-x509-ca-cert'; update afw_13_mime_type set ref_type_fichr = null where ext = '.crt' and mime_type = 'application/x-x509-user-cert'; update afw_13_mime_type set ref_type_fichr = null where ext = '.csh' and mime_type = 'application/x-csh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.csh' and mime_type = 'text/x-script.csh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.css' and mime_type = 'application/x-pointplus'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(62, 'Update') where ext = '.css' and mime_type = 'text/css'; update afw_13_mime_type set ref_type_fichr = null where ext = '.cxx' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.dcr' and mime_type = 'application/x-director'; update afw_13_mime_type set ref_type_fichr = null where ext = '.deepv' and mime_type = 'application/x-deepv'; update afw_13_mime_type set ref_type_fichr = null where ext = '.def' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.der' and mime_type = 'application/x-x509-ca-cert'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.dif' and mime_type = 'video/x-dv'; update afw_13_mime_type set ref_type_fichr = null where ext = '.dir' and mime_type = 'application/x-director'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.dl' and mime_type = 'video/dl'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.dl' and mime_type = 'video/x-dl'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(2, 'Update') where ext = '.doc' and mime_type = 'application/msword'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(2, 'Update') where ext = '.dot' and mime_type = 'application/msword'; update afw_13_mime_type set ref_type_fichr = null where ext = '.dp' and mime_type = 'application/commonground'; update afw_13_mime_type set ref_type_fichr = null where ext = '.drw' and mime_type = 'application/drafting'; update afw_13_mime_type set ref_type_fichr = null where ext = '.dump' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.dv' and mime_type = 'video/x-dv'; update afw_13_mime_type set ref_type_fichr = null where ext = '.dvi' and mime_type = 'application/x-dvi'; update afw_13_mime_type set ref_type_fichr = null where ext = '.dwf' and mime_type = 'drawing/x-dwf (old)'; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_13_mime_type'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_13_mime_type'); update afw_13_mime_type set ref_type_fichr = null where ext = '.dwf' and mime_type = 'model/vnd.dwf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.dwg' and mime_type = 'application/acad'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.dwg' and mime_type = 'image/vnd.dwg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.dwg' and mime_type = 'image/x-dwg'; update afw_13_mime_type set ref_type_fichr = null where ext = '.dxf' and mime_type = 'application/dxf'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.dxf' and mime_type = 'image/vnd.dwg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.dxf' and mime_type = 'image/x-dwg'; update afw_13_mime_type set ref_type_fichr = null where ext = '.dxr' and mime_type = 'application/x-director'; update afw_13_mime_type set ref_type_fichr = null where ext = '.el' and mime_type = 'text/x-script.elisp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.elc' and mime_type = 'application/x-bytecode.elisp (compiled elisp)'; update afw_13_mime_type set ref_type_fichr = null where ext = '.elc' and mime_type = 'application/x-elc'; update afw_13_mime_type set ref_type_fichr = null where ext = '.env' and mime_type = 'application/x-envoy'; update afw_13_mime_type set ref_type_fichr = null where ext = '.eps' and mime_type = 'application/postscript'; update afw_13_mime_type set ref_type_fichr = null where ext = '.es' and mime_type = 'application/x-esrehber'; update afw_13_mime_type set ref_type_fichr = null where ext = '.etx' and mime_type = 'text/x-setext'; update afw_13_mime_type set ref_type_fichr = null where ext = '.evy' and mime_type = 'application/envoy'; update afw_13_mime_type set ref_type_fichr = null where ext = '.evy' and mime_type = 'application/x-envoy'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(41, 'Update') where ext = '.exe' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.f' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.f' and mime_type = 'text/x-fortran'; update afw_13_mime_type set ref_type_fichr = null where ext = '.f77' and mime_type = 'text/x-fortran'; update afw_13_mime_type set ref_type_fichr = null where ext = '.f90' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.f90' and mime_type = 'text/x-fortran'; update afw_13_mime_type set ref_type_fichr = null where ext = '.fdf' and mime_type = 'application/vnd.fdf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.fif' and mime_type = 'application/fractals'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.fif' and mime_type = 'image/fif'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.fli' and mime_type = 'video/fli'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.fli' and mime_type = 'video/x-fli'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.flo' and mime_type = 'image/florian'; update afw_13_mime_type set ref_type_fichr = null where ext = '.flx' and mime_type = 'text/vnd.fmi.flexstor'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.fmf' and mime_type = 'video/x-atomic3d-feature'; update afw_13_mime_type set ref_type_fichr = null where ext = '.for' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.for' and mime_type = 'text/x-fortran'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.fpx' and mime_type = 'image/vnd.fpx'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.fpx' and mime_type = 'image/vnd.net-fpx'; update afw_13_mime_type set ref_type_fichr = null where ext = '.frl' and mime_type = 'application/freeloader'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.funk' and mime_type = 'audio/make'; update afw_13_mime_type set ref_type_fichr = null where ext = '.g' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.g3' and mime_type = 'image/g3fax'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.gif' and mime_type = 'image/gif'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.gl' and mime_type = 'video/gl'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.gl' and mime_type = 'video/x-gl'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.gsd' and mime_type = 'audio/x-gsm'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.gsm' and mime_type = 'audio/x-gsm'; update afw_13_mime_type set ref_type_fichr = null where ext = '.gsp' and mime_type = 'application/x-gsp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.gss' and mime_type = 'application/x-gss'; update afw_13_mime_type set ref_type_fichr = null where ext = '.gtar' and mime_type = 'application/x-gtar'; update afw_13_mime_type set ref_type_fichr = null where ext = '.gz' and mime_type = 'application/x-compressed'; update afw_13_mime_type set ref_type_fichr = null where ext = '.gz' and mime_type = 'application/x-gzip'; update afw_13_mime_type set ref_type_fichr = null where ext = '.gzip' and mime_type = 'application/x-gzip'; update afw_13_mime_type set ref_type_fichr = null where ext = '.gzip' and mime_type = 'multipart/x-gzip'; update afw_13_mime_type set ref_type_fichr = null where ext = '.h' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.h' and mime_type = 'text/x-h'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hdf' and mime_type = 'application/x-hdf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.help' and mime_type = 'application/x-helpfile'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hgl' and mime_type = 'application/vnd.hp-hpgl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hh' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hh' and mime_type = 'text/x-h'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hlb' and mime_type = 'text/x-script'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hlp' and mime_type = 'application/hlp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hlp' and mime_type = 'application/x-helpfile'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hlp' and mime_type = 'application/x-winhelp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hpg' and mime_type = 'application/vnd.hp-hpgl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hpgl' and mime_type = 'application/vnd.hp-hpgl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hqx' and mime_type = 'application/binhex'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hqx' and mime_type = 'application/binhex4'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hqx' and mime_type = 'application/mac-binhex'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hqx' and mime_type = 'application/mac-binhex40'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hqx' and mime_type = 'application/x-binhex40'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hqx' and mime_type = 'application/x-mac-binhex40'; update afw_13_mime_type set ref_type_fichr = null where ext = '.hta' and mime_type = 'application/hta'; update afw_13_mime_type set ref_type_fichr = null where ext = '.htc' and mime_type = 'text/x-component'; update afw_13_mime_type set ref_type_fichr = null where ext = '.htm' and mime_type = 'text/html'; update afw_13_mime_type set ref_type_fichr = null where ext = '.html' and mime_type = 'text/html'; update afw_13_mime_type set ref_type_fichr = null where ext = '.htmls' and mime_type = 'text/html'; update afw_13_mime_type set ref_type_fichr = null where ext = '.htt' and mime_type = 'text/webviewhtml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.htx' and mime_type = 'text/html'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ice' and mime_type = 'x-conference/x-cooltalk'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.ico' and mime_type = 'image/x-icon'; update afw_13_mime_type set ref_type_fichr = null where ext = '.idc' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.ief' and mime_type = 'image/ief'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.iefs' and mime_type = 'image/ief'; update afw_13_mime_type set ref_type_fichr = null where ext = '.iges' and mime_type = 'application/iges'; update afw_13_mime_type set ref_type_fichr = null where ext = '.iges' and mime_type = 'model/iges'; update afw_13_mime_type set ref_type_fichr = null where ext = '.igs' and mime_type = 'application/iges'; update afw_13_mime_type set ref_type_fichr = null where ext = '.igs' and mime_type = 'model/iges'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ima' and mime_type = 'application/x-ima'; update afw_13_mime_type set ref_type_fichr = null where ext = '.imap' and mime_type = 'application/x-httpd-imap'; update afw_13_mime_type set ref_type_fichr = null where ext = '.inf' and mime_type = 'application/inf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ins' and mime_type = 'application/x-internett-signup'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ip' and mime_type = 'application/x-ip2'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.isu' and mime_type = 'video/x-isvideo'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.it' and mime_type = 'audio/it'; update afw_13_mime_type set ref_type_fichr = null where ext = '.iv' and mime_type = 'application/x-inventor'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ivr' and mime_type = 'i-world/i-vrml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ivy' and mime_type = 'application/x-livescreen'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.jam' and mime_type = 'audio/x-jam'; update afw_13_mime_type set ref_type_fichr = null where ext = '.jav' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.jav' and mime_type = 'text/x-java-source'; update afw_13_mime_type set ref_type_fichr = null where ext = '.java' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.java' and mime_type = 'text/x-java-source'; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_13_mime_type'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_13_mime_type'); update afw_13_mime_type set ref_type_fichr = null where ext = '.jcm' and mime_type = 'application/x-java-commerce'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jfif' and mime_type = 'image/jpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jfif' and mime_type = 'image/pjpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jfif-tbnl' and mime_type = 'image/jpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jpe' and mime_type = 'image/jpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jpe' and mime_type = 'image/pjpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jpeg' and mime_type = 'image/jpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jpeg' and mime_type = 'image/pjpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jpg' and mime_type = 'image/jpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jpg' and mime_type = 'image/pjpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jps' and mime_type = 'image/x-jps'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(61, 'Update') where ext = '.js' and mime_type = 'application/x-javascript'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.jut' and mime_type = 'image/jutvision'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.kar' and mime_type = 'audio/midi'; update afw_13_mime_type set ref_type_fichr = null where ext = '.kar' and mime_type = 'music/x-karaoke'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ksh' and mime_type = 'application/x-ksh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ksh' and mime_type = 'text/x-script.ksh'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.la' and mime_type = 'audio/nspaudio'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.la' and mime_type = 'audio/x-nspaudio'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.lam' and mime_type = 'audio/x-liveaudio'; update afw_13_mime_type set ref_type_fichr = null where ext = '.latex' and mime_type = 'application/x-latex'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lha' and mime_type = 'application/lha'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lha' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lha' and mime_type = 'application/x-lha'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lhx' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.list' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.lma' and mime_type = 'audio/nspaudio'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.lma' and mime_type = 'audio/x-nspaudio'; update afw_13_mime_type set ref_type_fichr = null where ext = '.log' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lsp' and mime_type = 'application/x-lisp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lsp' and mime_type = 'text/x-script.lisp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lst' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lsx' and mime_type = 'text/x-la-asf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ltx' and mime_type = 'application/x-latex'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lzh' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lzh' and mime_type = 'application/x-lzh'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lzx' and mime_type = 'application/lzx'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lzx' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.lzx' and mime_type = 'application/x-lzx'; update afw_13_mime_type set ref_type_fichr = null where ext = '.m' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.m' and mime_type = 'text/x-m'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.m1v' and mime_type = 'video/mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.m2a' and mime_type = 'audio/mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.m2v' and mime_type = 'video/mpeg'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.m3u' and mime_type = 'audio/x-mpequrl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.man' and mime_type = 'application/x-troff-man'; update afw_13_mime_type set ref_type_fichr = null where ext = '.map' and mime_type = 'application/x-navimap'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mar' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mbd' and mime_type = 'application/mbedlet'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mc$' and mime_type = 'application/x-magic-cap-package-1.0'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mcd' and mime_type = 'application/mcad'; update afw_13_mime_type set ref_type_fichr = null where ext = '.mcd' and mime_type = 'application/x-mathcad'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.mcf' and mime_type = 'image/vasa'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pko' and mime_type = 'application/vnd.ms-pki.pko'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pl' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pl' and mime_type = 'text/x-script.perl'; update afw_13_mime_type set ref_type_fichr = null where ext = '.plx' and mime_type = 'application/x-pixclscript'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.pm' and mime_type = 'image/x-xpixmap'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pm' and mime_type = 'text/x-script.perl-module'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pm4' and mime_type = 'application/x-pagemaker'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pm5' and mime_type = 'application/x-pagemaker'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.png' and mime_type = 'image/png'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pnm' and mime_type = 'application/x-portable-anymap'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.pnm' and mime_type = 'image/x-portable-anymap'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pot' and mime_type = 'application/mspowerpoint'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pot' and mime_type = 'application/vnd.ms-powerpoint'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pov' and mime_type = 'model/x-pov'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ppa' and mime_type = 'application/vnd.ms-powerpoint'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.ppm' and mime_type = 'image/x-portable-pixmap'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pps' and mime_type = 'application/mspowerpoint'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pps' and mime_type = 'application/vnd.ms-powerpoint'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ppt' and mime_type = 'application/mspowerpoint'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ppt' and mime_type = 'application/powerpoint'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ppt' and mime_type = 'application/vnd.ms-powerpoint'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ppt' and mime_type = 'application/x-mspowerpoint'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ppz' and mime_type = 'application/mspowerpoint'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pre' and mime_type = 'application/x-freelance'; update afw_13_mime_type set ref_type_fichr = null where ext = '.prt' and mime_type = 'application/pro_eng'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ps' and mime_type = 'application/postscript'; update afw_13_mime_type set ref_type_fichr = null where ext = '.psd' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pvu' and mime_type = 'paleovu/x-pv'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pwz' and mime_type = 'application/vnd.ms-powerpoint'; update afw_13_mime_type set ref_type_fichr = null where ext = '.py' and mime_type = 'text/x-script.phyton'; update afw_13_mime_type set ref_type_fichr = null where ext = '.pyc' and mime_type = 'applicaiton/x-bytecode.python'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.qcp' and mime_type = 'audio/vnd.qcelp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.qd3' and mime_type = 'x-world/x-3dmf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.qd3d' and mime_type = 'x-world/x-3dmf'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.qif' and mime_type = 'image/x-quicktime'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.qt' and mime_type = 'video/quicktime'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.qtc' and mime_type = 'video/x-qtc'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.qti' and mime_type = 'image/x-quicktime'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.qtif' and mime_type = 'image/x-quicktime'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.ra' and mime_type = 'audio/x-pn-realaudio'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.ra' and mime_type = 'audio/x-pn-realaudio-plugin'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.ra' and mime_type = 'audio/x-realaudio'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.ram' and mime_type = 'audio/x-pn-realaudio'; update afw_13_mime_type set ref_type_fichr = null where ext = '.ras' and mime_type = 'application/x-cmu-raster'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.ras' and mime_type = 'image/cmu-raster'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.ras' and mime_type = 'image/x-cmu-raster'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.rast' and mime_type = 'image/cmu-raster'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rexx' and mime_type = 'text/x-script.rexx'; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_13_mime_type'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_13_mime_type'); update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.rf' and mime_type = 'image/vnd.rn-realflash'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.rgb' and mime_type = 'image/x-rgb'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rm' and mime_type = 'application/vnd.rn-realmedia'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.rm' and mime_type = 'audio/x-pn-realaudio'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.rmi' and mime_type = 'audio/mid'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.rmm' and mime_type = 'audio/x-pn-realaudio'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.rmp' and mime_type = 'audio/x-pn-realaudio'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.rmp' and mime_type = 'audio/x-pn-realaudio-plugin'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rng' and mime_type = 'application/ringing-tones'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rng' and mime_type = 'application/vnd.nokia.ringing-tone'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rnx' and mime_type = 'application/vnd.rn-realplayer'; update afw_13_mime_type set ref_type_fichr = null where ext = '.roff' and mime_type = 'application/x-troff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.rp' and mime_type = 'image/vnd.rn-realpix'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.rpm' and mime_type = 'audio/x-pn-realaudio-plugin'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rt' and mime_type = 'text/richtext'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rt' and mime_type = 'text/vnd.rn-realtext'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rtf' and mime_type = 'application/rtf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rtf' and mime_type = 'application/x-rtf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rtf' and mime_type = 'text/richtext'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rtx' and mime_type = 'application/rtf'; update afw_13_mime_type set ref_type_fichr = null where ext = '.rtx' and mime_type = 'text/richtext'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.rv' and mime_type = 'video/vnd.rn-realvideo'; update afw_13_mime_type set ref_type_fichr = null where ext = '.s' and mime_type = 'text/x-asm'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.s3m' and mime_type = 'audio/s3m'; update afw_13_mime_type set ref_type_fichr = null where ext = '.saveme' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vrml' and mime_type = 'x-world/x-vrml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vrt' and mime_type = 'x-world/x-vrt'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vsd' and mime_type = 'application/x-visio'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vst' and mime_type = 'application/x-visio'; update afw_13_mime_type set ref_type_fichr = null where ext = '.vsw' and mime_type = 'application/x-visio'; update afw_13_mime_type set ref_type_fichr = null where ext = '.w60' and mime_type = 'application/wordperfect6.0'; update afw_13_mime_type set ref_type_fichr = null where ext = '.w61' and mime_type = 'application/wordperfect6.1'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(2, 'Update') where ext = '.w6w' and mime_type = 'application/msword'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.wav' and mime_type = 'audio/wav'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(22, 'Update') where ext = '.wav' and mime_type = 'audio/x-wav'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wb1' and mime_type = 'application/x-qpro'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.wbmp' and mime_type = 'image/vnd.wap.wbmp'; update afw_13_mime_type set ref_type_fichr = null where ext = '.web' and mime_type = 'application/vnd.xara'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(2, 'Update') where ext = '.wiz' and mime_type = 'application/msword'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wk1' and mime_type = 'application/x-123'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wmf' and mime_type = 'windows/metafile'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wml' and mime_type = 'text/vnd.wap.wml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wmlc' and mime_type = 'application/vnd.wap.wmlc'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wmls' and mime_type = 'text/vnd.wap.wmlscript'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wmlsc' and mime_type = 'application/vnd.wap.wmlscriptc'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(2, 'Update') where ext = '.word' and mime_type = 'application/msword'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wp' and mime_type = 'application/wordperfect'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wp5' and mime_type = 'application/wordperfect'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wp5' and mime_type = 'application/wordperfect6.0'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wp6' and mime_type = 'application/wordperfect'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wpd' and mime_type = 'application/wordperfect'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wpd' and mime_type = 'application/x-wpwin'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wq1' and mime_type = 'application/x-lotus'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wri' and mime_type = 'application/mswrite'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wri' and mime_type = 'application/x-wri'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wrl' and mime_type = 'application/x-world'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wrl' and mime_type = 'model/vrml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wrl' and mime_type = 'x-world/x-vrml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wrz' and mime_type = 'model/vrml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wrz' and mime_type = 'x-world/x-vrml'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wsc' and mime_type = 'text/scriplet'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wsrc' and mime_type = 'application/x-wais-source'; update afw_13_mime_type set ref_type_fichr = null where ext = '.wtk' and mime_type = 'application/x-wintalk'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.xbm' and mime_type = 'image/x-xbitmap'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.xbm' and mime_type = 'image/x-xbm'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.xbm' and mime_type = 'image/xbm'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(5, 'Update') where ext = '.xdr' and mime_type = 'video/x-amt-demorun'; update afw_13_mime_type set ref_type_fichr = null where ext = '.xgz' and mime_type = 'xgl/drawing'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(1, 'Update') where ext = '.xif' and mime_type = 'image/vnd.xiff'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xl' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xla' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xla' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xla' and mime_type = 'application/x-msexcel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlb' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlb' and mime_type = 'application/vnd.ms-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlb' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlc' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlc' and mime_type = 'application/vnd.ms-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlc' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xld' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xld' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlk' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlk' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xll' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xll' and mime_type = 'application/vnd.ms-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xll' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlm' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlm' and mime_type = 'application/vnd.ms-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlm' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xls' and mime_type = 'application/excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xls' and mime_type = 'application/x-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xlsx' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(4, 'Update') where ext = '.rar' and mime_type = 'application/x-compressed'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(23, 'Update') where ext = '.sql' and mime_type = 'text/plain'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(2, 'Update') where ext = '.docx' and mime_type = 'application/octet-stream'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.xls' and mime_type = 'application/vnd.ms-excel'; update afw_13_mime_type set ref_type_fichr = afw$migrt$pkg.obten_var_type_fichr(21, 'Update') where ext = '.csv' and mime_type = 'text/csv'; declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_mime_type; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_mime_type'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_mime_type'); end; / prompt ......detl_domn_valr begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$14_detl_domn_valr; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_14_detl_domn_valr'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_14_detl_domn_valr'); end; / prompt ......group_stat begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_group_stat; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_group_stat'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_group_stat'); end; / prompt ......lang begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_lang; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_lang'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_lang'); end; / prompt ......engin begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$25_engin; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_engin'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_engin'); end; / prompt ......dosr_virtl begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_dosr_virtl; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_dosr_virtl'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_dosr_virtl'); end; / prompt ......group_publc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$25_group_publc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_group_publc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_group_publc'); end; / prompt ......prodt_lang begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$11_prodt_lang; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_prodt_lang'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_prodt_lang'); end; / prompt ......lang_lang begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_lang_lang; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_lang_lang'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_lang_lang'); end; / prompt ......empla_dosr_virtl begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_empla_dosr_virtl; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_empla_dosr_virtl'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_empla_dosr_virtl'); end; / prompt ......mesg_tradc_apex begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_mesg_tradc_apex; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_mesg_tradc_apex'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_mesg_tradc_apex'); end; / prompt ......formt_resrc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_formt_resrc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_formt_resrc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_formt_resrc'); end; / prompt ......patrn_rechr begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$23_patrn_rechr; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_23_patrn_rechr'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_23_patrn_rechr'); end; / prompt ......mesg begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_mesg; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_mesg'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_mesg'); end; / prompt ......mesg_lang begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_mesg_lang; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_mesg_lang'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_mesg_lang'); end; / prompt ......mesg_err_lie begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_mesg_err_lie; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_mesg_err_lie'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_mesg_err_lie'); end; / prompt ......struc_aplic begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(53, 'Update'), ref_page_liste = afw$migrt$pkg.obten_var_page(52, 'Update') where code = 'PAGE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(64, 'Update'), ref_page_liste = afw$migrt$pkg.obten_var_page(63, 'Update') where code = 'PREFR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'STRUC_ADMIN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ITEM_MENU'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'PLUGN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'SIE_14_POPUP_LOV_IR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'REGN_PILTB'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TRADC_REGN_PILTB'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'APLIC'; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_12_struc_aplic'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_12_struc_aplic'); update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TYPE_ITEM_MENU'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'DOMN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'RESRC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TYPE_PARMT_PUBLC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'GROUP_STAT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ELEMN_CONFG_PUBLC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'POPUP_LOV_IR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'POPUP_LOV_IR_FILTR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'EVENM_NOTFB'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MESG'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'OPERT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'PAGE_PLUGN_CALND'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ENGIN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'LIAIS_MESG'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'GROUP_OPERT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(99, 'Update'), ref_page_liste = null where code = 'VERSN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'SECTN_DOCMN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'GROUP_UTILS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TYPE_PUBLC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'PLUGN_ARBRE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'CLE_FONCT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MENU'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'STRUC_APLIC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'LICNS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MODL'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'SOUS_MODL'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TRAVL'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'PUBLC_TRAVL'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'CODE_UTILS_OUBLI'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'REQT_OBTEN_CODE_UTILS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'REQT_ACTIV_COMPT_UTILS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ACUEI_APLIC_SAFD'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ACUEI_APLIC_SAFP'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ACUEI_APLIC_SAFU'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ACUEI_APLIC_SAFS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(79, 'Update'), ref_page_liste = afw$migrt$pkg.obten_var_page(77, 'Update') where code = 'DOMN_VALR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(81, 'Update'), ref_page_liste = afw$migrt$pkg.obten_var_page(80, 'Update') where code = 'TYPE_DOMN_VALR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(65, 'Update'), ref_page_liste = null where code = 'INSTA_PREFR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MOTR_PDF'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'JOURN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'FONCT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TRACE_EXECT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'CODE_ORACL'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MESG_APEX'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'LISTE_NAVGT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'CONDT_PILTB'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'RAPRT_INTER'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TRADC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'VALR_RETR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'EXPOR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'STRUC_APLIC_STAT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'STRUC_APLIC_TRADC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AUTOR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'DECLN_PILE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'LANG'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'EXTEN_ARBRE_NOEUD'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'EXTEN_MENU'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ENGIN_VERSN_PUBLC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'FORMT_RESRC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'OCURN_RESRC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'DOSR_VIRTL'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'CONDT_EXEC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'SAFP_EVENM_NOTFB'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'DEPLM_RESRC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'IDENT_ACCES'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ATRIB_EVENM_NOTFB'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MODL_RECHR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'DESTN_CONFG_EVENM_NOTFB'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ETUDE_IMPAC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AIDE_PAGE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'GROUP_PUBLC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_DOCMN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'COMPT_NOTFC_SMS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'SIE_11_APLIC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'PRODT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ITEM'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TYPE_AFICH'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'PATRN_RECHR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ACCES_APLIC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'CHAMP_PUBLC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(108, 'Update'), ref_page_liste = afw$migrt$pkg.obten_var_page(107, 'Update') where code = 'ENTIT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'GROUP_DROIT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'POPUP_LOV_IR_SAFD'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'DEFNT_EVENM_NOTFB'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'PUBLC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'IMPRE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'VERSN_PUBLC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'SYSTM'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MENU_SAFS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ITEM_MENU_SAFS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MODL_PARMT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'COMNT_BOGUE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'CONFG_EVENM_NOFTB'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'DESTN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'CARNT_SYSTM'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'APLIC_MODL_RECHR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'DETL_APLIC_MODL_RECHR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'RESLT_RECHR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'DETL_DOMN_VALR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ELEMN_CONFG_EVENM_NOTFB'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'RESLT_DESTN'; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_12_struc_aplic'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_12_struc_aplic'); update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'REQT_INTER_UTILS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'PROFL_COUR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'CONXN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MOT_PASSE_OUBLI'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'REINT_MOT_PASSE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'REQT_REINT_MOT_PASSE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'FORMT_REPNS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_GABRT_FORML'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'ACUEI_APLIC_SAF'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_COURL'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MEMBR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TYPE_STRUC_ADMIN'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'FILE_ATENT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'CLAS_INTER'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MODL_NOTFC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MODL_MESG_NOTFC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_MODL_COMNC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MODFR_MOT_PASSE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'MOT_PASSE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'HISTR_ACCES'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'COMPT_TELCP'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_ROLE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_ENVIR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_JALON_EQUIP'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_TACHE'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TACHE_EFORT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_LIEN_EQUIP'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(243, 'Update'), ref_page_liste = afw$migrt$pkg.obten_var_page(242, 'Update') where code = 'AFW_JALON'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(240, 'Update'), ref_page_liste = afw$migrt$pkg.obten_var_page(239, 'Update') where code = 'AFW_EQUIP'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_DISPN_UTILS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_ROLE_UTILS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_SCHEM'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_DEFN_CAPTR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TEST_EN_INSCR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(149, 'Update'), ref_page_liste = afw$migrt$pkg.obten_var_page(148, 'Update') where code = 'AFW_FONCT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_ASURN_QUALT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_DOMN_FONCT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = afw$migrt$pkg.obten_var_page(150, 'Update'), ref_page_liste = null where code = 'LIEN_FONCT_STRUC_APLIC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'AFW_PRECN_REALS'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'FONCT_AFW'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'UTILS_AFW'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'TABL_BORD'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'GADGT_CATGR'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'GADGT_PARMT_RACRC'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'GADGT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'GADGT_PARMT'; update afw_12_struc_aplic set ref_mesg_err_suprs = null, ref_page_forml = null, ref_page_liste = null where code = 'LIEN_GADGT_PARMT_RACRC'; declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_struc_aplic; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_struc_aplic'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_struc_aplic'); end; / prompt ......evenm_notfb begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_evenm_notfb; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_evenm_notfb'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_evenm_notfb'); end; / prompt ......atrib_struc_aplic begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_MASQ_FORMT_REPNS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'LARGR_REPNS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOMBR_COLN_REPNS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOMBR_RANGE_REPNS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_AUTRE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_TYPE_CHAMP_AUTRE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOMBR_CARCT_AUTRE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_MASQ_FORMT_AUTRE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'LARGR_AUTRE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOMBR_COLN_AUTRE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOMBR_RANGE_AUTRE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DOMN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STAT_CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STAT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(123, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ENVIR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ENVIR_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_SCHEM_ENVIR_CIBLE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_CAPTR_DDL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(147, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_SCHEM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_SCHEM_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_NATR_OBJET' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_NATR_OBJET_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_EVENM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_VERL_SI_OBJET_NON_VERL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_12_atrib_struc_aplic'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_12_atrib_struc_aplic'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PRIS_CHARG_ENONC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_JOURN_ENONC_COMPL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_META_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_TACHE_PARNT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_NATR_TACHE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_COMNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_INSCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ENVIR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_PRIOR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_TACHE_ORIGN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'COMNT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_SIGNF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(151, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(150, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(150, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(150, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(150, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(150, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(150, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(150, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(150, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(150, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DNR_REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(150, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_AFICH_ERR_CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PROCD_IMPRE_ENTET_PDF_IR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PROCD_IMPRE_PIED_PAGE_PDF_IR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PROCD_PLPDF_COULR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_SUCS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_ECHEC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_FETCH' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_RANGE_SUPRM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_RANGE_INSER' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_AUCUN_DON_TROUV' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_TROP_DON_TROUV' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_AUDIT_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_AUDIT_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_AUDIT_SUPRS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'TAIL_TABL_EXTRA' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_EXTRA_TOUT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_GROUP_UTILS_ADMIN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_VERSN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'MESG_TOUT_DROIT_RESRV' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'JQUER_UI_CSS_SCOPE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_APLIC_ACUEI' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PAGE_ACUEI' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_APLIC_COMNT_BOGUE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_RANGE_SUPRM_SPECF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_RANGE_MODF_SPECF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_RANGE_INSER_SPECF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = afw$migrt$pkg.obten_var_atrib_struc_aplic(298, 'Update') where nom_coln = 'REF_MESG_TROP_DON_TROUV' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_TYPE_DOMN_VALR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_SYSTM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_SYSTM_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'ENONC_SOURC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'TYPE_DON' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'TYPE_DON_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SERVR_SORTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PORT_SORTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'AUTHE_METHD_SORTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'AUTHE_USAGR_SORTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_SSL_SORTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PORT_ENTRA' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'AUTHE_MDP_ENTRA' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'AUTHE_METHD_ENTRA' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_SSL_ENTRA' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DOMN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_ENVOY' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DOMN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DOMN_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PROTC_ENTRA' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_SURCH' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MODL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_AGREG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_DETRM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PIPLN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_12_atrib_struc_aplic'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_12_atrib_struc_aplic'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_ORGAN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'VERSN_BD_APLIC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_AUTHID_CURNT_UTILS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_TYPE_MODL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DNR_REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'TYPE_MESG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(31, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DOMN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(31, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(31, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_SURCH' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MODL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_DETRM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PIPLN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_ORGAN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_AUTHID_CURNT_UTILS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_VERSN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_MESG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_ORGAN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'POSTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'VALR_DEFT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PUBLC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DNR_REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_RETR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_SYSTM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_SYSTM_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_DOCMN_REFRC_VALR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_DOCMN_REFRC_CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS_RESPN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_SYSTM_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_CODE_SYSTM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_APEX' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_VERSN_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_LANG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'LANG_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'IDENT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = afw$migrt$pkg.obten_var_atrib_struc_aplic(739, 'Update') where nom_coln = 'REF_UTILS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = afw$migrt$pkg.obten_var_atrib_struc_aplic(353, 'Update') where nom_coln = 'REF_DV_TYPE_REQT_INTER' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_TYPE_REQT_INTER_CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_TYPE_REQT_INTER_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_DEBUT_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_FIN_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DOMN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'URL_INTER' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'APP_ID_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STRUC_APLIC_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_CODE_MESG_SUPRS_SPECF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_ERR_SUPRS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_CODE_MESG_ERR_SUPRS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_EXTRA_TOUT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_STRUC_ACCES_DON' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PAGE_FORML' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_FONCT_VALR_COURT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_DISPN_DOCMN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(114, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(114, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'IDENT_ACCES' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(114, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'IDENT_ACCES_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(114, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(114, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(114, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(114, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'MESG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_EVENM_NOTFB' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DOMN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'TITRE_MESG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'MESG_SMS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE_VALR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'VALR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DOMN_VALR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_12_atrib_struc_aplic'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_12_atrib_struc_aplic'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'VERSN_BD_APLIC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_TYPE_MODL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_FONCT_VALR_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_PACKG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(114, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DOSR_FICHR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PAGE_ACUEI' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_ECHEC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_RANGE_MODF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_APLIC_APEX' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_EXTRA_TOUT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_DERNR_MAJ_REFRN_APEX' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'MESG_TOUT_DROIT_RESRV' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = afw$migrt$pkg.obten_var_atrib_struc_aplic(327, 'Update') where nom_coln = 'REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(19, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_APEX' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STRUC_APLIC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PRISE_CHARG_SIE19' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PRISE_CHARG_SIE14_POPUP' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_ECHEC_SPECF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_AUCUN_DON_TROUV' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_SYSTM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_CODE_FORMT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(46, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'AUTHE_MDP_SORTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SERVR_ENTRA' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'AUTHE_USAGR_ENTRA' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'ADRES_ENVOY' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(117, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC_PRESN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_DEBUT_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_FIN_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'VALR_COURT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'VALR_ORGAN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT_DV' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_NATR_DESTN_CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_NATR_DESTN_VALR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_CONFG_EVENM_NOTFB' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DESTN_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_RESLT_DESTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_RESLT_DESTN_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ATRIB_SA_NOM_FORMT_CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ATRIB_SA_ADRES_DESTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ATRIB_SA_ADRES_DESTN_CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DESTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(115, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DNR_REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(115, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'IDENT_ACCES_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(115, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(115, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(115, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(115, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(115, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PRODT_COMNT_BOGUE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PAGE_COMNT_BOGUE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_AFICH_ERR_CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_SYSTM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_SUCS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_FETCH' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_RANGE_SUPRM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_AUCUN_DON_TROUV' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_TROP_DON_TROUV' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PAGE_ACUEI' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'TAIL_TABL_EXTRA' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_GROUP_UTILS_ADMIN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PROFL_COURL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'IDENT_ENVIR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_VERSN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT_AUTHE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'JQUER_UI_CSS_SCOPE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(19, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_MESG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(19, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'TYPE_MESG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(19, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_12_atrib_struc_aplic'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_12_atrib_struc_aplic'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PRISE_CHARG_SIE01' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PRISE_CHARG_SIE04' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_SUPRS_SPECF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PRISE_CHARG_SIE13_NAVGT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PRISE_CHARG_SIE18' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PAGE_RECHR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PRISE_CHARG_SIE13_CONFR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PREFX_MESG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_DERNR_MAJ_REFRN_APEX' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_SUCS_SPECF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_FETCH_SPECF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(19, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(19, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(19, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(19, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DNR_REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(19, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PUBLC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DNR_REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_VERSN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(35, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(31, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'MESG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(31, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PUBLC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_AGREG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DNR_REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(36, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MODL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SENS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_DOCMN_REFRC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS_RESPN_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(108, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'TAIL_TABL_EXTRA' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_FONCT_DESCR_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_CONFG_EVENM_NOTFB' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(114, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(114, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_TYPE_COMNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'OBJET' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(106, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_CODE_DOMN_VALR_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(112, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_TYPE_DON' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(104, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PAGE_LISTE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(33, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PAGE_CONXN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_NATR_DESTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DESTN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ATRIB_SA_NOM_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(79, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(115, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'IDENT_ACCES' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(115, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(115, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'FONCT_OBTEN_BASE_URL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PRODT_ACUEI' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PAGE_INEXS_MAJ_REFRN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_RANGE_INSER' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PROCD_EXPOR_METDN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DOSR_FICHR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PRODT_AUTHE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(9, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(19, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(1, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(144, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(144, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(137, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(137, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(137, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(137, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(137, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(137, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(137, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(137, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_EQUIP' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_EQUIP_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_JALON' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_JALON_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DEBUT_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'FIN_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'POURC_AFECT_EQUIP_JALON' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(139, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_TACHE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ROLE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ROLE_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'EFORT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_12_atrib_struc_aplic'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_12_atrib_struc_aplic'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_EFORT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(141, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(146, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ROLE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(146, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(146, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DEBUT_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(146, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'FIN_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(146, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(146, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(146, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(146, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(146, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_SIGNF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_COMPL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_COMPL_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CONTN_SOURCE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_SIGNL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS_SIGNL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS_SIGNL_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_MODE_SIGNL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_MODE_SIGNL_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PROFL_COURL_SIGNL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_P_COURL_SIGNL_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ENVIR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ENVIR_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_PRIOR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_PRIOR_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STAT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_TACHE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'COMNT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_META_APLIC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_META_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_APLIC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(140, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(142, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_EQUIP' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(142, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(142, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DEBUT_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(142, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'FIN_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(142, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'POURC_IMPLI_EQUIP' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(142, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(142, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(142, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(142, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(142, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(145, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(145, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(145, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DEBUT_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(145, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'EFORT_DISPN_SEMN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(145, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'FIN_EFECT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(145, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(145, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(145, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(145, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(145, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(143, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(143, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(143, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(143, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_PREVU' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(143, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(143, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(143, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(143, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(143, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(144, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(144, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(144, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(144, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(144, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(144, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_EVENM_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_COMPR_SI_VERL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_COMPR_SI_VERL_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(148, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_TYPE_DON_SAIS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_REPNS_OBLIG' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_INTER' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_REPNS_MULTP' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOMBR_MINM_OCURN_INTER' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOMBR_MAXM_OCURN_INTER' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_TYPE_CHAMP_REPNS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DOMN_VALR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOMBR_CARCT_REPNS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(122, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_FONCT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DOMN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_FONCT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DOMN_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_NUMR_VERSN_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_NUMR_APLIC_ACUEI' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_12_atrib_struc_aplic'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_12_atrib_struc_aplic'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_NUMR_PAGE_ACUEI' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_NUMR_APLIC_COMNT_BOGUE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(153, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_FONCT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(153, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STRUC_APLIC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(153, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(153, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(153, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(153, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_SIGNF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DESCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_INSCR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ENVIR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_ENVIR_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_PRIOR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_PRIOR_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STAT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_TACHE_ORIGN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'COMNT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_META_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_TACHE_PARNT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_NATR_TACHE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_NATR_TACHE_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_COMNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PRODT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_COMPL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_JALON' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_STAT_REALS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(154, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_MESG_RANGE_MODF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'COMPT_GENRL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PROCD_EXPOR_METDN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'IDENT_ENVIR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_PAGE_INEXS_MAJ_REFRN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_PAGE_COMNT_BOGUE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_ACTIF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_NOM_VERSN' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_NUMR_PAGE_COMNT_BOGUE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(86, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DNR_REF_PRODT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(153, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(153, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS_CODE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_UTILS_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_APLIC_APEX' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NUMR_PAGE_APEX' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_TRAIT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_TRAIT_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PROCD_PERSN_URL_APRES_AUTHE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(116, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PARMT_AUTHE_EXTER_AFW' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE_UTILS_BASE_DON' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'REF_DV_COMPL_MAXM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DERNR_DOMN_ACCES' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_ACTIF_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'PRENM' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'CODE_UTILS' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'MOT_PASSE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_VERL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_VERL_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_CHANG_MOT_PASSE' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DERNR_PRODT_ACCES' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_CREAT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'NOM_FORMT_COMNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'SEQNC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'COURL' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_CHANG_MOT_PASSE_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'UTILS_MODFC' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_ACTIF' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'DATE_EXPIR' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(182, 'Select'); update afw_12_atrib_struc_aplic set ref_atrib_struc_aplic = null where nom_coln = 'INDIC_ACTIF_FORMT' and ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(152, 'Select'); declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_atrib_struc_aplic; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_atrib_struc_aplic'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_atrib_struc_aplic'); end; / prompt ......fonct begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_fonct; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_fonct'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_fonct'); end; / prompt ......destn begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_destn; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_destn'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_destn'); end; / prompt ......hierc_aplic begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_hierc_aplic; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_hierc_aplic'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_hierc_aplic'); end; / prompt ......fonct_struc_aplic begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_fonct_struc_aplic; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_fonct_struc_aplic'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_fonct_struc_aplic'); end; / prompt ......struc_aplic_lang begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_struc_aplic_lang; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_struc_aplic_lang'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_struc_aplic_lang'); end; / prompt ......reslt_destn begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_reslt_destn; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_reslt_destn'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_reslt_destn'); end; / prompt ......resrc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_resrc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_resrc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_resrc'); end; / prompt ......type_publc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$25_type_publc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_type_publc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_type_publc'); end; / prompt ......parmt_type_publc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$25_parmt_type_publc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_parmt_type_publc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_parmt_type_publc'); end; / prompt ......ocurn_resrc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_ocurn_resrc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_ocurn_resrc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_ocurn_resrc'); end; / prompt ......elemn_confg_publc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$25_elemn_confg_publc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_elemn_confg_publc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_elemn_confg_publc'); end; / prompt ......publc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$25_publc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_publc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_publc'); end; / prompt ......versn_publc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$25_versn_publc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_versn_publc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_versn_publc'); end; / prompt ......engin_versn_publc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$25_engin_versn_publc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_engin_versn_publc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_25_engin_versn_publc'); end; / prompt ......opert begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_opert; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_opert'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_opert'); end; / prompt ......opert_optio begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_opert_optio; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_opert_optio'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_opert_optio'); end; / prompt ......group_utils begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_group_utils; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_group_utils'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_group_utils'); end; / prompt ......lien_group_utils begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_lien_group_utils; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_lien_group_utils'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_lien_group_utils'); end; / prompt ......defnt_acces begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_defnt_acces; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_defnt_acces'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_defnt_acces'); end; / prompt ......stat begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_stat; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_stat'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_stat'); end; / prompt ......evolt_stat begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$12_evolt_stat; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_evolt_stat'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_12_evolt_stat'); end; / prompt ......menu begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_menu; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_menu'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_menu'); end; / prompt ......item_menu begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(89, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(182, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'GROUP' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','ITEM',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(118, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(158, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'UTILS' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(105, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(134, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'DOSR_VIRTL' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(106, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'EXTNS' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(106, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(77, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'DOMN_VALR' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(68, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'STRUC_LOGCL' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(83, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'LANG' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(5, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(80, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'TYPE' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(75, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'GROUP_STAT' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(63, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'PREF' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(72, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'OPERT' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(68, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'STRUC_APLIC' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(117, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(217, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'NOTFC_SMS' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'INFOR_UTILS' and ref_menu = afw$migrt$pkg.obten_var_menu(5, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','ITEM',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(29, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'DECNX' and ref_menu = afw$migrt$pkg.obten_var_menu(5, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(117, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'NOTFC' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(117, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(197, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'COURL' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(117, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(219, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'COMPT_TELCP' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(83, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(215, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'MODL_COMNC' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(181, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(201, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'CLAS_INTER' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(83, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(208, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'MODL_AFICH' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(116, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(177, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'UTILS' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(116, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(184, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'STRUC_ADMIN' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(116, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(192, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'AUTOR' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(90, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(190, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'TYPE' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(109, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(111, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'TYPE_PUBLC' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(109, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(116, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'PUBLC' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(109, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(114, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'GROUP_PUBLC' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(108, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(74, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'AUTOR' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(108, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(66, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'GROUP_DROIT' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(130, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(39, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'JOURNL' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(130, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(137, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'CONDT_EXEC' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(107, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(42, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'MESG' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(107, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(40, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'LIAIS' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(100, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(50, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'TRADC_APEX' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(100, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(49, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'CODE_EREUR_ORACL' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(105, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(126, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'RESRC' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(126, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'RESRC_SUPR' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(48, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'SYSTM' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(42, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'MESG_SUPR' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(74, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'SECRT_SUPR' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(116, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'RAPRT_SUPR' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_13_item_menu'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_13_item_menu'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(4, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(89, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'CALND' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(98, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(46, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'TRACE_EXECT' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(130, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(82, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'DECLN_PILE' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','ITEM',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(147, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'ZONE_DECNX' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'INFOR_UTILS' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','ITEM',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(114, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'ZONE_DECNX' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(192, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'SECRT' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(174, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'ADMIN' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(158, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'SECRT' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(154, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'RAPRT' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(119, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(154, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'IMPRE' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'INFOR_UTILS' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','ITEM',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(121, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'ZONE_DECNX' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(109, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(109, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'ENGIN' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(140, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'EVENM_NOTFB' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(83, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(213, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'MODL_MESG_NOTFC' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(142, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'DESTN' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(117, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(193, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'MODL_RECHR' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(83, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(221, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'EVENM_NOTFB' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(118, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(153, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'RECHR_UTILS' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'ADMIN' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(181, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(199, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'FIL_ATENT' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(4, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(86, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'ARBOR' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(121, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'ACTIO_AIDE_PAGE' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(114, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'ACTIO_AIDE_PAGE' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(142, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'DOMN_SESN' and ref_menu = afw$migrt$pkg.obten_var_menu(4, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(147, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'DOMN_SESN' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(114, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'DOMN_SESN' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(121, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'DOMN_SESN' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(34, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'MENU' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(142, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'ACTIO_AIDE_PAGE' and ref_menu = afw$migrt$pkg.obten_var_menu(4, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(147, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'ACTIO_AIDE_PAGE' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'INFOR_UTILS' and ref_menu = afw$migrt$pkg.obten_var_menu(4, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','ITEM',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(142, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'DECNX' and ref_menu = afw$migrt$pkg.obten_var_menu(4, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(89, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(226, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'REQT_INTER_UTILS' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(4, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(93, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'EXTEN_MENU' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'DOMN' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','PL/SQL',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = null, ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'INFOR_UTILS' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(116, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(230, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'FONCT' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(148, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'FONCT' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(106, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(19, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'APLIC' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(146, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(227, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'FORMT_REPNS' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(142, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'MODFR_MOT_PASSE' and ref_menu = afw$migrt$pkg.obten_var_menu(4, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(147, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'MODFR_MOT_PASSE' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(121, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'MODFR_MOT_PASSE' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select'); update afw_13_item_menu set ref_aplic = null, ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = null, ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(114, 'Update'), ref_ocurn_resrc = null, ref_page = null, ref_resrc = null, ref_struc_aplic = null where code = 'MODFR_MOT_PASSE' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(117, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(197, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'PROFL_COURL' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(146, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(230, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'LISTE_NAVGT_DOMN' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(106, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(1086, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'TABL_BORD' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(582, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(1088, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'GADGT_CATGR' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(582, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(1092, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'GADGT' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(582, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(1090, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'GADGT_PARMT_RACRC' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(108, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(1387, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'SECRT_VUE_GLOBL' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select'); update afw_13_item_menu set ref_aplic = afw$migrt$pkg.obten_var_aplic(7, 'Update'), ref_dv_valr_insta_condt_afich = null, ref_dv_valr_insta_libl = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_reqst = null, ref_dv_valr_sapc = afw_14_domn_valr_pkg.obten_seqnc('VALR_INSTA_SAFP','VALR_FIXE',afw$migrt$pkg.vva_code_prodt), ref_dv_valr_sapi = null, ref_dv_valr_scpc = null, ref_dv_valr_scpi = null, ref_dv_valr_snpi = null, ref_dv_valr_sspc = null, ref_dv_valr_sspi = null, ref_dv_valr_url = null, ref_formt_resrc = null, ref_item_menu = afw$migrt$pkg.obten_var_item_menu(89, 'Update'), ref_ocurn_resrc = null, ref_page = afw$migrt$pkg.obten_var_page(1398, 'Update'), ref_resrc = null, ref_struc_aplic = null where code = 'SECRT_VUE_GLOBL' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select'); declare vnu_count pls_integer; begin select count(1) into vnu_count from em$13_item_menu; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_item_menu'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_13_item_menu'); end; / prompt ......plugn_menu begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_21_plugn_menu set ref_dv_coulr_princ = afw_14_domn_valr_pkg.obten_seqnc('COULR_PRINC','BLEU_SIE',afw$migrt$pkg.vva_code_prodt), ref_dv_coulr_theme = afw_14_domn_valr_pkg.obten_seqnc('COULR_THEME','CLAIR',afw$migrt$pkg.vva_code_prodt), ref_dv_formt_menu = afw_14_domn_valr_pkg.obten_seqnc('FORMT_MENU','COMPL',afw$migrt$pkg.vva_code_prodt), ref_dv_orien_menu = afw_14_domn_valr_pkg.obten_seqnc('ORIEN_MENU','HORZT',afw$migrt$pkg.vva_code_prodt), ref_dv_type_menu = null where code = 'MENU_ACUEI' and ref_menu = afw$migrt$pkg.obten_var_menu(4, 'Select') and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; update afw_21_plugn_menu set ref_dv_coulr_princ = afw_14_domn_valr_pkg.obten_seqnc('COULR_PRINC','BLEU_SIE',afw$migrt$pkg.vva_code_prodt), ref_dv_coulr_theme = afw_14_domn_valr_pkg.obten_seqnc('COULR_THEME','CLAIR',afw$migrt$pkg.vva_code_prodt), ref_dv_formt_menu = afw_14_domn_valr_pkg.obten_seqnc('FORMT_MENU','COMPL',afw$migrt$pkg.vva_code_prodt), ref_dv_orien_menu = afw_14_domn_valr_pkg.obten_seqnc('ORIEN_MENU','HORZT',afw$migrt$pkg.vva_code_prodt), ref_dv_type_menu = afw_14_domn_valr_pkg.obten_seqnc('TYPE_MENU','PRODT',afw$migrt$pkg.vva_code_prodt) where code = 'MENU_PRINC_SAFD' and ref_menu = afw$migrt$pkg.obten_var_menu(1, 'Select') and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; update afw_21_plugn_menu set ref_dv_coulr_princ = afw_14_domn_valr_pkg.obten_seqnc('COULR_PRINC','BLEU_SIE',afw$migrt$pkg.vva_code_prodt), ref_dv_coulr_theme = afw_14_domn_valr_pkg.obten_seqnc('COULR_THEME','CLAIR',afw$migrt$pkg.vva_code_prodt), ref_dv_formt_menu = afw_14_domn_valr_pkg.obten_seqnc('FORMT_MENU','COMPL',afw$migrt$pkg.vva_code_prodt), ref_dv_orien_menu = afw_14_domn_valr_pkg.obten_seqnc('ORIEN_MENU','HORZT',afw$migrt$pkg.vva_code_prodt), ref_dv_type_menu = afw_14_domn_valr_pkg.obten_seqnc('TYPE_MENU','PRODT',afw$migrt$pkg.vva_code_prodt) where code = 'MENU_PRINC_SAFU' and ref_menu = afw$migrt$pkg.obten_var_menu(2, 'Select') and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; update afw_21_plugn_menu set ref_dv_coulr_princ = afw_14_domn_valr_pkg.obten_seqnc('COULR_PRINC','BLEU_SIE',afw$migrt$pkg.vva_code_prodt), ref_dv_coulr_theme = afw_14_domn_valr_pkg.obten_seqnc('COULR_THEME','CLAIR',afw$migrt$pkg.vva_code_prodt), ref_dv_formt_menu = afw_14_domn_valr_pkg.obten_seqnc('FORMT_MENU','COMPL',afw$migrt$pkg.vva_code_prodt), ref_dv_orien_menu = afw_14_domn_valr_pkg.obten_seqnc('ORIEN_MENU','HORZT',afw$migrt$pkg.vva_code_prodt), ref_dv_type_menu = afw_14_domn_valr_pkg.obten_seqnc('TYPE_MENU','PRODT',afw$migrt$pkg.vva_code_prodt) where code = 'MENU_PRINC_SAFP' and ref_menu = afw$migrt$pkg.obten_var_menu(3, 'Select') and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; update afw_21_plugn_menu set ref_dv_coulr_princ = afw_14_domn_valr_pkg.obten_seqnc('COULR_PRINC','BLEU_SIE',afw$migrt$pkg.vva_code_prodt), ref_dv_coulr_theme = afw_14_domn_valr_pkg.obten_seqnc('COULR_THEME','CLAIR',afw$migrt$pkg.vva_code_prodt), ref_dv_formt_menu = afw_14_domn_valr_pkg.obten_seqnc('FORMT_MENU','COMPL',afw$migrt$pkg.vva_code_prodt), ref_dv_orien_menu = afw_14_domn_valr_pkg.obten_seqnc('ORIEN_MENU','HORZT',afw$migrt$pkg.vva_code_prodt), ref_dv_type_menu = null where code = 'P0_MENU_SANS_CONTX' and ref_menu = afw$migrt$pkg.obten_var_menu(5, 'Select') and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; update afw_21_plugn_menu set ref_dv_coulr_princ = afw_14_domn_valr_pkg.obten_seqnc('COULR_PRINC','BLEU_SIE',afw$migrt$pkg.vva_code_prodt), ref_dv_coulr_theme = afw_14_domn_valr_pkg.obten_seqnc('COULR_THEME','CLAIR',afw$migrt$pkg.vva_code_prodt), ref_dv_formt_menu = afw_14_domn_valr_pkg.obten_seqnc('FORMT_MENU','COMPL',afw$migrt$pkg.vva_code_prodt), ref_dv_orien_menu = afw_14_domn_valr_pkg.obten_seqnc('ORIEN_MENU','HORZT',afw$migrt$pkg.vva_code_prodt), ref_dv_type_menu = afw_14_domn_valr_pkg.obten_seqnc('TYPE_MENU','PRODT',afw$migrt$pkg.vva_code_prodt) where code = 'P0_MENU_PILTB_SAFD' and ref_menu is null and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; update afw_21_plugn_menu set ref_dv_coulr_princ = afw_14_domn_valr_pkg.obten_seqnc('COULR_PRINC','BLEU_SIE',afw$migrt$pkg.vva_code_prodt), ref_dv_coulr_theme = afw_14_domn_valr_pkg.obten_seqnc('COULR_THEME','CLAIR',afw$migrt$pkg.vva_code_prodt), ref_dv_formt_menu = afw_14_domn_valr_pkg.obten_seqnc('FORMT_MENU','COMPL',afw$migrt$pkg.vva_code_prodt), ref_dv_orien_menu = afw_14_domn_valr_pkg.obten_seqnc('ORIEN_MENU','HORZT',afw$migrt$pkg.vva_code_prodt), ref_dv_type_menu = afw_14_domn_valr_pkg.obten_seqnc('TYPE_MENU','PRODT',afw$migrt$pkg.vva_code_prodt) where code = 'P0_MENU_PILTB_SAFU' and ref_menu is null and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; update afw_21_plugn_menu set ref_dv_coulr_princ = afw_14_domn_valr_pkg.obten_seqnc('COULR_PRINC','BLEU_SIE',afw$migrt$pkg.vva_code_prodt), ref_dv_coulr_theme = afw_14_domn_valr_pkg.obten_seqnc('COULR_THEME','CLAIR',afw$migrt$pkg.vva_code_prodt), ref_dv_formt_menu = afw_14_domn_valr_pkg.obten_seqnc('FORMT_MENU','COMPL',afw$migrt$pkg.vva_code_prodt), ref_dv_orien_menu = afw_14_domn_valr_pkg.obten_seqnc('ORIEN_MENU','HORZT',afw$migrt$pkg.vva_code_prodt), ref_dv_type_menu = afw_14_domn_valr_pkg.obten_seqnc('TYPE_MENU','PRODT',afw$migrt$pkg.vva_code_prodt) where code = 'P0_MENU_PILTB_SAFP' and ref_menu is null and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; declare vnu_count pls_integer; begin select count(1) into vnu_count from em$21_plugn_menu; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_menu'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_menu'); end; / prompt ......plugn_arbre begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$21_plugn_arbre; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_arbre'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_arbre'); end; / prompt ......plugn_item_menu begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(106, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(6, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(12, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(11, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(10, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(9, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(5, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(8, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(7, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(4, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(100, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(102, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(103, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(101, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(105, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(3, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(104, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(108, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(97, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(96, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(109, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(93, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(95, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(94, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(107, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(98, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(111, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(99, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(112, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(2, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(3, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','DROIT',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(121, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(3, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(118, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(3, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(119, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(3, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','GAUCH',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(116, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','GAUCH',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(117, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','DROIT',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(114, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(115, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(120, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(3, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(122, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(3, 'Select'); null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('afw_21_plugn_item_menu'); end; / begin if afw$migrt$pkg.vnu_sql_code = 0 then afw_03_journ_pkg.ecrir_journ('afw_21_plugn_item_menu'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(89, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(1, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(91, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(90, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(92, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(84, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(87, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(83, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(88, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(86, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(13, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(85, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','DROIT',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(147, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(113, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(125, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','GAUCH',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(143, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(1, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','DROIT',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(142, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(1, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(127, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(128, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','GAUCH',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(146, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(131, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(144, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(137, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(134, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(123, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(124, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(126, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','GAUCH',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_SIMPL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(130, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','GAUCH',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(30, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(5, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = afw_14_domn_valr_pkg.obten_seqnc('ALIGN_PLUGN_ITEM','DROIT',afw$migrt$pkg.vva_code_prodt), ref_dv_contn_item_menu = afw_14_domn_valr_pkg.obten_seqnc('CONTN_ITEM_MENU','COLN_DOUBL',afw$migrt$pkg.vva_code_prodt) where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(29, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(5, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(150, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(4, 'Select'); update afw_21_plugn_item_menu set ref_dv_align = null, ref_dv_contn_item_menu = null where ref_item_menu = afw$migrt$pkg.obten_var_item_menu(181, 'Select') and ref_plugn_menu = afw$migrt$pkg.obten_var_plugn_menu(2, 'Select'); declare vnu_count pls_integer; begin select count(1) into vnu_count from em$21_plugn_item_menu; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_item_menu'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_item_menu'); end; / prompt ......plugn_arbre_noeud begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$21_plugn_arbre_noeud; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_arbre_noeud'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_arbre_noeud'); end; / prompt ......plugn_calnd begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_21_plugn_calnd set ref_dv_vue_deft = afw_14_domn_valr_pkg.obten_seqnc('VUE_DISPN_CALND','JOUR',afw$migrt$pkg.vva_code_prodt) where code = '61' and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; update afw_21_plugn_calnd set ref_dv_vue_deft = afw_14_domn_valr_pkg.obten_seqnc('VUE_DISPN_CALND','SEMN_SIMPL',afw$migrt$pkg.vva_code_prodt) where code = '62' and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; update afw_21_plugn_calnd set ref_dv_vue_deft = afw_14_domn_valr_pkg.obten_seqnc('VUE_DISPN_CALND','JOUR',afw$migrt$pkg.vva_code_prodt) where code = '21' and ref_prodt = afw$migrt$pkg.vnu_seqnc_prodt; declare vnu_count pls_integer; begin select count(1) into vnu_count from em$21_plugn_calnd; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_calnd'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_21_plugn_calnd'); end; / prompt ......modl_afich_notfc begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_01_modl_afich_notfc set ref_formt_resrc_icon = null, ref_modl_comnc = afw$migrt$pkg.obten_var_modl_comnc(3, 'Update'), ref_ocurn_resrc_icon = null, ref_resrc_icon = null where code = 'ECRAN_IMPOR' and ref_domn is null; update afw_01_modl_afich_notfc set ref_formt_resrc_icon = null, ref_modl_comnc = afw$migrt$pkg.obten_var_modl_comnc(2, 'Update'), ref_ocurn_resrc_icon = null, ref_resrc_icon = null where code = 'SMS' and ref_domn is null; update afw_01_modl_afich_notfc set ref_formt_resrc_icon = null, ref_modl_comnc = afw$migrt$pkg.obten_var_modl_comnc(1, 'Update'), ref_ocurn_resrc_icon = null, ref_resrc_icon = null where code = 'COURL_BASE' and ref_domn is null; declare vnu_count pls_integer; begin select count(1) into vnu_count from em$01_modl_afich_notfc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_modl_afich_notfc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_01_modl_afich_notfc'); end; / prompt ......tabl_bord begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$37_tabl_bord; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_tabl_bord'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_tabl_bord'); end; / prompt ......gadgt_parmt_racrc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$37_gadgt_parmt_racrc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_gadgt_parmt_racrc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_gadgt_parmt_racrc'); end; / prompt ......gadgt_catgr begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$37_gadgt_catgr; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_gadgt_catgr'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_gadgt_catgr'); end; / prompt ......gadgt begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$37_gadgt; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_gadgt'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_gadgt'); end; / prompt ......gadgt_parmt begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$37_gadgt_parmt; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_gadgt_parmt'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_gadgt_parmt'); end; / prompt ......lien_gadgt_parmt_racrc begin if afw$migrt$pkg.vnu_sql_code = 0 then declare vnu_count pls_integer; begin select count(1) into vnu_count from em$37_lien_gadgt_parmt_racrc; if vnu_count > 0 then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_lien_gadgt_parmt_racrc'); end if; end; null; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_37_lien_gadgt_parmt_racrc'); end; / prompt ...Mise a jour du produit begin if afw$migrt$pkg.vnu_sql_code = 0 then update afw_11_prodt set indic_extra_tout = 'N', ref_group_utils_admin = null, dosr_fichr = '/res/afw/', ident_envir = 'Développement', ref_versn = afw$migrt$pkg.obten_var_versn(82, 'Update'), mesg_tout_droit_resrv = 'MIT', jquer_ui_css_scope = 'ui-afw', indic_afich_err_code = 'O', indic_page_inexs_maj_refrn = 'N', fonct_obten_base_url = null, ref_mesg_sucs = afw$migrt$pkg.obten_var_mesg(985, 'Update'), ref_mesg_echec = afw$migrt$pkg.obten_var_mesg(986, 'Update'), ref_mesg_fetch = afw$migrt$pkg.obten_var_mesg(966, 'Update'), ref_mesg_range_suprm = afw$migrt$pkg.obten_var_mesg(968, 'Update'), ref_mesg_range_modf = afw$migrt$pkg.obten_var_mesg(366, 'Update'), ref_mesg_range_inser = afw$migrt$pkg.obten_var_mesg(967, 'Update'), ref_mesg_aucun_don_trouv = afw$migrt$pkg.obten_var_mesg(367, 'Update'), ref_mesg_trop_don_trouv = afw$migrt$pkg.obten_var_mesg(241, 'Update'), ref_aplic_acuei = afw$migrt$pkg.obten_var_aplic(2, 'Update'), ref_page_acuei = afw$migrt$pkg.obten_var_page(7, 'Update'), ref_aplic_comnt_bogue = afw$migrt$pkg.obten_var_aplic(4, 'Update'), ref_page_comnt_bogue = afw$migrt$pkg.obten_var_page(22, 'Update'), procd_impre_entet_pdf_ir = null, procd_impre_pied_page_pdf_ir = null, procd_plpdf_coulr = null, compt_genrl = '0', domn_docmn_html = null, initl_comps_javsc = '//INTERACTIVE REPORT afw.jQuery("#apexir_rollover").appendTo("body");', note_scrip_pre_migrt = 'My...........................-//+ossyyssssoo++//:............................+MM My...........................+ddddhhhhddhyysssoo+-...........................+MM My.........................../yyyyyhhmNMyo+++ooo/-...........................+MM My...........................+sssssyyhmM++++oooo/-...........................+MM My...........................+ssssyyhhmM++ooooss/............................+MM My...........................+sssyyyhhmMooooosss/............................+MM My...........................oyyyyyyhhmMoooossss/--:::::///:::-..............+MM My...........................oyyyyyyhydN+++osooshddddmmmmmmmdddhhys-.........+MM My..........................-oyyyyyyysyhooossooymmmmmNNNNNmhysssssy-.........+MM My..............--::/+osoo+/+shhhhyyyyyyyyyyyyyyyssyddddmNyooooossy-.........+MM My.........:ossssyyysssyyyyhhyyhdddddddmmmmdso+++++oyhddmNyoooosssy-.........+MM My........./yyyhhhhhdddyoo++//+yyhhhhhhdNMMy+++++++oyhdmmNyooossssy+.........+MM My........./oooooooohmMh//////+yyyyyhhdmmNM++++++++osydddNyooossssy:.........+MM My.........:+ooooooshdNs//////+syyyyydmmmNM++++++++osydddNyoosssssy-.........+MM My.........:+ooooosyyhNs//////+ssssyhddddmM++++++++osyhhhNysssssssyo.........+MM My.........-+oooosssyyms+++++/+ssssyhhhhhmM++++++++oyyhhhNysssyyyyyhssysssssooMM My.......-:+oooossssssmsooooo++ossyyyyyyydN++++++++oyyhhhmysyyyssssmNMMMmho+:sMM My.-:/oymNMMyossssssssdoooooo/+osyyyyyyyydNo+++oooooyyyyhhssooooshmNmyo:-....+MM MhyhmNNMMMMMmhhyssssssy+++//+oosyyyyyyyyydmoooooososhhddddyyhdmmdy+:-........+MM My/+ooshhdmmmNNNNNNmmddhyhhdddhsyyyyyyyyhhhssssssssshmNNNMNmdyo:-............+MM My.....--:/+ossyhhmmmNMNmmmmmmdhhyyyhhhhhysssoo+++shmNNmds+/-................+MM My.............-::/+osyhdhmNNNNNNmmdddhhhyo++osyhdmdhs+:--...................+MM My.....................-:/++osyhddmNMMMMNMMNNNNdhy+/-........................+MM My...........................---:/+ooyhhmNNdhso/--...........................+MM MdoooooooooooooooooooooooooooooooooooossyyhhsooooooooooooooooooooooooooooooooyMM', note_scrip_post_migrt = null, procd_initl_sesn = null, fonct_migrt_persn = null where seqnc = afw$migrt$pkg.vnu_seqnc_prodt; end if; exception when others then afw$migrt$pkg.defnr_ereur ('Update sur afw_11_prodt'); end; / prompt ======================================== begin if afw$migrt$pkg.vnu_sql_code = 0 then commit; dbms_output.put_line ('Deploiement complete correctement'); else rollback; afw_13_condt_piltb_pkg.vbo_en_charg := false; dbms_output.put_line ('Une erreur est survenue lors de l''execution du script de deploiement.'); dbms_output.put_line ('Bloc : ' || afw$migrt$pkg.vva_nom_bloc_err); dbms_output.put_line ('Code : ' || afw$migrt$pkg.vnu_sql_code); dbms_output.put_line ('Message: ' || afw$migrt$pkg.vva_sql_errm); dbms_output.put_line ('Pile :'); dbms_output.put_line (afw$migrt$pkg.vva_back_trace); afw_03_journ_pkg.ecrir_journ (afw$migrt$pkg.vva_sql_errm); afw_03_journ_pkg.ecrir_journ (afw$migrt$pkg.vva_back_trace); end if; end; / begin if afw$migrt$pkg.vnu_sql_code <> 0 then raise_application_error (-20100, afw$migrt$pkg.vva_sql_errm); end if; end; / prompt ======================================== prompt Nettoyage des objets temporaires exec afw$migrt$pkg.suprm_table_tempr; drop package afw$migrt$pkg; begin afw_11_migrt_pkg.gva_indic_migrt := 'N'; end; / prompt ================================================================================ prompt ..._....___..___.__..__.___..___...._....__..__..___.__......__.___...___.._..__ prompt ../_\..| _ \| __|\ \/ /| __|| _ \../_\..| \/ || __|\ \ / // _ \ | _ \| |/ / prompt ./ _ \.| _/| _| > < | _|.| /./ _ \.| |\/| || _|..\ \/\/ /| (_) || /| < prompt /_/.\_\|_|..|___|/_/\_\|_|..|_|_\/_/.\_\|_|..|_||___|..\_/\_/..\___/.|_|_\|_|\_\ prompt ================================================================================ prompt "Never send a human to do a machine's job." -Agent Smith prompt ================================================================================
CREATE TABLE subdivision_BE (id VARCHAR(6) NOT NULL, name VARCHAR(255), level VARCHAR(64) NOT NULL, PRIMARY KEY(id)); INSERT INTO "subdivision_BE" ("id", "name", "level") VALUES (E'BE-VAN', E'Antwerpen', E'province'); INSERT INTO "subdivision_BE" ("id", "name", "level") VALUES (E'BE-BRU', E'Bryssel', E'capital region'); INSERT INTO "subdivision_BE" ("id", "name", "level") VALUES (E'BE-VOV', E'Östflandern', E'province'); INSERT INTO "subdivision_BE" ("id", "name", "level") VALUES (E'BE-VBR', E'Flamländska Brabant', E'province'); INSERT INTO "subdivision_BE" ("id", "name", "level") VALUES (E'BE-VLI', E'Limburg', E'province'); INSERT INTO "subdivision_BE" ("id", "name", "level") VALUES (E'BE-WLG', E'Liège', E'province'); INSERT INTO "subdivision_BE" ("id", "name", "level") VALUES (E'BE-WLX', E'Luxemburg', E'province'); INSERT INTO "subdivision_BE" ("id", "name", "level") VALUES (E'BE-WAL', E'Vallonien', E'region'); INSERT INTO "subdivision_BE" ("id", "name", "level") VALUES (E'BE-WBR', E'Vallonska Brabant', E'province'); INSERT INTO "subdivision_BE" ("id", "name", "level") VALUES (E'BE-VWV', E'Västflandern', E'province');
<reponame>admin-ch/CovidCertificate-Printing-Service<gh_stars>1-10 ALTER TABLE certificate_print_queue_item ALTER COLUMN status SET DATA TYPE varchar(20); ALTER TABLE certificate_print_queue_item ALTER COLUMN address_line1 SET DATA TYPE varchar(200); ALTER TABLE certificate_print_queue_item ALTER COLUMN address_line2 SET DATA TYPE varchar(200); ALTER TABLE certificate_print_queue_item ALTER COLUMN city SET DATA TYPE varchar(200); ALTER TABLE certificate_print_queue_item ALTER COLUMN language SET DATA TYPE varchar(2);
CREATE TABLE Area ( dtype varchar(20) not null, id SERIAL, latitude double precision, longitude double precision, name varchar(100) not null );
<filename>src/test/resources/sql/select/aebe9b0e.sql -- file:union.sql ln:117 expect:true (SELECT 1,2,3 UNION SELECT 4,5,6 ORDER BY 1,2) INTERSECT SELECT 4,5,6
{{ config(materialized='view') }} with source_data as ( select count(track_album_name) no_albums, track_album_name as album_name FROM {{ ref('spotify', 'playback_history') }} group by track_album_name ) select * from source_data order by no_albums desc
<filename>prime-router/src/main/resources/db/migration/V9__remove_sftp_legacy_receiver.sql<gh_stars>10-100 /* * The Flyway tool applies this migration to create the database. * * Follow this style guide https://about.gitlab.com/handbook/business-ops/data-team/platform/sql-style-guide/ * use VARCHAR(63) for names in organization and schema * * Copy a version of this comment into the next migration * */ /* * Remove the SFTP_LEGACY organization for IGNORE */ WITH ignore_org AS ( SELECT setting_id AS org_id FROM setting WHERE is_active = true AND type = 'ORGANIZATION' AND name = 'ignore' ) UPDATE setting SET is_active = false, is_deleted = true FROM ignore_org WHERE organization_id = ignore_org.org_id AND name = 'SFTP_LEGACY' AND is_active = true ;
-- start query 14 in stream 0 using template query14.tpl with cross_items as ( select i_item_sk ss_item_sk from item, ( --intersect block starts here select brand_id, class_id, category_id from ( select brand_id, class_id, category_id, sum(q5.c3) c3,count(*) c4 from ( select brand_id, class_id, category_id, 1 as c3 from ( select brand_id, class_id, category_id from ( select brand_id, class_id, category_id, q2.c3 c3, q2.c4 c4 from ( select brand_id, class_id, category_id, sum(q1.c3) c3,count(*) c4 from ( select iss.i_brand_id brand_id ,iss.i_class_id class_id ,iss.i_category_id category_id, 1 as c3 from store_sales ,item iss ,date_dim d1 where ss_item_sk = iss.i_item_sk and ss_sold_date_sk = d1.d_date_sk and ss_sold_date_sk between 2451180 and 2452275 and d1.d_year between 1999 AND 1999 + 2 union all select ics.i_brand_id brand_id ,ics.i_class_id class_id ,ics.i_category_id category_id, -1 as c3 from catalog_sales ,item ics ,date_dim d2 where cs_item_sk = ics.i_item_sk and cs_sold_date_sk = d2.d_date_sk and cs_sold_date_sk between 2451180 and 2452275 and d2.d_year between 1999 AND 1999 + 2 ) as q1 group by brand_id, class_id, category_id ) as q2 where ((q2.c4 - case when (q2.c3 >= 0) then q2.c3 else -(q2.c3) end) >= 2) ) as q3 ) as q4 union all -- intersect select iws.i_brand_id i_brand_id ,iws.i_class_id i_class_id ,iws.i_category_id i_category_id, -1 as c3 from web_sales ,item iws ,date_dim d3 where ws_item_sk = iws.i_item_sk and ws_sold_date_sk = d3.d_date_sk and ws_sold_date_sk between 2451180 and 2452275 and d3.d_year between 1999 AND 1999 + 2 ) as q5 group by brand_id, class_id, category_id ) as q6 where ((q6.c4 - case when (q6.c3 >= 0) then q6.c3 else -(q6.c3) end) >= 2) -- intersect block ends here ) x where i_brand_id = brand_id and i_class_id = class_id and i_category_id = category_id ), avg_sales as (select avg(quantity*list_price) average_sales from (select ss_quantity quantity ,ss_list_price list_price from store_sales ,date_dim where ss_sold_date_sk = d_date_sk and d_year between 1999 and 2001 and ss_sold_date_sk between 2451180 and 2452275 union all select cs_quantity quantity ,cs_list_price list_price from catalog_sales ,date_dim where cs_sold_date_sk = d_date_sk and d_year between 1998 and 2000 and cs_sold_date_sk between 2450815 and 2451910 union all select ws_quantity quantity ,ws_list_price list_price from web_sales ,date_dim where ws_sold_date_sk = d_date_sk and ws_sold_date_sk between 2450815 and 2451910 and d_year between 1998 and 1998 + 2) x) , results AS (select channel, i_brand_id, i_class_id, i_category_id, sum(sales) sum_sales, sum(number_sales) number_sales from ( select * from ( select * from (select channel, i_brand_id,i_class_id,i_category_id, sales, number_sales from (select 'store' channel, i_brand_id,i_class_id ,i_category_id,sum(ss_quantity*ss_list_price) sales , count(*) number_sales from store_sales ,item ,date_dim where ss_item_sk in (select ss_item_sk from cross_items) and ss_item_sk = i_item_sk and ss_sold_date_sk = d_date_sk and ss_sold_date_sk between 2451850 and 2451879 and d_year = 1998+2 and d_moy = 11 group by i_brand_id,i_class_id,i_category_id ) a1 cross join (select average_sales from avg_sales) a2 where a1.sales > a2.average_sales ) a12 ) a121 union all select * from (select * from (select channel, i_brand_id,i_class_id,i_category_id, sales, number_sales from ( select 'catalog' channel, i_brand_id,i_class_id,i_category_id, sum(cs_quantity*cs_list_price) sales, count(*) number_sales from catalog_sales ,item ,date_dim where cs_item_sk in (select ss_item_sk from cross_items) and cs_item_sk = i_item_sk and cs_sold_date_sk = d_date_sk and cs_sold_date_sk between 2451850 and 2451879 and d_year = 1998+2 and d_moy = 11 group by i_brand_id,i_class_id,i_category_id ) a1 cross join (select average_sales from avg_sales) a2 where a1.sales > a2.average_sales ) a12 ) a121 --having sum(cs_quantity*cs_list_price) > (select average_sales from avg_sales) union all select * from (select * from (select channel, i_brand_id,i_class_id,i_category_id, sales, number_sales from ( select 'web' channel, i_brand_id,i_class_id,i_category_id, sum(ws_quantity*ws_list_price) sales , count(*) number_sales from web_sales ,item ,date_dim where ws_item_sk in (select ss_item_sk from cross_items) and ws_item_sk = i_item_sk and ws_sold_date_sk = d_date_sk and ws_sold_date_sk between 2451850 and 2451879 and d_year = 1998+2 and d_moy = 11 group by i_brand_id,i_class_id,i_category_id ) a1 cross join (select average_sales from avg_sales) a2 where a1.sales > a2.average_sales ) a12 ) a121 --having sum(ws_quantity*ws_list_price) > (select average_sales from avg_sales) ) y group by channel, i_brand_id,i_class_id,i_category_id) select channel, i_brand_id, i_class_id, i_category_id, sum_sales, number_sales from ( select channel, i_brand_id, i_class_id, i_category_id, sum_sales, number_sales from results union select channel, i_brand_id, i_class_id, null as i_category_id, sum(sum_sales), sum(number_sales) from results group by channel, i_brand_id, i_class_id union select channel, i_brand_id, null as i_class_id, null as i_category_id, sum(sum_sales), sum(number_sales) from results group by channel, i_brand_id union select channel, null as i_brand_id, null as i_class_id, null as i_category_id, sum(sum_sales), sum(number_sales) from results group by channel union select null as channel, null as i_brand_id, null as i_class_id, null as i_category_id, sum(sum_sales), sum(number_sales) from results) z order by channel, i_brand_id, i_class_id, i_category_id limit 100 ; with cross_items as (select i_item_sk ss_item_sk from item, ( --intersect block starts here select brand_id, class_id, category_id from ( select brand_id, class_id, category_id, sum(q5.c3) c3,count(*) c4 from ( select brand_id, class_id, category_id, 1 as c3 from ( select brand_id, class_id, category_id from ( select brand_id, class_id, category_id, q2.c3 c3, q2.c4 c4 from ( select brand_id, class_id, category_id, sum(q1.c3) c3,count(*) c4 from ( select iss.i_brand_id brand_id ,iss.i_class_id class_id ,iss.i_category_id category_id, 1 as c3 from store_sales ,item iss ,date_dim d1 where ss_item_sk = iss.i_item_sk and ss_sold_date_sk = d1.d_date_sk and ss_sold_date_sk between 2451180 and 2452275 and d1.d_year between 1999 AND 1999 + 2 union all select ics.i_brand_id brand_id ,ics.i_class_id class_id ,ics.i_category_id category_id, -1 as c3 from catalog_sales ,item ics ,date_dim d2 where cs_item_sk = ics.i_item_sk and cs_sold_date_sk = d2.d_date_sk and cs_sold_date_sk between 2451180 and 2452275 and d2.d_year between 1999 AND 1999 + 2 ) as q1 group by brand_id, class_id, category_id ) as q2 where ((q2.c4 - case when (q2.c3 >= 0) then q2.c3 else -(q2.c3) end) >= 2) ) as q3 ) as q4 union all -- intersect select iws.i_brand_id i_brand_id ,iws.i_class_id i_class_id ,iws.i_category_id i_category_id, -1 as c3 from web_sales ,item iws ,date_dim d3 where ws_item_sk = iws.i_item_sk and ws_sold_date_sk = d3.d_date_sk and ws_sold_date_sk between 2451180 and 2452275 and d3.d_year between 1999 AND 1999 + 2 ) as q5 group by brand_id, class_id, category_id ) as q6 where ((q6.c4 - case when (q6.c3 >= 0) then q6.c3 else -(q6.c3) end) >= 2) -- intersect block ends here ) x where i_brand_id = brand_id and i_class_id = class_id and i_category_id = category_id ), avg_sales as (select avg(quantity*list_price) average_sales from (select ss_quantity quantity ,ss_list_price list_price from store_sales ,date_dim where ss_sold_date_sk = d_date_sk and d_year between 1998 and 1998 + 2 and ss_sold_date_sk between 2450815 and 2451910 union all select cs_quantity quantity ,cs_list_price list_price from catalog_sales ,date_dim where cs_sold_date_sk = d_date_sk and d_year between 1998 and 1998 + 2 and cs_sold_date_sk between 2450815 and 2451910 union all select ws_quantity quantity ,ws_list_price list_price from web_sales ,date_dim where ws_sold_date_sk = d_date_sk and ws_sold_date_sk between 2450815 and 2451910 and d_year between 1998 and 1998 + 2) x) select * from ( select t1.* from (select 'store' channel, i_brand_id,i_class_id,i_category_id ,sum(ss_quantity*ss_list_price) sales, count(*) number_sales from store_sales ,item ,date_dim ,avg_sales where ss_item_sk in (select ss_item_sk from cross_items) and ss_item_sk = i_item_sk and ss_sold_date_sk = d_date_sk and d_week_seq in (select d_week_seq from date_dim where d_year = 1998 + 1 and d_moy = 12 and d_dom = 16) group by i_brand_id,i_class_id,i_category_id ) t1, (select average_sales from avg_sales) t2 where t1.sales > t2.average_sales -- having sum(ss_quantity*ss_list_price) > (select average_sales from avg_sales)) this_year, -- having sum(ss_quantity*ss_list_price) > average_sales ) this_year, ( select t1.* from ( select 'store' channel, i_brand_id,i_class_id ,i_category_id, sum(ss_quantity*ss_list_price) sales, count(*) number_sales from store_sales ,item ,date_dim ,avg_sales where ss_item_sk in (select ss_item_sk from cross_items) and ss_item_sk = i_item_sk and ss_sold_date_sk = d_date_sk and d_week_seq in (select d_week_seq from date_dim where d_year = 1998 and d_moy = 12 and d_dom = 16) group by i_brand_id,i_class_id,i_category_id) t1, (select average_sales from avg_sales) t2 where t1.sales > t2.average_sales -- having sum(ss_quantity*ss_list_price) > (select average_sales from avg_sales)) last_year -- having sum(ss_quantity*ss_list_price) > average_sales ) last_year where this_year.i_brand_id= last_year.i_brand_id and this_year.i_class_id = last_year.i_class_id and this_year.i_category_id = last_year.i_category_id order by this_year.channel, this_year.i_brand_id, this_year.i_class_id, this_year.i_category_id limit 100 ; -- end query 14 in stream 0 using template query14.tpl
{# Returns an array of successfully executed models by name #} {% macro get_successful_models(models=[], run_results=results) -%} {% set successful_models = [] %} {# Remove the patch version from dbt version #} {% set dbt_version_trunc = dbt_version.split('.')[0:2]|join('.')|float %} {% if execute %} {% for res in run_results -%} {# Filter for models #} {% if res.node.unique_id.startswith('model.') %} {% set is_model_to_include = true if not models|length or res.node.name in models else false %} {# run_results schema changed between dbt v0.18 and v0.19 so different methods to define success #} {% if dbt_version_trunc <= 0.18 %} {% set skipped = true if res.status is none and res.skip else false %} {% set errored = true if res.status == 'ERROR' else false %} {% set success = true if not (skipped or errored) else false %} {% else %} {% set success = true if res.status == 'success' else false %} {% endif %} {% if success and is_model_to_include %} {%- do successful_models.append(res.node.name) -%} {% endif %} {% endif %} {% endfor %} {{ return(successful_models) }} {% endif %} {%- endmacro %}
IF OBJECT_ID('tSQLt.PrepareServer') IS NOT NULL DROP PROCEDURE tSQLt.PrepareServer; GO ---Build+ GO CREATE PROCEDURE tSQLt.PrepareServer AS BEGIN EXEC tSQLt.Private_EnableCLR; EXEC tSQLt.InstallAssemblyKey; END; GO ---Build- GO