in reply to Re^3: Reading (the same) data in different ways & memory usage
in thread Reading (the same) data in different ways & memory usage
If the target fields in the database are of type CHAR (not VARCHAR), you can make DBI do so by:
$dbh->{ChopBlanks} = 1;Some DBD's do extend this behavior to VARCHAR fields (when the database it too stupid to do so itself, as the ANSI standard tells it to) or when VARCHAR effectively is a CHAR internally (because the database doesn't support VARCHAR).
YMMV
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Reading (the same) data in different ways & memory usage
by BrowserUk (Patriarch) on Apr 19, 2011 at 19:27 UTC | |
by Tux (Canon) on Apr 20, 2011 at 05:56 UTC | |
by BrowserUk (Patriarch) on Apr 20, 2011 at 11:40 UTC |