UFN_MARRIAGERULE_ROWCOUNT

Returns the number of rows in the marriage rule table.

Return

Return Type
int

Definition

Copy


create function dbo.UFN_MARRIAGERULE_ROWCOUNT()
returns int
as 
begin
  return (select count(ID) from dbo.MARRIAGERULE)
end