Files
kreta/Kreta.DataAccess.Migrations/Scripts/Archive/20200527161609_KRETA_4368/DropTable.sql
2024-03-13 00:33:46 +01:00

68 lines
1.3 KiB
Transact-SQL

GO
SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON;
SET NUMERIC_ROUNDABORT OFF;
GO
PRINT N'Dropping [dbo].[T_TEREM_FOGLALKOZAS].[ELOZOTANEVIREKORDID].[MS_Description]...';
GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TEREM_FOGLALKOZAS', @level2type = N'COLUMN', @level2name = N'ELOZOTANEVIREKORDID';
GO
PRINT N'Dropping [dbo].[FK_Terem_Foglalkozas_TeremId_REF_Terem]...';
GO
ALTER TABLE [dbo].[T_TEREM_FOGLALKOZAS] DROP CONSTRAINT [FK_Terem_Foglalkozas_TeremId_REF_Terem];
GO
PRINT N'Dropping [dbo].[FK_Terem_Foglalkozas_FoglalkozasId_REF_Foglalkozas]...';
GO
ALTER TABLE [dbo].[T_TEREM_FOGLALKOZAS] DROP CONSTRAINT [FK_Terem_Foglalkozas_FoglalkozasId_REF_Foglalkozas];
GO
PRINT N'Dropping [dbo].[T_TEREM_FOGLALKOZAS]...';
GO
DROP TABLE [dbo].[T_TEREM_FOGLALKOZAS];
GO
PRINT N'Refreshing [dbo].[sp_DeleteAllTTF]...';
GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_DeleteAllTTF]';
GO
PRINT N'Refreshing [dbo].[uspTantargyfelosztasImport]...';
GO
EXECUTE sp_refreshsqlmodule N'[dbo].[uspTantargyfelosztasImport]';
GO
PRINT N'Refreshing [dbo].[uspOrarendImport]...';
GO
EXECUTE sp_refreshsqlmodule N'[dbo].[uspOrarendImport]';
GO
PRINT N'Update complete.';
GO