68 lines
1.2 KiB
Transact-SQL
68 lines
1.2 KiB
Transact-SQL
GO
|
|
SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON;
|
|
|
|
SET NUMERIC_ROUNDABORT OFF;
|
|
|
|
|
|
--GO
|
|
--/*
|
|
--Table [dbo].[T_FELJEGYZESTIPUS] is being dropped. Deployment will halt if the table contains data.
|
|
--*/
|
|
|
|
--IF EXISTS (select top 1 1 from [dbo].[T_FELJEGYZESTIPUS])
|
|
-- RAISERROR (N'Rows were detected. The schema update is terminating because data loss might occur.', 16, 127) WITH NOWAIT
|
|
|
|
|
|
GO
|
|
PRINT N'Dropping [dbo].[FK_T_21038_4028111]...';
|
|
|
|
|
|
GO
|
|
ALTER TABLE [dbo].[T_FELJEGYZESTIPUS] DROP CONSTRAINT [FK_T_21038_4028111];
|
|
|
|
|
|
GO
|
|
PRINT N'Dropping [dbo].[FK_402811002_402811000]...';
|
|
|
|
|
|
GO
|
|
ALTER TABLE [dbo].[T_FELJEGYZESTIPUS] DROP CONSTRAINT [FK_402811002_402811000];
|
|
|
|
|
|
GO
|
|
PRINT N'Dropping [dbo].[FK_402811005_402811003]...';
|
|
|
|
|
|
GO
|
|
ALTER TABLE [dbo].[T_FELJEGYZESTIPUS] DROP CONSTRAINT [FK_402811005_402811003];
|
|
|
|
|
|
GO
|
|
PRINT N'Dropping [dbo].[T_FELJEGYZESTIPUS_OSSZES]...';
|
|
|
|
|
|
GO
|
|
DROP VIEW [dbo].[T_FELJEGYZESTIPUS_OSSZES];
|
|
|
|
|
|
GO
|
|
PRINT N'Dropping [dbo].[T_FELJEGYZESTIPUS]...';
|
|
|
|
|
|
GO
|
|
DROP TABLE [dbo].[T_FELJEGYZESTIPUS];
|
|
|
|
|
|
GO
|
|
PRINT N'Dropping [auditlog].[usp_AsyncAuditFELJEGYZESTIPUS]...';
|
|
|
|
|
|
GO
|
|
DROP PROCEDURE [auditlog].[usp_AsyncAuditFELJEGYZESTIPUS];
|
|
|
|
|
|
GO
|
|
PRINT N'Update complete.';
|
|
|
|
|
|
GO
|