in reply to Re^2: Writing NULL values to a MySQL record via DBI
in thread Writing NULL values to a MySQL record via DBI
Just fill out the rest and you should be fine, so long as your schema definition allows NULL values.my $mo_raw_sql = " REPLACE INTO met_office_raw_data SET observation_datetime_utc = ?, observation_datetime_local = ? "; my $mo_raw = $dbh->do( $mo_raw_sql, undef, $file_obs_datetime_utc, $file_obs_datetime_local, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Writing NULL values to a MySQL record via DBI
by ureco (Acolyte) on Feb 26, 2015 at 22:49 UTC | |
by Anonymous Monk on Feb 26, 2015 at 22:59 UTC | |
by ureco (Acolyte) on Feb 26, 2015 at 23:12 UTC | |
by Anonymous Monk on Feb 26, 2015 at 23:25 UTC | |
by ureco (Acolyte) on Feb 26, 2015 at 23:31 UTC | |
|