ANTON KADACH

Generation

text to sql syntaxTue, 17 Jan 2023

Выгрузить все столбцы таблиц с описанием типов полей по группам типов. postgresql

select ordinal_position, column_name, data_type, character_maximum_length, numeric_precision, numeric_precision_radix, numeric_scale, is_nullable::boolean from information_schema.columns where table_schema = 'public' order by data_type

Questions about programming?Chat with your personal AI assistant