tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ('110','111','130','148','150','151','155','162',
+ '180','181','182','185','034','640','641','642',
+ '643','644','645','646');
INSERT INTO auth_subfield_structure (authtypecode, tagfield, tagsubfield, liblibrarian, libopac, repeatable,
mandatory, tab, authorised_value, value_builder, seealso, isurl, hidden, linkid, kohafield, frameworkcode)
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
-
--- delete especific tags
-
-DELETE FROM auth_tag_structure WHERE authtypecode = 'PERSO_NAME' AND
- tagfield IN ('110','111','130','148','150','151','155','180','181','182','185',
- '034','640','641','642','643','644','645','646');
-
-DELETE FROM auth_subfield_structure WHERE authtypecode = 'PERSO_NAME' AND
- tagfield IN ('110','111','130','148','150','151','155','180','181','182','185',
- '034','640','641','642','643','644','645','646');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ('110','111','130','148','150','151','155','162',
+ '180','181','182','185','034','640','641','642',
+ '643','644','645','646');
-- ******************************************************
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','111','130','148','150','151','155','162',
+ '180','181','182','185','034','640','641','642',
+ '643','644','645','646');
INSERT INTO auth_subfield_structure (authtypecode, tagfield, tagsubfield, liblibrarian, libopac, repeatable,
mandatory, tab, authorised_value, value_builder, seealso, isurl, hidden, linkid, kohafield, frameworkcode)
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
-
--- delete especific tags
-
-DELETE FROM auth_tag_structure WHERE authtypecode = 'CORPO_NAME' AND
- tagfield IN ('100','111','130','148','150','151','155','180','181','182','185',
- '034','640','641','642','643','644','645','646');
-
-DELETE FROM auth_subfield_structure WHERE authtypecode = 'CORPO_NAME' AND
- tagfield IN ('100','111','130','148','150','151','155','180','181','182','185',
- '034','640','641','642','643','644','645','646');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','111','130','148','150','151','155','162',
+ '180','181','182','185','034','640','641','642',
+ '643','644','645','646');
-- ******************************************************
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','130','148','150','151','155','162',
+ '180','181','182','185','640','641','642','643',
+ '644','645','646');
INSERT INTO auth_subfield_structure (authtypecode, tagfield, tagsubfield, liblibrarian, libopac, repeatable,
mandatory, tab, authorised_value, value_builder, seealso, isurl, hidden, linkid, kohafield, frameworkcode)
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
-
--- delete especific tags
-
-DELETE FROM auth_tag_structure WHERE authtypecode = 'MEETI_NAME' AND
- tagfield IN ('100','110','130','148','150','151','155','180','181','182','185',
- '640','641','642','643','644','645','646');
-
-DELETE FROM auth_subfield_structure WHERE authtypecode = 'MEETI_NAME' AND
- tagfield IN ('100','110','130','148','150','151','155','180','181','182','185',
- '640','641','642','643','644','645','646');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','130','148','150','151','155','162',
+ '180','181','182','185','640','641','642','643',
+ '644','645','646');
-- ******************************************************
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','111','148','150','151','155','162',
+ '180','181','182','185');
INSERT INTO auth_subfield_structure (authtypecode, tagfield, tagsubfield, liblibrarian, libopac, repeatable,
mandatory, tab, authorised_value, value_builder, seealso, isurl, hidden, linkid, kohafield, frameworkcode)
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
-
--- delete especific tags
-
-DELETE FROM auth_tag_structure WHERE authtypecode = 'UNIF_TITLE' AND
- tagfield IN ('100','110','111','148','150','151','155','180','181','182','185'
- );
-
-DELETE FROM auth_subfield_structure WHERE authtypecode = 'UNIF_TITLE' AND
- tagfield IN ('100','110','111','148','150','151','155','180','181','182','185'
- );
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','111','148','150','151','155','162',
+ '180','181','182','185');
-- ******************************************************
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','111','130','150','151','155','162',
+ '180','181','185','014','020','022','031','640',
+ '641','642','643','644','645','646');
INSERT INTO auth_subfield_structure (authtypecode, tagfield, tagsubfield, liblibrarian, libopac, repeatable,
mandatory, tab, authorised_value, value_builder, seealso, isurl, hidden, linkid, kohafield, frameworkcode)
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
-
--- delete especific tags
-
-DELETE FROM auth_tag_structure WHERE authtypecode = 'CHRON_TERM' AND
- tagfield IN ('100','110','111','130','150','151','155','180','181','185',
- '014','020','022','031','640','641','642','643','644','645','646');
-
-DELETE FROM auth_subfield_structure WHERE authtypecode = 'CHRON_TERM' AND
- tagfield IN ('100','110','111','130','150','151','155','180','181','185',
- '014','020','022','031','640','641','642','643','644','645','646');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','111','130','150','151','155','162',
+ '180','181','185','014','020','022','031','640',
+ '641','642','643','644','645','646');
-- ******************************************************
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','111','130','148','151','155','162',
+ '181','182','185','014','020','022','031','640',
+ '641','642','643','644','645','646');
INSERT INTO auth_subfield_structure (authtypecode, tagfield, tagsubfield, liblibrarian, libopac, repeatable,
mandatory, tab, authorised_value, value_builder, seealso, isurl, hidden, linkid, kohafield, frameworkcode)
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
-
--- delete especific tags
-
-DELETE FROM auth_tag_structure WHERE authtypecode = 'TOPIC_TERM' AND
- tagfield IN ('100','110','111','130','148','151','155','181','182','185',
- '014','020','022','031','640','641','642','643','644','645','646');
-
-DELETE FROM auth_subfield_structure WHERE authtypecode = 'TOPIC_TERM' AND
- tagfield IN ('100','110','111','130','148','151','155','181','182','185',
- '014','020','022','031','640','641','642','643','644','645','646');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','111','130','148','151','155','162',
+ '181','182','185','014','020','022','031','640',
+ '641','642','643','644','645','646');
-- ******************************************************
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','111','130','148','150','155','162',
+ '180','182','185','014','020','022','031','640',
+ '641','642','643','644','645','646');
INSERT INTO auth_subfield_structure (authtypecode, tagfield, tagsubfield, liblibrarian, libopac, repeatable,
mandatory, tab, authorised_value, value_builder, seealso, isurl, hidden, linkid, kohafield, frameworkcode)
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
-
--- delete especific tags
-
-DELETE FROM auth_tag_structure WHERE authtypecode = 'GEOGR_NAME' AND
- tagfield IN ('100','110','111','130','148','150','155','180','182','185',
- '014','020','022','031','640','641','642','643','644','645','646');
-
-DELETE FROM auth_subfield_structure WHERE authtypecode = 'GEOGR_NAME' AND
- tagfield IN ('100','110','111','130','148','150','155','180','182','185',
- '014','020','022','031','640','641','642','643','644','645','646');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','111','130','148','150','155','162',
+ '180','182','185','014','020','022','031','640',
+ '641','642','643','644','645','646');
-- ******************************************************
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','111','130','148','150','151','162',
+ '180','181','182','014','020','022','031','640',
+ '641','642','643','644','645','646');
INSERT INTO auth_subfield_structure (authtypecode, tagfield, tagsubfield, liblibrarian, libopac, repeatable,
mandatory, tab, authorised_value, value_builder, seealso, isurl, hidden, linkid, kohafield, frameworkcode)
tagfield NOT IN ( '058','063','068','084','088','140','143','153',
'154','253','353','453','553','668','671','676',
'684','685','686','687','68a','68b','753','754',
- '761','763','764','765','766','768');
-
--- delete especific tags
-
-DELETE FROM auth_tag_structure WHERE authtypecode = 'GENRE/FORM' AND
- tagfield IN ('100','110','111','130','148','150','151','180','181','182',
- '014','020','022','031','640','641','642','643','644','645','646');
-
-DELETE FROM auth_subfield_structure WHERE authtypecode = 'GENRE/FORM' AND
- tagfield IN ('100','110','111','130','148','150','151','180','181','182',
- '014','020','022','031','640','641','642','643','644','645','646');
+ '761','763','764','765','766','768') AND
+ tagfield NOT IN ( '100','110','111','130','148','150','151','162',
+ '180','181','182','014','020','022','031','640',
+ '641','642','643','644','645','646');
-- ******************************************************
-