$Array[0] = undef; $sth = $dbh->prepare("INSERT into MYTABLE (mydate) VALUES(?)"); $sth->execute($Array[0]); #GIVES ODBC Error