How to insert JSON data in PostgreSQL

preview_player
Показать описание
If you have a JSON dataset that you need to insert into PostgreSQL, this video showcase how you can perform it with a SQL statement.

00:00 Intro
00:13 Check the JSON data
00:32 Create the table containing the JSON(B) column
01:08 Insert the JSON data
01:53 What if the JSON is not correct?
02:29 Summary

Рекомендации по теме
Комментарии
Автор

In your json vs jsonb video you mentioned that with jsonb it is possible to update single fields within a json object. How do I do that? Nice content btw :)

toTheMuh
Автор

ciao Francesco, nice content, keep it up!

tonnoztech
Автор

how would you import entire files of data?

sebastianthegoat
Автор

Is there a way import a json file into PostGreSql using COPY command without using a temp table (assuming my destination table already exists)?

dashcamcaptures