'How to extract data from a sql schema file?

I have a exported sql schema file. (similar to what we have here https://livesql.oracle.com/apex/livesql/file/content_O5AEB2HE08PYEPTGCFLZU9YCV.html)

This file is having all Create table and insert values commands.

I want to export all the database to a CSV or JSON format.

Is there a way to achieve the same?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source