UFN_ACCOUNTSTRUCTURE_TOTALLENGTH

Returns the total length of the account string based on each structure element

Return

Return Type
int

Definition

Copy


CREATE function dbo.UFN_ACCOUNTSTRUCTURE_TOTALLENGTH()
returns int
with execute as caller
as begin
  declare @LENGTH int
  select @LENGTH = sum(LENGTH) from dbo.PDACCOUNTSTRUCTURE
  return @LENGTH
end