in reply to Re^3: $hour_insert_sth->execute showing error
in thread $hour_insert_sth->execute showing error

my $sql = "insert into esme_hourly_master values (?,?,?,?,?,?,?,?,?,now(),?";

U misses the ')' to close the values. Or it's like that only