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.

26 lines
1.1 KiB

1 year ago
  1. USE [FastMoneyPro_Remit]
  2. GO
  3. /****** Object: StoredProcedure [dbo].[proc_GetInformationForPartners] 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 PROCEDURE [dbo].[proc_GetInformationForPartners]
  9. @flag varchar(30) =NULL,
  10. @email varchar(30) =NULL,
  11. @cid int = NULL
  12. AS
  13. IF @flag = 'countrycode'
  14. BEGIN
  15. SELECT cm.countryCode
  16. FROM countryMaster cm(NOLOCK)
  17. WHERE cm.countryId = @cid
  18. END
  19. ELSE IF @flag ='createddate'
  20. BEGIN
  21. SELECT cm.createdDate
  22. FROM customerMaster(NOLOCK) cm
  23. WHERE cm.email = @email
  24. END
  25. GO