How to see where the default database is configured for a particular username or login name? Once I connect to a database server without specifying a particular database, e.g. with:

sqsh -Usomeuser -Ssomeserver


&hellip; I can do a:

select db_name();


&hellip; to see the default database for this user. But where is this information kept and / or how can I see the default databases configured for every user name or login name?
Running the following code shows the default database on ASE:

SELECT sl.name
    , sl.dbname
FROM syslogins sl
ORDER BY sl.name;