oracle 使用 Toad 从现有表创建表脚本
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12032164/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Create Table script from exisiting table using Toad
提问by Reddy
I am new to toad and certainly db management if not my job. I am Java Developer, where I have a scenario to create tables in test environment which are exact copy of another environment from another db.
如果不是我的工作,我是蟾蜍的新手,当然还有数据库管理。我是 Java 开发人员,我有一个场景在测试环境中创建表,这些表是另一个数据库中另一个环境的精确副本。
I have access to both tables with all permissions. All I need to do is, Get an exact copy of CREATE Table structure from Dev environment table to test environment.
我可以使用所有权限访问这两个表。我需要做的就是从开发环境表到测试环境获取 CREATE 表结构的精确副本。
Please guide me to do this.
请指导我这样做。
Db: Oracle Toad Free ware 11.x
数据库:Oracle Toad 免费软件 11.x
Note: Table data is not required. Needed only table columns and constraints etc.
注意:不需要表格数据。只需要表列和约束等。
回答by Sathyajith Bhat
Hit F4after entering your table name -> Click on Script tab, you'll get the DDL statements.
击F4进入你的表名后- >点击脚本选项卡上,你会得到的DDL语句。

