简体   繁体   中英

Using ODBC in SAS to Access Teradata

I am thinking of using SAS and would like to know:

Is it possible to use ODBC to access a Teradata database in SAS ?

I know that accessing MS Access using ODBC in SAS is possible, and accessing Teradata with Excel VBA using ODBC is possible, but I can not find anything for SAS with Teradata and ODBC .

connecting to Teradata by connect statement can be done by connect statement as shown below.

  proc sql ;
  connect to teradata (server=server user=user pw=pw );
  create table work.emp as
  (select *
 from connection to teradata
 (select a.*,
  row_number()over(partition by deptno order by hiredate) as rn from
 prod_targetdb.customer_table a
 ));
disconnect from teradata;
quit;

looks like connect to ODBC will also work but looks like it has more limitations, like fastload capability and others, please look into the page 24 in the link given below

https://www.cs.purdue.edu/homes/ake/courses/cs590w/SASACCESS.pdf

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM