Skip to content

Commit b3b4f77

Browse files
author
WIN2016\redgate
committed
Huxley EOS
1 parent 7ec6768 commit b3b4f77

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
SET NUMERIC_ROUNDABORT OFF
2+
GO
3+
SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS ON
4+
GO
5+
PRINT N'Dropping [dbo].[Huxley]'
6+
GO
7+
DROP TABLE [dbo].[Huxley]
8+
GO
9+
PRINT N'Dropping [dbo].[huxSP]'
10+
GO
11+
DROP PROCEDURE [dbo].[huxSP]
12+
GO
13+
PRINT N'Altering [dbo].[Clients]'
14+
GO
15+
ALTER TABLE [dbo].[Clients] DROP
16+
COLUMN [Twitter]
17+
GO
18+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
SET NUMERIC_ROUNDABORT OFF
2+
GO
3+
SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS ON
4+
GO
5+
PRINT N'Altering [dbo].[Clients]'
6+
GO
7+
ALTER TABLE [dbo].[Clients] ADD
8+
[Twitter] [nchar] (10) NULL
9+
GO
10+
PRINT N'Creating [dbo].[huxSP]'
11+
GO
12+
--SET QUOTED_IDENTIFIER ON|OFF
13+
--SET ANSI_NULLS ON|OFF
14+
--GO
15+
CREATE PROCEDURE [dbo].[huxSP]
16+
@parameter_name AS INT
17+
-- WITH ENCRYPTION, RECOMPILE, EXECUTE AS CALLER|SELF|OWNER| 'user_name'
18+
AS
19+
BEGIN
20+
SELECT * FROM dbo.Clients
21+
END
22+
GO
23+
PRINT N'Creating [dbo].[Huxley]'
24+
GO
25+
CREATE TABLE [dbo].[Huxley]
26+
(
27+
[ID] [int] NOT NULL,
28+
[Abbreviation] [nvarchar] (5) NOT NULL,
29+
[Name] [nvarchar] (100) NOT NULL,
30+
[Twitter] [nchar] (10) NULL
31+
)
32+
GO
33+

schema-model/Tables/dbo.Huxley.sql

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CREATE TABLE [dbo].[Huxley]
2+
(
3+
[ID] [int] NOT NULL,
4+
[Abbreviation] [nvarchar] (5) NOT NULL,
5+
[Name] [nvarchar] (100) NOT NULL,
6+
[Twitter] [nchar] (10) NULL
7+
)
8+
GO
9+

0 commit comments

Comments
 (0)