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.
↧