diff --git a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_createMessageTable.zsql b/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_createMessageTable.zsql
deleted file mode 100755
index b163b6aeede233e23fff0ae2d3af9e43ee8db8c9..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_createMessageTable.zsql
+++ /dev/null
@@ -1,21 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params></params>
-# Host: localhost
-# Database: coramy
-# Table: 'message'
-# 
-CREATE TABLE `message` (
-  `path` varchar(255) default NULL,
-  `method_id` varchar(40) default NULL,
-  `message` blob,
-  KEY `path` (`path`),
-  KEY `method_id` (`method_id`)
-) TYPE=InnoDB; 
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_deleteCatalog.zsql b/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_deleteCatalog.zsql
deleted file mode 100755
index c553c573ec9d5429d95c41db0663a9e1b576ff58..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_deleteCatalog.zsql
+++ /dev/null
@@ -1,14 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>uid_query </params>
-DELETE FROM
-  catalog 
-WHERE
-  <dtml-var uid_query>
diff --git a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_deleteMovement.zsql b/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_deleteMovement.zsql
deleted file mode 100755
index 570e50902954cd12cd5bcbb737f7a7f746dc8470..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_deleteMovement.zsql
+++ /dev/null
@@ -1,14 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>uid_query </params>
-DELETE FROM
-  movement
-WHERE
-  <dtml-var uid_query>
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_deleteStock.zsql b/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_deleteStock.zsql
deleted file mode 100755
index 8e05848f917716add6e27b014782de845aa93fc4..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_deleteStock.zsql
+++ /dev/null
@@ -1,14 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>uid_query </params>
-DELETE FROM
-  stock
-WHERE
-  <dtml-var uid_query>
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_insertCatalog.zsql b/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_insertCatalog.zsql
deleted file mode 100755
index 975faf204170d3d6f235020322ce8079a363c478..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_insertCatalog.zsql
+++ /dev/null
@@ -1,14 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>values</params>
-INSERT INTO 
-  catalog(uid, parent_uid, path, relative_url, portal_type)
-VALUES
-  <dtml-var values>;
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_insertCategory.zsql b/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_insertCategory.zsql
deleted file mode 100755
index 9bc27135ffad880cebd062fe64b2cbf268b4433d..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_insertCategory.zsql
+++ /dev/null
@@ -1,14 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>values</params>
-INSERT INTO 
-  category(uid, base_category_uid, category_uid, category_strict_membership)
-VALUES
-  <dtml-var values>;
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_insertMovement.zsql b/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_insertMovement.zsql
deleted file mode 100755
index 76f454c562e557e5fba3926c65d38c82e2c6674c..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/AppliedRule_insertMovement.zsql
+++ /dev/null
@@ -1,14 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>values</params>
-INSERT INTO 
-  movement
-VALUES
-  <dtml-var values>;
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_category.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_catalog_category.zsql
deleted file mode 100755
index 297892fb246fe707dbeabd647d2164b7ae7bf8fa..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_category.zsql
+++ /dev/null
@@ -1,50 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>uid
-getAcquiredCategoryList
-getCategoryList
-isMovement</params>
-<dtml-if isMovement>
-<dtml-if getCategoryList>
-<dtml-let uid_list="portal_categories.getCategoryParentUidList(getCategoryList)">
-<dtml-if uid_list>
-INSERT INTO category VALUES 
-<dtml-in "uid_list">
-(<dtml-sqlvar uid type="int">, <dtml-var "_['sequence-item'][0]" >, <dtml-var "_['sequence-item'][1]" >, <dtml-var "_['sequence-item'][2]" >)
-<dtml-if 
-sequence-end><dtml-else>,</dtml-if>
-</dtml-in> 
-;
-<dtml-else>
-INSERT INTO category VALUES  (<dtml-sqlvar uid type="int">, NULL, NULL,1);
-</dtml-if>
-</dtml-let>
-<dtml-else>
-INSERT INTO category VALUES  (<dtml-sqlvar uid type="int">, NULL, NULL,1);
-</dtml-if>
-<dtml-else>
-<dtml-if getAcquiredCategoryList>
-<dtml-let uid_list="portal_categories.getCategoryParentUidList(getAcquiredCategoryList)">
-<dtml-if uid_list>
-INSERT INTO category VALUES 
-<dtml-in "uid_list">
-(<dtml-sqlvar uid type="int">, <dtml-var "_['sequence-item'][0]" >, <dtml-var "_['sequence-item'][1]" >, <dtml-var "_['sequence-item'][2]" >)
-<dtml-if 
-sequence-end><dtml-else>,</dtml-if>
-</dtml-in> 
-;
-<dtml-else>
-INSERT INTO category VALUES  (<dtml-sqlvar uid type="int">, NULL, NULL,1);
-</dtml-if>
-</dtml-let>
-<dtml-else>
-INSERT INTO category VALUES  (<dtml-sqlvar uid type="int">, NULL, NULL,1);
-</dtml-if>
-</dtml-if>
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_compatibility.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_catalog_compatibility.zsql
deleted file mode 100755
index 858e65895d53b0ed61ae57d06868e5e5a54a2d4f..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_compatibility.zsql
+++ /dev/null
@@ -1,50 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>uid
-Creator
-Date
-PrincipiaSearchSource
-SearchableText
-CreationDate
-EffectiveDate
-ExpiresDate
-ModificationDate
-Type
-bobobase_modification_time
-created
-effective
-expires
-getIcon
-in_reply_to
-modified
-review_state
-summary
-</params>
-INSERT INTO compatibility VALUES (
-  <dtml-sqlvar uid type="int">,
-  <dtml-sqlvar Creator type="string" optional>,
-  <dtml-sqlvar Date type="datetime" optional>,
-  <dtml-sqlvar PrincipiaSearchSource type="string" optional>,
-  <dtml-sqlvar SearchableText  type="string" optional>,
-  <dtml-sqlvar CreationDate   type="datetime" optional>,
-  <dtml-sqlvar EffectiveDate   type="datetime" optional>,
-  <dtml-sqlvar ExpiresDate    type="datetime" optional>,
-  <dtml-sqlvar ModificationDate     type="datetime" optional>,
-  <dtml-sqlvar Type  type="string" optional>,
-  <dtml-sqlvar bobobase_modification_time  type="datetime" optional>,
-  <dtml-sqlvar created  type="datetime" optional>,
-  <dtml-sqlvar effective   type="datetime" optional>,
-  <dtml-sqlvar expires   type="datetime" optional>,
-  <dtml-sqlvar getIcon  type="string" optional>,
-  <dtml-sqlvar in_reply_to  type="string" optional>,
-  <dtml-sqlvar modified  type="datetime" optional>,
-  <dtml-sqlvar review_state type="string" optional>,
-  <dtml-sqlvar summary  type="string" optional>
-);
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_item.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_catalog_item.zsql
deleted file mode 100755
index 95fd8a1fbe74240e363c0d47f86c87ae393a0401..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_item.zsql
+++ /dev/null
@@ -1,32 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>isMovement
-uid
-getAggregateUidList
-getDestinationUid
-getDestinationSectionUid
-getResourceUid
-getStopDate
-getVariationText</params>
-<dtml-if isMovement>
-<dtml-if isAccountable>
-<dtml-if getAggregateUidList>
-INSERT INTO item VALUES <dtml-in getAggregateUidList>( 
-  <dtml-sqlvar uid type="int">,
-  <dtml-sqlvar getStopDate type="datetime" optional>,
-  <dtml-sqlvar getDestinationUid type="int" optional>,
-  <dtml-sqlvar getDestinationSectionUid type="int" optional>,
-  <dtml-sqlvar getResourceUid type="int" optional>,
-  <dtml-sqlvar sequence-item type="int" optional>,
-  <dtml-sqlvar getVariationText type="string" optional>
-)<dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>;
-</dtml-if>
-</dtml-if>
-</dtml-if>
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_movement.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_catalog_movement.zsql
deleted file mode 100755
index c3985e92632d040f5e0e3e95012f95abc14bba73..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_movement.zsql
+++ /dev/null
@@ -1,43 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>isMovement
-uid
-getExplanationUid
-getSourceUid
-getDestinationUid
-getResourceUid
-getInventoriatedQuantity
-getStartDate
-getStopDate
-getPrice
-isAccountable
-isOrderable
-isDeliverable
-isDivergent
-getVariationText</params>
-<dtml-if isMovement>
-INSERT INTO movement VALUES (
-  <dtml-sqlvar uid type="int">,
-  <dtml-if getExplanationUid><dtml-sqlvar getExplanationUid type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getSourceUid><dtml-sqlvar getSourceUid type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getDestinationUid ><dtml-sqlvar getDestinationUid  type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getResourceUid><dtml-sqlvar getResourceUid type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getInventoriatedQuantity><dtml-sqlvar getInventoriatedQuantity type="float"><dtml-else>NULL</dtml-if>,
-  <dtml-if getStartDate><dtml-sqlvar getStartDate type="datetime"><dtml-else>NULL</dtml-if>,
-  <dtml-if getStopDate><dtml-sqlvar getStopDate type="datetime"><dtml-else>NULL</dtml-if>,
-  <dtml-if getPrice><dtml-sqlvar getPrice type="float"><dtml-else>NULL</dtml-if>,
-  <dtml-if "isAccountable is not None"><dtml-sqlvar isAccountable type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if "isOrderable is not None"><dtml-sqlvar isOrderable type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if "isDeliverable is not None"><dtml-sqlvar isDeliverable type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if "isDivergent is not None"><dtml-sqlvar isDivergent type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if "getVariationText is not None"><dtml-sqlvar getVariationText type="string"><dtml-else>NULL</dtml-if>
-);
-</dtml-if>
-
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_predicate_category.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_catalog_predicate_category.zsql
deleted file mode 100755
index 202d2942683e7982d1662baf2701007653a0a304..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_predicate_category.zsql
+++ /dev/null
@@ -1,31 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>uid
-isPredicate
-predicate_property_dict</params>
-<dtml-if isPredicate>
-<dtml-if  expr="predicate_property_dict.has_key('membership_criterion_category_list')">
-<dtml-let uid_list="portal_categories.getCategoryParentUidList(predicate_property_dict['membership_criterion_category_list'])">
-<dtml-if uid_list>
-INSERT INTO predicate_category VALUES 
-<dtml-in "uid_list">
-(<dtml-sqlvar uid type="int">, <dtml-var "_['sequence-item'][0]" >, <dtml-var "_['sequence-item'][1]" >, <dtml-var "_['sequence-item'][2]" >)
-<dtml-if 
-sequence-end><dtml-else>,</dtml-if>
-</dtml-in> 
-;
-<dtml-else>
-INSERT INTO predicate_category VALUES  (<dtml-sqlvar uid type="int">, NULL, NULL,1);
-</dtml-if>
-</dtml-let>
-<dtml-else>
-INSERT INTO predicate_category VALUES  (<dtml-sqlvar uid type="int">, NULL, NULL,1);
-</dtml-if>
-</dtml-if>
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_roles_and_users.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_catalog_roles_and_users.zsql
deleted file mode 100755
index 5f707cb01cd66969f439bba0255a875073fdd29d..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_roles_and_users.zsql
+++ /dev/null
@@ -1,19 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>security_uid
-optimised_roles_and_users</params>
-<dtml-if optimised_roles_and_users>
-INSERT INTO roles_and_users VALUES
-<dtml-in optimised_roles_and_users>
-(<dtml-sqlvar security_uid type="int">, <dtml-sqlvar sequence-item type=string>)
-<dtml-if sequence-end><dtml-else>,</dtml-if>
-</dtml-in>
-;
-</dtml-if>
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_stock.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_catalog_stock.zsql
deleted file mode 100755
index 1e1acada13df9562badc031b36e4dc957caf1358..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_stock.zsql
+++ /dev/null
@@ -1,99 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>uid
-getResourceUid
-getInventoriatedQuantity
-getSourceUid
-getDestinationUid
-getSourceSectionUid
-getDestinationSectionUid
-isMovement
-getSourcePaymentUid
-getDestinationPaymentUid
-getSourceFunctionUid
-getDestinationFunctionUid
-getSourceProjectUid
-getDestinationProjectUid
-getSimulationState
-getPrice
-getStartDate
-getStopDate
-isAccountable
-getPortalType
-getVariationText</params>
-<dtml-if isMovement>
-<dtml-if getResourceUid>
-<dtml-if getDestinationUid>
-INSERT INTO
-  stock
-VALUES
-(
-  <dtml-sqlvar uid type="int">,
-  <dtml-sqlvar getDestinationUid type="int">,
-  <dtml-if getDestinationSectionUid><dtml-sqlvar getDestinationSectionUid type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getDestinationPaymentUid><dtml-sqlvar getDestinationPaymentUid type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getDestinationFunctionUid><dtml-sqlvar getDestinationFunctionUid type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getDestinationProjectUid><dtml-sqlvar getDestinationProjectUid type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getSourceSectionUid><dtml-sqlvar getSourceSectionUid type="int"><dtml-else>NULL</dtml-if>, 
-  <dtml-sqlvar getResourceUid type="int">,
-  <dtml-if getInventoriatedQuantity><dtml-sqlvar "getInventoriatedQuantity" type="float"><dtml-else>NULL</dtml-if>,
-  <dtml-if getStopDate><dtml-sqlvar getStopDate type="datetime"><dtml-else>NULL</dtml-if>,
-  <dtml-if getPrice><dtml-sqlvar getPrice type="float"><dtml-else>NULL</dtml-if>,
-  <dtml-if isAccountable><dtml-sqlvar isAccountable type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getPortalType><dtml-sqlvar getPortalType type="string"><dtml-else>NULL</dtml-if>,
-  <dtml-if getSimulationState><dtml-sqlvar getSimulationState type="string"><dtml-else>NULL</dtml-if>,
-  <dtml-if "getVariationText is not None"><dtml-sqlvar getVariationText type="string"><dtml-else>NULL</dtml-if>
-)
-<dtml-if getSourceUid>
-,
-(
-  <dtml-sqlvar uid type="int">,
-  <dtml-sqlvar getSourceUid type="int">,  
-  <dtml-if getSourceSectionUid><dtml-sqlvar getSourceSectionUid type="int"><dtml-else>NULL</dtml-if>, 
-  <dtml-if getSourcePaymentUid><dtml-sqlvar getSourcePaymentUid type="int"><dtml-else>NULL</dtml-if>, 
-  <dtml-if getSourceFunctionUid><dtml-sqlvar getSourceFunctionUid type="int"><dtml-else>NULL</dtml-if>, 
-  <dtml-if getSourceProjectUid><dtml-sqlvar getSourceProjectUid type="int"><dtml-else>NULL</dtml-if>, 
-  <dtml-if getDestinationSectionUid><dtml-sqlvar getDestinationSectionUid type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-sqlvar getResourceUid type="int">, 
-  <dtml-if getInventoriatedQuantity><dtml-sqlvar "-getInventoriatedQuantity" type="float"><dtml-else>NULL</dtml-if>, 
-  <dtml-if getStartDate><dtml-sqlvar getStartDate type="datetime"><dtml-else>NULL</dtml-if>,
-  <dtml-if getPrice><dtml-sqlvar getPrice type="float"><dtml-else>NULL</dtml-if>,
-  <dtml-if isAccountable><dtml-sqlvar isAccountable type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getPortalType><dtml-sqlvar getPortalType type="string"><dtml-else>NULL</dtml-if>,
-  <dtml-if getSimulationState><dtml-sqlvar getSimulationState type="string"><dtml-else>NULL</dtml-if>,
-  <dtml-if "getVariationText is not None"><dtml-sqlvar getVariationText type="string"><dtml-else>NULL</dtml-if>
-)
-</dtml-if>
-<dtml-else>
-<dtml-if getSourceUid>
-INSERT INTO
-  stock
-VALUES
-(
-  <dtml-sqlvar uid type="int">,
-  <dtml-sqlvar getSourceUid type="int">,  
-  <dtml-if getSourceSectionUid><dtml-sqlvar getSourceSectionUid type="int"><dtml-else>NULL</dtml-if>, 
-  <dtml-if getSourcePaymentUid><dtml-sqlvar getSourcePaymentUid type="int"><dtml-else>NULL</dtml-if>, 
-  <dtml-if getSourceFunctionUid><dtml-sqlvar getSourceFunctionUid type="int"><dtml-else>NULL</dtml-if>, 
-  <dtml-if getSourceProjectUid><dtml-sqlvar getSourceProjectUid type="int"><dtml-else>NULL</dtml-if>, 
-  <dtml-if getDestinationSectionUid><dtml-sqlvar getDestinationSectionUid type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-sqlvar getResourceUid type="int">, 
-  <dtml-if getInventoriatedQuantity><dtml-sqlvar "-getInventoriatedQuantity" type="float"><dtml-else>NULL</dtml-if>, 
-  <dtml-if getStartDate><dtml-sqlvar getStartDate type="datetime"><dtml-else>NULL</dtml-if>,
-  <dtml-if getPrice><dtml-sqlvar getPrice type="float"><dtml-else>NULL</dtml-if>,
-  <dtml-if isAccountable><dtml-sqlvar isAccountable type="int"><dtml-else>NULL</dtml-if>,
-  <dtml-if getPortalType><dtml-sqlvar getPortalType type="string"><dtml-else>NULL</dtml-if>,
-  <dtml-if getSimulationState><dtml-sqlvar getSimulationState type="string"><dtml-else>NULL</dtml-if>,
-  <dtml-if "getVariationText is not None"><dtml-sqlvar getVariationText type="string"><dtml-else>NULL</dtml-if>
-)
-</dtml-if>
-</dtml-if>
-</dtml-if>
-</dtml-if>
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_subject.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_catalog_subject.zsql
deleted file mode 100755
index 50c4c3fa32abe14626b25a9af9b01fba5962a2b1..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_subject.zsql
+++ /dev/null
@@ -1,27 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>uid
-Subject</params>
-<dtml-if Subject>
-INSERT INTO subject VALUES 
-<dtml-try>
-<dtml-in "Subject.split()">
-(<dtml-sqlvar uid type="int">, <dtml-sqlvar sequence-item
-type=string>)<dtml-if sequence-end><dtml-else>,</dtml-if>
-</dtml-in> 
-;
-<dtml-except>
-<dtml-in Subject>
-(<dtml-sqlvar uid type="int">, <dtml-sqlvar sequence-item
-type=string>)<dtml-if sequence-end><dtml-else>,</dtml-if>
-</dtml-in> 
-;
-</dtml-try>
-</dtml-if>
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_update_delivery.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_update_delivery.zsql
deleted file mode 100755
index b9a7ea929072bde9e4ebe9666eb43c04c00686c3..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/z_update_delivery.zsql
+++ /dev/null
@@ -1,45 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>isDelivery
-uid
-getSourceUid
-getDestinationUid
-getSourceSectionUid
-getDestinationSectionUid
-getResourceUid
-getStartDate
-getStartDateRangeMin
-getStartDateRangeMax
-getStopDate
-getStopDateRangeMin
-getStopDateRangeMax
-insert_line</params>
-<dtml-if insert_line>
-INSERT INTO delivery(uid) VALUES (<dtml-sqlvar uid type="int">);
-
-<dtml-var "'\0'">
-
-</dtml-if>
-<dtml-if isDelivery>
-UPDATE delivery SET
-  uid=<dtml-sqlvar uid type="int">,
-  source_uid=<dtml-sqlvar getSourceUid type="int" optional>,
-  destination_uid=<dtml-sqlvar getDestinationUid type="int" optional>,
-  source_section_uid=<dtml-sqlvar getSourceSectionUid type="int" optional>,
-  destination_section_uid=<dtml-sqlvar getDestinationSectionUid type="int" optional>,
-  resource_uid=<dtml-sqlvar getResourceUid type="int" optional>,
-  start_date=<dtml-sqlvar getStartDate type="datetime" optional>,
-  start_date_range_min=<dtml-sqlvar getStartDateRangeMin type="datetime" optional>,
-  start_date_range_max=<dtml-sqlvar getStartDateRangeMax type="datetime" optional>,
-  stop_date=<dtml-sqlvar getStopDate type="datetime" optional>,
-  stop_date_range_min=<dtml-sqlvar getStopDateRangeMin type="datetime" optional>,
-  stop_date_range_max=<dtml-sqlvar getStopDateRangeMax type="datetime" optional>
-WHERE <dtml-sqltest uid op=eq type=int>
-</dtml-if>
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_update_object.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_update_object.zsql
deleted file mode 100755
index a4e9abef92a03e3bb9e0f0f9362b3f0f1c27180d..0000000000000000000000000000000000000000
--- a/product/ERP5Catalog/sql/erp5_mysql/z_update_object.zsql
+++ /dev/null
@@ -1,71 +0,0 @@
-<dtml-comment>
-title:
-connection_id:erp5_sql_connection
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>uid
-security_uid
-getPath
-getRelativeUrl
-getParentUid
-id
-getDescription
-getTitle
-meta_type
-getPortalType
-opportunity_state
-getEan13Code
-getSimulationState
-causality_state
-invoice_state
-validation_state
-payment_state
-event_state
-getReference
-getGroupingReference
-getSourceReference
-getDestinationReference
-getStringIndex
-getIntIndex
-getFloatIndex
-getCorporateRegistrationCode
-insert_catalog_line
-hasCellContent</params>
-<dtml-if insert_catalog_line>
-INSERT INTO catalog(uid) VALUES (<dtml-sqlvar uid type="int">);
-
-<dtml-var "'\0'">
-
-</dtml-if>
-UPDATE catalog SET uid=<dtml-sqlvar uid type="int">,
-  security_uid=<dtml-sqlvar security_uid type="int">,
-  path=<dtml-sqlvar getPath type="string">,
-  relative_url=<dtml-sqlvar getRelativeUrl type="string">,
-  parent_uid=<dtml-sqlvar getParentUid type="int" optional>,
-  id=<dtml-sqlvar id type="string" optional>,
-  description=<dtml-sqlvar getDescription type="string" optional>,
-  title=<dtml-sqlvar getTitle type="string" optional>,
-  meta_type=<dtml-sqlvar meta_type  type="string" optional>,
-  portal_type=<dtml-sqlvar getPortalType  type="string" optional>,
-  opportunity_state=<dtml-sqlvar opportunity_state type="string" optional>,
-  corporate_registration_code=<dtml-sqlvar getCorporateRegistrationCode type="string" optional>,
-  ean13_code=<dtml-sqlvar getEan13Code type="string" optional>,
-  validation_state=<dtml-sqlvar validation_state type="string" optional>,
-  simulation_state=<dtml-sqlvar getSimulationState type="string" optional>,
-  causality_state=<dtml-sqlvar causality_state type="string" optional>,
-  payment_state=<dtml-sqlvar payment_state type="string" optional>,
-  event_state=<dtml-sqlvar event_state type="string" optional>,
-  invoice_state=<dtml-sqlvar invoice_state type="string" optional>,
-  reference=<dtml-sqlvar getReference  type="string" optional>,
-  grouping_reference=<dtml-sqlvar getGroupingReference  type="string" optional>,
-  source_reference=<dtml-sqlvar getSourceReference  type="string" optional>,
-  destination_reference=<dtml-sqlvar getDestinationReference  type="string" optional>,
-  string_index=<dtml-sqlvar getStringIndex type="string" optional>,
-  int_index=<dtml-sqlvar getIntIndex type="int" optional>,
-  float_index=<dtml-sqlvar getFloatIndex type="float" optional>,
-  has_cell_content=<dtml-sqlvar hasCellContent type="int" optional>
-WHERE <dtml-sqltest uid op=eq type=int>