如何使用TOAD,oracle从表中创建插入脚本?(how to create an insert script from a table using TOAD, oracle?)
我使用TOAD for Oracle 11g,我想从表中创建一个插入脚本。 或者我想创建一个脚本文件,允许eclipse用他们的数据重建整个数据库。
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.
最满意答案
解决方案是:
data base > schema browser
然后我选择一个表格:
> my schema > tables > my_table导出脚本以允许您创建表格:
脚本>(复制create table部分)
导出alla数据:
>data > export dataset (blue icone) > export format : insert statement (and specify the output file)那么你可以在一个script.sql中重新组合这两个脚本(按顺序)
the solution is :
data base > schema browser
then I select a table in :
> my schema > tables > my_tableto 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)
更多推荐
发布评论