Subject Re: [firebird-support] Looking for a Firebird Stored Procedure to return a string showing 1-20,24,26-27,30
Author Dimitry Sibiryakov
> Or any tips on how I might do it?

Keep current value iDebtNo and if new iDebtNo is one step bigger,
don't add it to string but form range.

SY, SD.