Detecting the Sybase DBMS version
The following SQL query will return your Sybase version --
SELECT @@VERSION
Referenced by...
The following SQL query will return your Sybase version --
SELECT @@VERSION