Use teradata fastload

Source: Internet
Author: User

Step 1: First open teradata fastload.exe

Step 2: paste the import script

 

 

Script:

Sessions 4; errlimit 25; set record vartext ","; logon localhost/teradata_education, educate;/* localhost: IP address; teradata_education: User Name; educate: password */drop table pt_temp_p.rfm_label; drop table partition; Create Multiset table pt_temp_p.rfm_label (r varchar (20), f varchar (20), m varchar (20 ), CNT varchar (20), lab varchar (20); record 2; defineid0 (varchar (20), R (varchar (20), F (varchar (20 )), M (varchar (20), CNT (varchar (20), lab (varchar (20) file = C:/tmp/rfm_label.csv; /* Source File Location */begin loading pt_temp_p.rfm_labelerrorfiles values, values; insert into pt_temp_p.rfm_label values (: R,: F,: M,: CNT,: Lab); end loading; logoff;

Step 3: view the table in teradata:

Select *

From pt_temp_p.rfm_label;

 

 

For more details, see http://www.cnblogs.com/toughhou/p/3813668.html

 

Use teradata fastload

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.