{"id":439,"date":"2026-04-07T08:02:29","date_gmt":"2026-04-07T08:02:29","guid":{"rendered":"https:\/\/fhix.fr\/?p=439"},"modified":"2026-04-07T09:53:34","modified_gmt":"2026-04-07T09:53:34","slug":"comparer-2-bibliotheques-pour-chercher-les-fichiers-mis-a-niveau","status":"publish","type":"post","link":"https:\/\/fhix.fr\/index.php\/2026\/04\/07\/comparer-2-bibliotheques-pour-chercher-les-fichiers-mis-a-niveau\/","title":{"rendered":"Comparer 2 biblioth\u00e8ques pour chercher les fichiers mis \u00e0 niveau"},"content":{"rendered":"\n<p>Cette requ\u00eate SQL permet de mettre en \u00e9vidence les diff\u00e9rences de niveaux entre 2 biblioth\u00e8ques : <br><code><strong>SELECT<\/strong> <br>  a.SYSTEM_TABLE_NAME as fichier, <br>  a.SYSTEM_TABLE_SCHEMA as bib1,\u00a0a.FORMAT_LEVEL_ID as niv1, <br>  b.SYSTEM_TABLE_SCHEMA as bib2, b.FORMAT_LEVEL_ID\u00a0as niv2, <br>  (a.FORMAT_LEVEL_ID &lt;> b.FORMAT_LEVEL_ID) as upgraded<br><strong>FROM<\/strong> sysfiles a , sysfiles b\u00a0\u00a0<br><strong>WHERE<\/strong> <br>  a.system_table_schema = 'MABIB1' and\u00a0 <br>  b.system_table_schema = 'MABIB2' and<br>  a.native_type = 'PHYSICAL' and\u00a0<br>  a.SYSTEM_TABLE_NAME = b.SYSTEM_TABLE_NAME\u00a0<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"148\" src=\"https:\/\/fhix.fr\/wp-content\/uploads\/2026\/04\/image.png\" alt=\"\" class=\"wp-image-440\" srcset=\"https:\/\/fhix.fr\/wp-content\/uploads\/2026\/04\/image.png 540w, https:\/\/fhix.fr\/wp-content\/uploads\/2026\/04\/image-300x82.png 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/figure>\n\n\n\n<p>Pour n&rsquo;afficher que les fichiers qui ont chang\u00e9 de niveau :<br><code><code><strong>SELECT<\/strong> <br>  a.SYSTEM_TABLE_NAME as fichier, <br>  a.SYSTEM_TABLE_SCHEMA as bib1,\u00a0a.FORMAT_LEVEL_ID as niv1, <br>  b.SYSTEM_TABLE_SCHEMA as bib2, b.FORMAT_LEVEL_ID\u00a0as niv2<br><strong>FROM<\/strong> sysfiles a , sysfiles b\u00a0\u00a0<br><strong>WHERE<\/strong> <br>  a.system_table_schema = 'MABIB1' and\u00a0 <br>  b.system_table_schema = 'MABIB2' and<br>  a.native_type = 'PHYSICAL' and\u00a0<br>  a.SYSTEM_TABLE_NAME = b.SYSTEM_TABLE_NAME and<\/code><\/code><br>  <code><code>\u00a0a.FORMAT_LEVEL_ID &lt;> b.FORMAT_LEVEL_ID<\/code><\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"457\" height=\"67\" src=\"https:\/\/fhix.fr\/wp-content\/uploads\/2026\/04\/image-1.png\" alt=\"\" class=\"wp-image-441\" srcset=\"https:\/\/fhix.fr\/wp-content\/uploads\/2026\/04\/image-1.png 457w, https:\/\/fhix.fr\/wp-content\/uploads\/2026\/04\/image-1-300x44.png 300w\" sizes=\"auto, (max-width: 457px) 100vw, 457px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Cette requ\u00eate SQL permet de mettre en \u00e9vidence les diff\u00e9rences de niveaux entre 2 biblioth\u00e8ques : SELECT a.SYSTEM_TABLE_NAME as fichier, a.SYSTEM_TABLE_SCHEMA as bib1,\u00a0a.FORMAT_LEVEL_ID as niv1, b.SYSTEM_TABLE_SCHEMA as bib2, b.FORMAT_LEVEL_ID\u00a0as niv2, (a.FORMAT_LEVEL_ID &lt;> b.FORMAT_LEVEL_ID) as upgradedFROM sysfiles a , sysfiles b\u00a0\u00a0WHERE a.system_table_schema = &lsquo;MABIB1&rsquo; and\u00a0 b.system_table_schema = &lsquo;MABIB2&rsquo; and a.native_type = &lsquo;PHYSICAL&rsquo; and\u00a0 a.SYSTEM_TABLE_NAME = b.SYSTEM_TABLE_NAME\u00a0 &#8230; <a title=\"Comparer 2 biblioth\u00e8ques pour chercher les fichiers mis \u00e0 niveau\" class=\"read-more\" href=\"https:\/\/fhix.fr\/index.php\/2026\/04\/07\/comparer-2-bibliotheques-pour-chercher-les-fichiers-mis-a-niveau\/\" aria-label=\"En savoir plus sur Comparer 2 biblioth\u00e8ques pour chercher les fichiers mis \u00e0 niveau\">Lire la suite<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-439","post","type-post","status-publish","format-standard","hentry","category-sql-system"],"_links":{"self":[{"href":"https:\/\/fhix.fr\/index.php\/wp-json\/wp\/v2\/posts\/439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fhix.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fhix.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fhix.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fhix.fr\/index.php\/wp-json\/wp\/v2\/comments?post=439"}],"version-history":[{"count":1,"href":"https:\/\/fhix.fr\/index.php\/wp-json\/wp\/v2\/posts\/439\/revisions"}],"predecessor-version":[{"id":442,"href":"https:\/\/fhix.fr\/index.php\/wp-json\/wp\/v2\/posts\/439\/revisions\/442"}],"wp:attachment":[{"href":"https:\/\/fhix.fr\/index.php\/wp-json\/wp\/v2\/media?parent=439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fhix.fr\/index.php\/wp-json\/wp\/v2\/categories?post=439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fhix.fr\/index.php\/wp-json\/wp\/v2\/tags?post=439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}