oracle Toad Sql 加载器 CTRL 文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12783521/
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
Toad Sql Loader CTRL file
提问by user803860
I am using SQL loader in Toad first time, how do i build CTRL file in SQl Loader wizard of toad. I have one table with one filed (ID) and i have a CSV file with one field (ID) i want to load that in table using SQL loader. Please Advise.
我第一次在 Toad 中使用 SQL 加载器,如何在 Toad 的 SQL 加载器向导中构建 CTRL 文件。我有一个带有一个字段(ID)的表,我有一个带有一个字段(ID)的 CSV 文件,我想使用 SQL 加载器将它加载到表中。请指教。
Database:- Oracle Thanks
数据库:- Oracle 谢谢
回答by user803860
I figured out we can. Its very simple, we can do Database--> Import SQL loader wizard--->Select build CTRL file (or use existing if u have one) option-->Then Add input fiel name in the next window, select yr txt or CSV file--->leave rest of the default options-->in next window leave default option--> Next add schema and table name you want to import data to, load meathod insert or update (depends wht yo are trying to do)-->terminated by EOF tab or comma->Next leave the default option-->Save contol file--> Just build ctrl file or execute to load.
我发现我们可以。很简单,我们可以做数据库-->导入SQL加载器向导--->选择构建CTRL文件(如果你有的话就使用现有的)选项-->然后在下一个窗口中添加输入文件名,选择yr txt或CSV 文件---> 保留其余的默认选项--> 在下一个窗口中保留默认选项--> 接下来添加要将数据导入到的架构和表名称,加载 method 插入或更新(取决于您尝试执行的操作) )-->以EOF选项卡或逗号终止->下一步保留默认选项-->保存控制文件-->只需构建ctrl文件或执行加载即可。