
--Migration_RCCP_20250317_085555.txt
DECLARE @var0 nvarchar(128)
SELECT @var0 = name
FROM sys.default_constraints
WHERE parent_object_id = object_id(N'dbo.FFCounterCameraHCs')
AND col_name(parent_object_id, parent_column_id) = 'DateTime';
IF @var0 IS NOT NULL
    EXECUTE('ALTER TABLE [dbo].[FFCounterCameraHCs] DROP CONSTRAINT [' + @var0 + ']')
ALTER TABLE [dbo].[FFCounterCameraHCs] ALTER COLUMN [DateTime] [datetime] NOT NULL

--Migration_RCCP_20250317_091846.txt
DECLARE @var0 nvarchar(128)
SELECT @var0 = name
FROM sys.default_constraints
WHERE parent_object_id = object_id(N'dbo.FFCounterCameraHCs')
AND col_name(parent_object_id, parent_column_id) = 'DateTime';
IF @var0 IS NOT NULL
    EXECUTE('ALTER TABLE [dbo].[FFCounterCameraHCs] DROP CONSTRAINT [' + @var0 + ']')
ALTER TABLE [dbo].[FFCounterCameraHCs] ALTER COLUMN [DateTime] [datetime] NOT NULL
