Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

How to Parameterize DATABASE name in BTEQ - topic by cnaveen05

$
0
0
Hi,   I have a windows batch file calling a BTEQ statement as below :-   .RUN FILE C:\Teradata\BTEQ\Logon.txt; select * from  DWTEST.CBI_NAV_TEST; .LOGOFF .EXIT   I want to parameterize the database name such that I dont have to hardcode the DB name explicitly something like this   select * from  &DWTEST.CBI_NAV_TEST;   Then at run time pass the parameter which would say &DWTEST = DWTEST so that the SQL executes without any issue. 

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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