Skip to content

Commit 31d24e2

Browse files
author
Kevin Martin
committed
1 parent c53b586 commit 31d24e2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Use this Post-Deployment script to perform tasks after the deployment of the project.
3+
* Read more at https://www.red-gate.com/SOC7/post-deployment-script-help
4+
*/
5+
6+
7+
/* Create a table that we will delete so that we have an invalid object to test */
8+
CREATE TABLE dbo.UseToExist (
9+
UseToExistId INT IDENTITY(1, 1) NOT NULL
10+
,UseToExistColumn VARCHAR(30) NULL CONSTRAINT UseToExist_UseToExistId PRIMARY KEY CLUSTERED (UseToExistId)
11+
);
12+
GO
13+
14+
CREATE VIEW dbo.InvalidObject
15+
AS
16+
SELECT UTE.UseToExistId, UTE.UseToExistColumn FROM dbo.UseToExist AS UTE
17+
GO
18+
19+
DROP TABLE dbo.UseToExist

0 commit comments

Comments
 (0)