CREATE PROCEDURE MigrateEmployee -- Add the parameters for the stored procedure here AS BEGIN DECLARE @errorMessage aS VARCHAR(MAX) -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; -- Insert statements for procedure here BEGIN TRY --Insert record to Migrated Table END TRY BEGIN CATCH END CATCH --Insert record to Migrated table with error message END
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)