in reply to SQL Insert with blank in the middle
See quote but better would be to use a parameter:
$dbh2->do("INSERT INTO PerlTest (Postcode,street_column,streetCount) V +ALUES ('',?,0)", undef, $mystreet);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SQL Insert with blank in the middle
by CountZero (Bishop) on Jul 08, 2010 at 08:19 UTC | |
by JavaFan (Canon) on Jul 08, 2010 at 09:22 UTC | |
by mje (Curate) on Jul 08, 2010 at 12:09 UTC | |
by amedico (Sexton) on Jul 11, 2010 at 17:49 UTC | |
by Jenda (Abbot) on Jul 08, 2010 at 09:22 UTC | |
by CountZero (Bishop) on Jul 08, 2010 at 13:04 UTC | |
by Jenda (Abbot) on Jul 08, 2010 at 13:26 UTC | |
by CountZero (Bishop) on Jul 08, 2010 at 20:28 UTC | |
| |
by dredwerker (Initiate) on Jul 09, 2010 at 08:19 UTC | |
by mje (Curate) on Jul 12, 2010 at 09:21 UTC |