top of page

SQL developer for PostgreSQL

Открытая·2 пользователя

Node Information_schema for PostgreSQL


[EN]

An information schema consists of a set of views containing information about the objects defined in the current database.

SELECT oid,

relname as "Name"

FROM pg_catalog.pg_class

where relnamespace = (select oid

from pg_catalog.pg_namespace n

where nspname = 'information_schema')

and relkind in ('r','v','m')

order by 2

Menu

  • Copy name - copy the object name to the clipboard

  • Create code [select] - generate the text of the request for the object (the select phrase displays the names of all fields)

  • Data - display data from the table (Data tab of the sheet)



[RU]

Информационная схема состоит из набора представлений, содержащих информацию об объектах, определённых в текущей базе данных.

SELECT oid,

relname as "Name"

FROM pg_catalog.pg_class

where relnamespace = (select oid

from pg_catalog.pg_namespace n

where nspname = 'information_schema')

and relkind in ('r','v','m')

order by 2

Меню
  • Copy name - скопировать имя объекта в буфер обмена

  • Create code [select] - сформировать текст запроса к объекту (во фразе select выводятся имена всех полей)

  • Data - отобразить данные из таблицы (вкладка Data листа) 

6 просмотров

О группе

Добро пожаловать в группу! Общайтесь с другими участниками, получайте обновления и делитесь фото и видео.

Участники

bottom of page