Minor fix (Sybase Adaptive Server Anywhere doesn't have support for tempdb_id())