my $sql="SELECT * FROM sometable WHERE something"; $sth=$dbh->prepare($sql); $sth->execute; #### my $sql="SELECT * FROM sometable WHERE something"