You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
USE [FastMoneyPro_Remit] GO /****** Object: StoredProcedure [dbo].[proc_AddFunction] Script Date: 7/4/2019 11:35:48 AM ******/ DROP PROCEDURE [dbo].[proc_AddFunction] GO /****** Object: StoredProcedure [dbo].[proc_AddFunction] Script Date: 7/4/2019 11:35:48 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE proc [dbo].[proc_AddFunction] ( @FunctionId VARCHAR(8) ,@ParentFunctionId VARCHAR(8) ,@FunctionText VARCHAR(200) ) AS IF NOT EXISTS (SELECT 'X' FROM applicationFunctions WHERE functionId = @FunctionId) BEGIN INSERT INTO applicationFunctions (functionId, parentFunctionId, functionName) SELECT @FunctionId, @ParentFunctionId, @FunctionText PRINT 'Added function ' + @FunctionId END
GO
|