如何使用TOAD,oracle从表中创建插入脚本?(how to create an insert script from a table using TOAD, oracle?)

编程入门 行业动态 更新时间:2024-10-28 02:32:05
如何使用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_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)

更多推荐

本文发布于:2023-08-06 13:01:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1448497.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何使用   脚本   oracle   TOAD   table

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!