IF NOT EXISTS (
    SELECT * 
    FROM sys.columns 
    WHERE object_id = OBJECT_ID('dft_mst') 
    AND name = 'dft_mst_dft_wo_appr_status'
)
BEGIN
    ALTER TABLE dft_mst
    ADD dft_mst_dft_wo_appr_status varchar(3) NULL
END


DELETE	cf_label
WHERE	table_name = 'dft_mst'
AND 	column_name = 'dft_mst_dft_wo_appr_status'
GO

INSERT 	cf_label (language_cd, table_name, column_name, 
		default_label,
		customize_label, 
		default_header, 
		customize_header, 
		cfr_flag, cf_label_required, audit_user, audit_date ) 
SELECT 	language_cd, 'dft_mst', 'dft_mst_dft_wo_appr_status', 
		'Default WR Approval WO Status:', 
		'Default WR Approval WO Status:', 
		'Default WR Approval WO Status', 
		'Default WR Approval WO Status', 
		'0', '0', 'admin', getdate() 
FROM	cf_language 
GO