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

Date variable to be applied to all date prompts - Teradata - response (1) by dnoeth

$
0
0
Check the SQLA help topic "Parameterized Queries". In SQL Assistant you can define a parameter and use it multiple times within a request.  select date '?dateparam', ... from tab where datecol between date '?dateparam' and date '?dateparam' + 3 Make shure Options - Query - "Allow use of Named Parameters in queries" is checked. Dieter  

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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