in reply to Perl using SQL placeholders issue
#$bet = "and CONVERT(CHAR(10),tdate,101) between '?' and '?'";
try
my @args; ... $bet = "and CONVERT(CHAR(10),tdate,101) between ? and ?"; # ^ ^ # not quoted push @args, $fromdate, $today;
And then pass @args to the exec_select call.
|
|---|