Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: error returned in Win32::OLE module with mdb file's tables and cloumns having whitespace characters in their names.

by strat (Canon)
on Apr 09, 2008 at 07:53 UTC ( #679171=note: print w/ replies, xml ) Need Help??


in reply to error returned in Win32::OLE module with mdb file's tables and cloumns having whitespace characters in their names.

Try [-braces around the column names, e.g

my $string = "SELECT [col 1], [col 2], col3 ...";

and then use "col 1" as hash keys, e.g

my $value1 = $RS->Fields("col 1")->value;

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"


Comment on Re: error returned in Win32::OLE module with mdb file's tables and cloumns having whitespace characters in their names.
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://679171]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-09-01 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls