fnMerchantAccountUsage
Return
| Return Type |
|---|
| int |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @MerchantAccount | int | IN |
Definition
Copy
CREATE Function [dbo].[fnMerchantAccountUsage](@MerchantAccount int) returns integer as
begin
declare @output bit
set @output = 0
select @output=1 where EXISTS(select * from MerchantAccountUsage MAU where MAU.MerchantAccountID = @MerchantAccount)
return @output
end