![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Accessing Access DB with DBIby Rhose (Priest) |
on Jun 03, 2004 at 20:52 UTC ( #360490=note: print w/replies, xml ) | Need Help?? |
Here is some code I have for connecting to Access:
And here is some code I have for connecting to MS SQL Server:
Please note... ExitProg is a sub I use, and is probably not in your program. *Smiles* Also, you will need to fill in the blanks for $Database and $Server as well as set your own value for $DBH->{LongReadLen} (if you use "memo" fields). One more also... I have "undef, undef" for username and password... if you need those, they are important to fill in. *Grins* (The example snippet was from a program which used Windows authentication to the database.)
In Section
Seekers of Perl Wisdom
|
|