Re: Decomposing xml into table

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Decomposing xml into table
Дата
Msg-id 042ca9e3-85b2-f6fd-bb99-335078635c14@gmx.net
обсуждение исходный текст
Ответ на Re: Decomposing xml into table  (Surafel Temesgen <surafel3000@gmail.com>)
Ответы Re: Decomposing xml into table
Список pgsql-hackers
Surafel Temesgen schrieb am 23.06.2020 um 13:59:
>> Did you try the xmltable function?
>
> yes i know it  but i am proposing changing given xml data in to
> relational form and insert it to desired table at once
Well, xmltable() does change the XML data to a relational form and
the result can directly be used to insert into a table

   insert into target_table (...)
   select ...
   from xmltable(...);




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