Quantcast
Channel: Toad Data Point Forum - Recent Threads
Viewing all articles
Browse latest Browse all 2544

RE: TDP 4.2 Set Variable with date into string

$
0
0

Another thing you can do is concatonate a character in front of the date string in the sql i.e. select 'R' || to_char(trunc(sysdate, 'month'), 'DD/MM/YYYY').  Then set your test variable to right(#VROD..., 10) or replace(#VROD..., "R", "") to make Toad see the result as string instead of numeric.


Viewing all articles
Browse latest Browse all 2544

Trending Articles



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