show databases; ==> to display all databases connect [database name] ==> to connect to the specified database show tables; ==> to display all tables Describe [table name] ==> to describe a table in the selected database
Tony
You tried the following command in SQL+: select * from cat where table_type='TABLE';
Manu
Thank you very much, that works.
nourane
It works for me this order.
nourane
Désolé, ça ne marche pas.
Claude
It only works with administrator rights.
theo
Nyoko
ecco
Hello
Indeed, select * from tab; it works, thank you -- Love gives you a second life, the key is knowing how to seize it and ensuring you keep it.
l0r3nz1
Hi, unfortunately, that's the kind of request that doesn't work everywhere. With Access, it generates an error like the table TAB does not exist!
HUGOBOSS00
And for Oracle, how do we do it??
ziedto83
Hello, is there anyone who knows how we can list the tables of a SQL Server database? Thank you in advance.
DD-10291
We start by selecting the database: use databaseName; show tables; and that's it.
WwiloO
```sql
SELECT table_name FROM information_schema.tables WHERE table_type = 'BASE TABLE'
```