In any version of Sybase you can use stored procedures easily to return a value back, like any user-defined function. In Sybase, the functionality of "user defined function" is incorporated in stored procedure.
Dig Deeper on Linux servers
Related Q&A from Mich Talebzadeh
Sybase expert Mich Talebzadeh explains how to log on in ASE. Continue Reading
Sybase expert Mich Talebzadeh gives fifteen reasons for why Sybase will definitely be around for years to come. Continue Reading
Sybase expert Mich Talebzadeh explains how to access stored Sybase data using Perl resources. Continue Reading