From my recollection of temporary tables in Sybase ASE, there are two types though I don't recall them being referred to as "Global" and "Local".
Session specific temporary tables are the ones named with a "hash" or "pound sign", #. Such as #foo.
create table #foo (
id int not null,
value varchar(255) not null)
go
Permanent temporary tables created and remain in your temporary database until they are dropped or the Sybase ASE instance is restarted. The tables are stored in the model database, they will be created on restart as well, but they will also appear in a any newly created databases too.
Permanent temporary tables are named similarly to tables in any other user defined database. They do not have the leading #.
use tempdb
go
create table foo (
id int not null,
value varchar(255) not null)
go
Further documentation can be found here:
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc32300.1600/doc/html/san1390612248829.html