DBI Perl Module |
Find out how to manipulate Perl databases by using DBI - the Database Independent Interface module, which allows you to connect to a certain database from a Perl script, using a specific database driver (DBD). DBI architecture let you use multiple databases from different vendors in the same script program, regardless the database system you have in view.
DBI Perl Module (DBI stands for database-independent interface) is one of the most important Perl module designed to allow the use of SQl and mySQL queries, available on most platforms, including SQL Server, DB2, Oracle and MySQL.
This module allows the connection from a Perl script to different databases, using the appropriate database driver (DBD). The DBI Perl module (which is database independent) is responsible for loading at runtime the appropriate DBI driver which interfaces with the specific database.
For example, if we want to connect to MySQL database, we must use DBI and DBD::MySQL modules in the Perl script. We can use the driver DBD::ODBC too, which allow us to connect to many databases such as MS Access, Paradox, Oracle and so on. In the next figure you can see the architecture of a DBI Application.
There is a simple interface to specify what kind of SQL queries you want to do to get the results you want. When you launch a SQL query through the DBI Perl module, the request will be sent to the DBD module corresponding to the database you want to use, which is responsible for the correct implementation of the demand.
Thus it is not necessary to know operational details of implementing the various databases, DBD modules providing the necessary interface and transmitting back to the DBI module results from the execution of the request.
DBD modules convert queries received from DBI module in a format according to the requested libraries database and return results to the DBI Perl module as a Perl data structure. In this way, the same script could use more DBD modules for access to various databases. |
|
Specifications |
View Demo |
Download |
Platform(s) |
Linux, Windows, Mac OSX |
Database(s) |
PostgreSQL, Access, SQL, Oracle |
Version |
1 |
File Size |
< 100KB |
Date Added |
Sunday, November, 2nd 2008 |
Last Updated |
Tuesday, November, 25th 2008 |
|
|
License Information |
License
Type |
Freeware |
Price |
Free |
|
Resource Posted
by:
Mihael Avram. This script listing has been viewed 1377 times so far. |
Search Scripts Disclaimer - Please be aware Search-Scripts.com accepts no responsibility for the scripts, components & software you are downloading. The same applies to the information provided about the Web Scripts, Tutorials & Software Products listed, as the producer can modify it without notifying us. Even if we try to check the files for viruses ourselves, we cannot guarantee 100% that they are clean. For your own protection always check downloaded files for viruses. |
Click
Here to view all the scripts in Database Tools category.
|
User Rating Chart
|
|
|
Member Ratings - Chart |
|
|
|
1 |
|
() |
2 |
|
() |
3 |
|
() |
4 |
|
() |
5 |
|
() |
|
|
Visitor
Ratings - Chart |
() |
() |
() |
() |
() |
|
|
|
|
|
1 |
2 |
3 |
4 |
5 |
|
|
|
|
|
|
There are no user reviews for this Resource Listing. Be the first to post a comment. Click Here |
Related Scripts |
- Distance Calculation using Latitude and Longitude in Perl
- Mysql Data Manager
- EasyData
|