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

USE [FastMoneyPro_Remit]
GO
/****** Object: StoredProcedure [dbo].[proc_GetInformationForPartners] Script Date: 9/27/2019 1:30:14 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[proc_GetInformationForPartners]
@flag varchar(30) =NULL,
@email varchar(30) =NULL,
@cid int = NULL
AS
IF @flag = 'countrycode'
BEGIN
SELECT cm.countryCode
FROM countryMaster cm(NOLOCK)
WHERE cm.countryId = @cid
END
ELSE IF @flag ='createddate'
BEGIN
SELECT cm.createdDate
FROM customerMaster(NOLOCK) cm
WHERE cm.email = @email
END
GO