Skip to content

Instantly share code, notes, and snippets.

@aadennis
Created February 5, 2018 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aadennis/95dc59d2c66f7b114020af55872cdbf3 to your computer and use it in GitHub Desktop.
Save aadennis/95dc59d2c66f7b114020af55872cdbf3 to your computer and use it in GitHub Desktop.
USE [OrdersDb]
GO
CREATE TABLE [dbo].[Order](
[Id] [bigint] IDENTITY(1,1) NOT NULL,
[Description] [nvarchar](50) NOT NULL
) ON [PRIMARY]
GO
insert into [dbo].[Order] (Description)
select 'The first [Order] Description' union all
select 'The second [Order] Description' ;
USE [CustomersDb]
GO
CREATE TABLE [dbo].[Customer](
[Id] [bigint] IDENTITY(1,1) NOT NULL,
[Description] [nvarchar](50) NOT NULL
) ON [PRIMARY]
GO
insert into [dbo].[Customer] (Description)
select 'The first [Customer] Description' union all
select 'The second [Customer] Description' ;
USE [DataWarehouseDb]
GO
CREATE TABLE [dbo].[OrderDimension](
[Id] [bigint] IDENTITY(1,1) NOT NULL,
[Description] [nvarchar](50) NOT NULL
) ON [PRIMARY]
GO
insert into [dbo].[OrderDimension] (Description)
select 'The first [OrderDimension] Description' union all
select 'The second [OrderDimension] Description' ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment