in reply to Managing Dynamic SQL
my %where = (); $where{time} = $time if $time; $where{date} = $date if $date; my $SA = SQL::Abstract->new(); my ($whereSql, @whereBind) = $SA->where(\%where); # also look at the $SA->select(), $SA->update(), etc methods
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Managing Dynamic SQL
by bart (Canon) on Jun 26, 2005 at 11:30 UTC |