IF not exists (Select * From sysobjects Where name = 'FK_local_option_print_local_option')
begin
	ALTER TABLE [dbo].[local_option_print] ADD 
		CONSTRAINT [FK_local_option_print_local_option] FOREIGN KEY 
		(
			[AutoId]
		) REFERENCES [dbo].[Local_option] (
			[AutoId]
		) ON DELETE CASCADE 
end
