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

Date variable to be applied to all date prompts - Teradata - topic by DataHead

$
0
0
Hi, I have a long script Teradata SQL in SQL Assistant 13.11 that has about 20 places where a date is used, each time I run it, I need to change the dates manually & want to name the Date at the Start & add the variable name instead of the date to save work (& mistakes). One thing though, the date appears in both 'YYYY-MM-DD' & also 'YYYY-MM-DD HH:MM:SS' Format. I don't mind if I have to create & change 2 variables at the start - one for each Format type as it would still be better. Thanks 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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