Sqlcmd list tables in database. Here is how to use it to list down all the tables.