I know that I used DBI since I have a ‘use DBI’ statement in my Perl module. However, I do not know if I have used DBD::mysql since I have made no reference to it. If it is of any help to solve this question my ‘connection’ statement is of the following form $dbh = DBI->connect($dsn, ‘user’, ‘password’) where $dsn includes a reference to ‘DBI:mysql:host, the host name and the data base name.
If I am using the two facilities that you have referred to does it mean that it is as simple as replacing the ‘use DBI’ with ‘use DBD::ODBC’ and then making some changes to the connection call that reflect the need to connect to Access rather than MYSQL?
I apprecaite that this is probably a very simple question but is there a web page that has the DBD::ODBC docs?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.