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.

24 lines
958 B

1 year ago
  1. USE [FastMoneyPro_Remit]
  2. GO
  3. /****** Object: StoredProcedure [dbo].[proc_INFICARE_payTxn] Script Date: 9/27/2019 1:30:14 PM ******/
  4. SET ANSI_NULLS ON
  5. GO
  6. SET QUOTED_IDENTIFIER ON
  7. GO
  8. CREATE proc [dbo].[proc_INFICARE_payTxn]
  9. @flag VARCHAR(50) = NULL
  10. ,@tranIds VARCHAR(MAX) = NULL
  11. AS
  12. SET NOCOUNT ON
  13. IF @flag = 'p'
  14. BEGIN
  15. CREATE TABLE #tranIdTable(tranId BIGINT)
  16. INSERT INTO #tranIdTable
  17. SELECT val FROM dbo.SplitXML(',', @tranIds)
  18. END
  19. GO