Hi, I'm trying to connect an ODBC table to a local table.. so if I have 2000 record in the local table, I would expect to match to the ODBC table and get 2000 records from it. here is the code I have (below) but for some reason I get way more than 2000 records..since the ODBC table has 50,000... what am I doing wrong? thanks rsubmit; PROC SQL; connect to teradata(user=&user. password=&password. Mode=Teradata tdpid=sdf); create table A.Data (compress=yes reuse=yes) as (select a.v_respn_no, a.*, b.* from A.Local_Table a inner join (Select * from connection to teradata (select * from ODBC.Table2 where l_r_id = 'y')) b on a.evnt_id = b.evnt_id and a.evnt_sys_id = b.evnt_sys__id group by 1 ); quit; endrsubmit;
... View more