From c7c838ee67fc3e7ae889fbeeb73615c8348f897b Mon Sep 17 00:00:00 2001 From: Anthony Sena Date: Fri, 11 Aug 2023 17:32:55 -0400 Subject: [PATCH] Change execution_date_time to varchar(100) --- inst/sql/sql_server/PlpResultTables.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inst/sql/sql_server/PlpResultTables.sql b/inst/sql/sql_server/PlpResultTables.sql index 8d7b6e0cb..feb5cf2ed 100644 --- a/inst/sql/sql_server/PlpResultTables.sql +++ b/inst/sql/sql_server/PlpResultTables.sql @@ -117,7 +117,7 @@ CREATE TABLE @my_schema.@string_to_appenddiagnostics( diagnostic_id int GENERATED ALWAYS AS IDENTITY NOT NULL PRIMARY KEY, model_design_id int, database_id int NOT NULL, - execution_date_time DATETIME2, + execution_date_time VARCHAR(100), FOREIGN KEY (model_design_id) REFERENCES @my_schema.@string_to_appendmodel_designs(model_design_id), FOREIGN KEY (database_id) REFERENCES @my_schema.@string_to_appenddatabase_details(database_id) ); @@ -171,7 +171,7 @@ CREATE TABLE @my_schema.@string_to_appendmodels( plp_model_file text NOT NULL, -- reference to saved model location train_details VARCHAR(MAX), -- new this contains all the trainDetails preprocessing VARCHAR(MAX), -- new this contains the preprocessing required - execution_date_time DATETIME2, + execution_date_time VARCHAR(100), training_time VARCHAR(100), -- previously new intercept float, FOREIGN KEY (model_design_id) REFERENCES @my_schema.@string_to_appendmodel_designs(model_design_id), @@ -200,7 +200,7 @@ CREATE TABLE @my_schema.@string_to_appendperformances ( plp_data_setting_id int NOT NULL, -- added population_setting_id int NOT NULL, model_development int NOT NULL, -- added - execution_date_time DATETIME2, + execution_date_time VARCHAR(100), plp_version char(10), FOREIGN KEY (model_design_id) REFERENCES @my_schema.@string_to_appendmodel_designs(model_design_id), FOREIGN KEY (development_database_id) REFERENCES @my_schema.@string_to_appenddatabase_details(database_id),