my $sql = 'SELECT whatever ...'; print "Statement: [$sql\n]"; $sth = $dbh->do($sql);