Re: Why not used standart SQL commands?

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Why not used standart SQL commands?
Дата
Msg-id c62f2d1c-906a-87c4-9fe7-515353a39dda@aklaver.com
обсуждение исходный текст
Ответ на Why not used standart SQL commands?  (Ali Koca <kinetixcicocuk@gmail.com>)
Список pgsql-general
On 1/8/22 10:25, Ali Koca wrote:
> Hello,
> 
> I'm seeing \dt used for "show tables", \l used for "show databases". Why
> not standart SQL syntax words? Why specified PostgreSQL commands?
> I can't figure out that.

AFAIK, SHOW TABLES is a MySQL thing.

See here:

https://www.sqltutorial.org/sql-list-all-tables/


If you are looking for a 'standard' method then look at:

https://www.postgresql.org/docs/current/information-schema.html

in particular:

https://www.postgresql.org/docs/current/infoschema-tables.html



> 
> Ali
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Why not used standart SQL commands?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Why not used standart SQL commands?