Numerous DBDs are available for a variety of databases and access to each database requires using the DBI and the database specific DBD.
有多种可用于各种数据库的DBD,要访问某一个数据库,需要同时使用DBI和特定于数据库的DBD。
The DBI module automatically loads the DBD::DB2 driver when you create a database handle using the DBI->connect statement with the following syntax
当使用 DBI->connect 语句(语法如下)来创建一个数据库句柄 时,DBI 模块会自动加载 DBD::DB2 驱动程序。
A different way to access a database using Perl is to use the DBI and the DBD-ODBC module which USES ODBC instead of the native DBD.
使用Perl访问数据库的另一种方法是使用DBI和DBD - ODBC模块,后者使用ODBC,而不是使用本地的DBD。
应用推荐