﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Teradata  / Teradata Advanced Analytics User Group  / SAS/ACCESS to TERADATA / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Teradata Forums</description><link>http://www.teradata.com/teradataforum/</link><webMaster>info@teradata.com</webMaster><lastBuildDate>Sat, 21 Nov 2009 16:04:53 GMT</lastBuildDate><ttl>20</ttl><item><title>SAS/ACCESS to TERADATA</title><link>http://www.teradata.com/teradataforum/Topic14598-22-1.aspx</link><description>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 usingconnect to teradata (user ='user pwd = 'xxxxx' server ='SERVER' connection = 'global');I am trying something like thisproc sql;connect to teradata (user ='user pwd = 'xxxxx' server ='SERVER' connection = 'global');execute (create volatile table abc as (select distinct COLUMN1 from DATABASE1.TABLE1 UNIONselect 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 statementI am getting the error:ERROR: Teradata execute: Request aborted by TDWM. Exception criteria exceeded:   CPU Time, CPU Disk Ratio.</description><pubDate>Fri, 27 Feb 2009 23:45:12 GMT</pubDate><dc:creator>preeti1234</dc:creator></item></channel></rss>