Convert JSON file to DB file

Sela 126 Reputation points
2022-01-17T11:06:26.997+00:00

Dear Sir or Madam,

Is it possible to convert a JSON file into a DB file? If yes, I would be very grateful for an answer with a possible solution.

Best regards

Azure SQL Database
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
986 questions
SQL Server Other
{count} votes

Accepted answer
  1. Seeya Xi-MSFT 16,586 Reputation points
    2022-01-18T06:25:11.487+00:00

    Hi @Sela ,

    In addition to the documentation provided by Olaf, I recommend you read this article, which includes screenshots for easy understanding.
    See: Import JSON data into SQL Server

    Best regards,
    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2022-01-17T11:16:19.043+00:00

    You can not directly "convert" JSON into somekind of database file.

    But you can query JSON to get the data to insert into a database table.
    See Parse and Transform JSON Data with OPENJSON (SQL Server)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.