SAS/ACCESS to TERADATA
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


SAS/ACCESS to TERADATA Expand / Collapse
Author
Message
Posted 2/27/2009 11:45:12 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/28/2009 12:13:46 AM
Posts: 3, Visits: 2
Hi,

I want to know how can we join two tables in two different database in teradata server using PROC SQL.

Inside PROC SQL I am connecting to teradata using
connect to teradata (user ='user pwd = 'xxxxx' server ='SERVER' connection = 'global');
I am trying something like this

proc sql;
connect to teradata (user ='user pwd = 'xxxxx' server ='SERVER' connection = 'global');
execute (create volatile table abc as
(select distinct COLUMN1 from DATABASE1.TABLE1
UNION
select distinct COLUMN2 from DATABASE2.TABLE2
)
) with data on commit preserve rows)
by teradata;
execute (commit work) by teradata;
quit;
Now how do I define two different database in same server in connect to teradata statement

I am getting the error:
ERROR: Teradata execute: Request aborted by TDWM. Exception criteria exceeded: CPU Time, CPU Disk Ratio.


Preeti
Post #14598
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 1 ( 1 guest, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 2:16am

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.094. 9 queries. Compression Disabled.