Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to link Ms-access data's in perl

by gube (Parson)
on Apr 05, 2005 at 07:23 UTC ( #444882=note: print w/ replies, xml ) Need Help??


in reply to How to link Ms-access data's in perl

Hi try this,

Before doing this install DBD-ODBC module in your system. Add database in ODBC before run this perl code

use DBI; # MAPDSN is database name $dbh = DBI->connect('dbi:ODBC:MAPDSN'); #pii is table name $access="SELECT aid,piino FROM pii"; $sth = $dbh->prepare($access); $sth->execute(); while (@row=$sth->fetchrow_array) { $pii = $row[0]; $pii1 = $row[1]; $pii{$pii}=$pii1; }

Regards,
Gube.


Comment on Re: How to link Ms-access data's in perl
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2014-10-25 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls