jimb has asked for the wisdom of the Perl Monks concerning the following question:
select * from dbms where "System Status" = 'active'
I tried using double quotes around the column names, but without success.
Also, I did read about using {col_names => 'a, b,c'}; however, since the file comes from an external source, column placement may vary (yet the column names remain the same).
One solution is to pre-process the file by replacing the spaces with underscores, etc. But I am looking a better solution. Any suggestions are welcomed. Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: AnyData and Column Names with Spaces
by linuxer (Curate) on Mar 21, 2009 at 20:36 UTC | |
|
Re: AnyData and Column Names with Spaces
by hangon (Deacon) on Mar 22, 2009 at 18:03 UTC | |
|
Re: AnyData and Column Names with Spaces
by jimb (Novice) on Mar 23, 2009 at 21:16 UTC | |
by rehsack (Sexton) on Jun 03, 2010 at 18:23 UTC |