﻿EXEC dev.uspDropDefaultConstraint @pTableName = 'T_AGAZATTIPUS', @pColumnName = 'C_AGAZATIBESOROLAS'
EXEC dev.uspDropDefaultConstraint @pTableName = 'T_AGAZATUJSZKTTIPUS', @pColumnName = 'C_AGAZATIBESOROLAS'

PRINT N'Altering Table [dbo].[T_AGAZATTIPUS]...';


GO
ALTER TABLE [dbo].[T_AGAZATTIPUS] DROP COLUMN [C_AGAZATIBESOROLAS];


GO
PRINT N'Altering Table [dbo].[T_AGAZATUJSZKTTIPUS]...';


GO
ALTER TABLE [dbo].[T_AGAZATUJSZKTTIPUS]
    ADD [C_AGAZATIBESOROLAS] INT NULL;

EXEC dev.uspCreateSchemaViews 'T_AGAZATTIPUS, T_AGAZATUJSZKTTIPUS'
GO
EXEC dev.sp_Global_GenerateAsyncAuditTriggerAll
GO
GO
PRINT N'Update complete.';


GO
