﻿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_TANARITANTARGY].[ID].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'ID';


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY].[C_INTEZMENYID].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'C_INTEZMENYID';


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY].[C_TANEVID].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'C_TANEVID';


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY].[TOROLT].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'TOROLT';


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY].[SERIAL].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'SERIAL';


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY].[LASTCHANGED].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'LASTCHANGED';


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY].[CREATED].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'CREATED';


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY].[MODIFIER].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'MODIFIER';


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY].[CREATOR].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'CREATOR';


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY].[ELOZOTANEVIREKORDID].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'ELOZOTANEVIREKORDID';


GO
PRINT N'Dropping [dbo].[T_TEREM_TANARITANTARGY].[ELOZOTANEVIREKORDID].[MS_Description]...';


GO
EXECUTE sp_dropextendedproperty @name = N'MS_Description', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'T_TEREM_TANARITANTARGY', @level2type = N'COLUMN', @level2name = N'ELOZOTANEVIREKORDID';


GO
PRINT N'Dropping [dbo].[FK_Terem_TanariTantargy_TanariTantargyId_REF_TanariTantargy]...';


GO
ALTER TABLE [dbo].[T_TEREM_TANARITANTARGY] DROP CONSTRAINT [FK_Terem_TanariTantargy_TanariTantargyId_REF_TanariTantargy];


GO
PRINT N'Dropping [dbo].[FK_TanariTantargy_IntezmenyId_REF_Intezmeny]...';


GO
ALTER TABLE [dbo].[T_TANARITANTARGY] DROP CONSTRAINT [FK_TanariTantargy_IntezmenyId_REF_Intezmeny];


GO
PRINT N'Dropping [dbo].[FK_TanariTantargy_TanevId_REF_Tanev]...';


GO
ALTER TABLE [dbo].[T_TANARITANTARGY] DROP CONSTRAINT [FK_TanariTantargy_TanevId_REF_Tanev];


GO
PRINT N'Dropping [dbo].[FK_TanariTantargy_AlkalmazottId_REF_Alkalmazott]...';


GO
ALTER TABLE [dbo].[T_TANARITANTARGY] DROP CONSTRAINT [FK_TanariTantargy_AlkalmazottId_REF_Alkalmazott];


GO
PRINT N'Dropping [dbo].[FK_TanariTantargy_TantargyId_REF_Tantargy]...';


GO
ALTER TABLE [dbo].[T_TANARITANTARGY] DROP CONSTRAINT [FK_TanariTantargy_TantargyId_REF_Tantargy];


GO
PRINT N'Dropping [dbo].[FK_Terem_TanariTantargy_TeremId_REF_Terem]...';


GO
ALTER TABLE [dbo].[T_TEREM_TANARITANTARGY] DROP CONSTRAINT [FK_Terem_TanariTantargy_TeremId_REF_Terem];


GO
PRINT N'Dropping [dbo].[T_TEREM_TANARITANTARGY]...';


GO
DROP TABLE [dbo].[T_TEREM_TANARITANTARGY];


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY_OSSZES]...';


GO
DROP VIEW [dbo].[T_TANARITANTARGY_OSSZES];


GO
PRINT N'Dropping [dbo].[T_TANARITANTARGY]...';


GO
DROP TABLE [dbo].[T_TANARITANTARGY];


GO
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloJogok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloJogok]';


GO
PRINT N'Refreshing [dbo].[sp_DeleteAllTTF]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_DeleteAllTTF]';


GO
PRINT N'Update complete.';


GO
