Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Does Teradata support database/schema aliases - response (1) by Adharssh

$
0
0

Hi,
 
Can you please elaborate on the Query? From the understanding it seems that You need to populate data into Schema/DB Prod from Test Schema/Db. If the owner of the Procedure has access to both the PROD & TEST Schemas. He will be able to access data.
There is a keyword called 'DATABASE <<DB_NAME>>;'
The below query will make the default database to TEST. So whatever tables if we use,it will try to  search in TEST Schema.

DATABASE TEST;

 
The below query will make the default database to PROD. So whatever tables if we use,it will try to  search in PROD Schema.

DATABASE PROD;

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>