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

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