refactor(SQL): Staging tables and Calc stored procedures used for modular stored procedure archicture for scalability. Implemented for Product Catalogue. \n BREAKING CHANGE: BIT argument a_debug added to all but basic stored procedures for analysis of performance and results.
This commit is contained in:
12
static/MySQL/1000_tbl_Split_Temp.sql
Normal file
12
static/MySQL/1000_tbl_Split_Temp.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
# Split Staging
|
||||
-- USE partsltd_prod;
|
||||
-- DROP TABLE IF EXISTS Split_Temp;
|
||||
|
||||
SELECT CONCAT('WARNING: Table ', TABLE_NAME, ' already exists.') AS msg_warning FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'Split_Temp';
|
||||
|
||||
CREATE TABLE Split_Temp (
|
||||
guid BINARY(36) NOT NULL
|
||||
, display_order INT NOT NULL
|
||||
, substring VARCHAR(4000) NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user