view list of tables in database on ms sql server linux code example Example: get database list in sql server SELECT name FROM master.dbo.sysdatabases