jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
In which @cols is the array with a value for each placeholder.$sth->execute(@cols) ;
....$cols[0] = undef ; # gives default value of that column $cols[1] = 'NULL' ; # interpreted as string...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MySQL: placeholders and NULL values
by japhy (Canon) on May 02, 2006 at 13:24 UTC | |
|
Re: MySQL: placeholders and NULL values
by davidrw (Prior) on May 02, 2006 at 13:24 UTC | |
by jeanluca (Deacon) on May 02, 2006 at 13:52 UTC | |
by bart (Canon) on May 02, 2006 at 14:39 UTC | |
by jeanluca (Deacon) on May 02, 2006 at 14:52 UTC | |
by japhy (Canon) on May 02, 2006 at 14:53 UTC | |
by cwry (Monk) on May 03, 2006 at 00:37 UTC | |
by japhy (Canon) on May 03, 2006 at 05:12 UTC | |
|
Re: MySQL: placeholders and NULL values
by jeanluca (Deacon) on May 02, 2006 at 15:38 UTC |