Re: create tables using the application metadata

Поиск
Список
Период
Сортировка
От Ron
Тема Re: create tables using the application metadata
Дата
Msg-id 747bdd32-a2ed-2aad-9204-53b03bd8d58f@gmail.com
обсуждение исходный текст
Ответ на create tables using the application metadata  (Nikhil Ingale <niks.bgm@gmail.com>)
Список pgsql-admin
On 10/28/22 02:43, Nikhil Ingale wrote:
> Hi All,
> I've metadata tables of our application where we have all tables,columns 
> and constraints information about each table stored.
>
> How do I generate the CREATE TABLE sql scripts to generate schema using 
> our application metadata table?

Depending on how your metadata tables are organized, use either the format() 
function embedded in a SELECT statement, or have your application generate 
dynamic SQL.

-- 
Angular momentum makes the world go 'round.



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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: failed to create directory in postgresql
Следующее
От: Teja Jakkidi
Дата:
Сообщение: Duplicate data even with primary keys enabled