IF NOT EXISTS (
    SELECT * 
    FROM sys.columns 
    WHERE object_id = OBJECT_ID('wrk_sts') 
    AND name = 'wrk_sts_email_org'
)
BEGIN
	alter table wrk_sts
	add wrk_sts_email_org varchar(1)
END

Update wrk_sts set wrk_sts_email_org = '0' where wrk_sts_email_org = NULL
GO

DELETE	cf_label
WHERE	table_name = 'wrk_sts'
AND 	column_name = 'wrk_sts_email_org'
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, 'wrk_sts', 'wrk_sts_email_org', 
		'Email Originator:', 
		'Email Originator:', 
		'Email Originator', 
		'Email Originator', 
		'0', '0', 'admin', getdate() 
FROM	cf_language 
GO
