how to create an insert script from a table using TOAD, oracle?

Karim Oukara picture Karim Oukara · Oct 9, 2012 · Viewed 80.9k times · Source

I used TOAD for oracle 11g, I want to create an insert script from a table. or I want to create a script file that allows eclipse to rebuild the entire database with their data.

Answer

Karim Oukara picture Karim Oukara · Oct 9, 2012

the solution is :

data base > schema browser

then I select a table in :

> my schema > tables > my_table

to export the script to allow you to create your table :

script > (copy past the create table part)

to export alla data :

>data > export dataset (blue icone) > export format : insert statement (and specify the output file)

then you can regroup the two script in a single script.sql (in order)