﻿GO
SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON;

SET NUMERIC_ROUNDABORT OFF;


GO
/*
The type for column C_FELADATELLATASIHELYID in table [stage].[T_TANULOADATOK_STAGE] is currently  CHAR (1) NULL but is being changed to  INT NULL. Data loss could occur.


IF EXISTS (select top 1 1 from [stage].[T_TANULOADATOK_STAGE])
    RAISERROR (N'Rows were detected. The schema update is terminating because data loss might occur.', 16, 127) WITH NOWAIT*/

DELETE FROM [stage].[T_TANULOADATOK_STAGE]

GO
PRINT N'Altering [stage].[T_TANULOADATOK_STAGE]...';


GO
ALTER TABLE [stage].[T_TANULOADATOK_STAGE] ALTER COLUMN [C_FELADATELLATASIHELYID] INT NULL;


GO
PRINT N'Update complete.';


GO
