UFN_PDACCOUNTSTRUCTURE_ACCOUNTCODELENGTH

Returns the length of the account code segment.

Return

Return Type
int

Definition

Copy


create function dbo.UFN_PDACCOUNTSTRUCTURE_ACCOUNTCODELENGTH()
returns integer
with execute as caller
as begin
    return (select LENGTH from PDACCOUNTSTRUCTURE WHERE SegmentType = 1)
end