This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---Create a playground | |
create database sandbox; | |
go | |
use sandbox | |
go | |
drop table dbo.tableOfThings | |
go | |
create table dbo.tableOfThings ( | |
id int identity(1,1) not null constraint pk_tableOfThings primary key | |
, date_created datetime2 not null constraint df_date_created default getdate() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create database ae_analysis; | |
GO | |
USE ae_analysis; | |
GO | |
DROP TABLE IF EXISTS dbo.summary; | |
create table dbo.summary ( | |
Test varchar(10) not null | |
, Cycle tinyint not null | |
, WorkloadID uniqueidentifier not null | |
, Hostname sysname not null |