mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Added sales_models table to store ML models
This commit is contained in:
@@ -69,4 +69,15 @@ AS
|
||||
) AS q
|
||||
INNER JOIN customer as c ON q.wcs_user_sk = c.c_customer_sk
|
||||
INNER JOIN customer_demographics as cd ON c.c_current_cdemo_sk = cd.cd_demo_sk;
|
||||
GO
|
||||
GO
|
||||
|
||||
-- Create table for storing the ML models
|
||||
DROP TABLE IF EXISTS sales_models;
|
||||
CREATE TABLE sales_models (
|
||||
model_name varchar(100) PRIMARY KEY,
|
||||
model varbinary(max) NOT NULL,
|
||||
model_native varbinary(max) NULL,
|
||||
created_by nvarchar(500) NOT NULL DEFAULT(SYSTEM_USER),
|
||||
create_time datetime2 NOT NULL DEFAULT(SYSDATETIME())
|
||||
);
|
||||
GO
|
||||
|
||||
Reference in New Issue
Block a user