sp_helpdb

sp_helpdb output includes information about the durability of a user-created temporary database.

The status column of sp_helpdb includes these descriptions for database durability:
For example, if you create this database:
create temporary database tempdb_explicit on default = 50 
with durability = no_recovery
sp_helpdb includes this output:
sp_helpdb tempdb_explicit
 name db_size owner dbid created durability lobcomplvl inrowlen status 
 ---- ------- ----- ---- ------- ---------- ---------- -------- ------ 
 
 tempdb_explicit  50.0 MB  sa  7    Dec 05, 2012 no_recovery  0  NULL
         select into/bulkcopy/pllsort, trunc log on chkpt, 
         mixed log and data, user-created enhanced performance 
         temp db, allow wide dol rows 

(1 row affected)
device_fragments   size      usage         created          free  kbytes 
----------------- ------ -------------- ------------------ ------------- 
 master          50.0 MB  data and log  Dec 5 2012 8:49PM    49216 
(return status = 0)

Earlier versions of sp_helpdb did not indicate whether user-created temporary databases were explicitly created with a durability of no_recovery.