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

DELETE	cf_label
WHERE	table_name = 'mtr_ls1'
AND 	column_name = 'mtr_ls1_asset_no'
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, 'mtr_ls1', 'mtr_ls1_asset_no', 
		'Asset Number:', 
		'Asset Number:', 
		'Asset Number', 
		'Asset Number', 
		'0', '0', 'admin', getdate() 
FROM	cf_language 
GO
