In the version 12.5, a segment in Sybase cannot be shrunk. Therefore, we cannot use sp_helpsegment to determine how much space there is in a segment. After purging data from a database, the result keeps from the same while using this stored procedure.
Any other approach?
Any input will be more than welcome!