UFN_MERCHANTACCOUNT_GETDEFAULTCARDPRESENTACCOUNTCOUNT

Returns the number of merchant accounts marked as the default card present account.

Return

Return Type
int

Definition

Copy


        create function dbo.UFN_MERCHANTACCOUNT_GETDEFAULTCARDPRESENTACCOUNTCOUNT()
            returns int
            as begin
                return (select count(*) from dbo.MERCHANTACCOUNT where ISDEFAULTCARDPRESENTACCOUNT = 1);
            end