text: IF NOT EXISTS (
  		SELECT *
  		FROM sys.objects
  		WHERE object_id = OBJECT_ID(N'dw.p_lataa_f_yo_rekrytointi_valitut')
  			AND type IN (N'P',N'PC')
  		)
  BEGIN
  	EXEC dbo.sp_executesql @statement = N'CREATE PROCEDURE dw.p_lataa_f_yo_rekrytointi_valitut AS'
  END
  