5% assure discount from here only

Friday, February 25, 2011

(23) What is difference between DBI and DBD?

Solution:

This is one of the most frequent question can be asked or can comes to mind when you worked on Perl.

DBI is database access library, whereas DBDs are "drivers" which are used by DBI
to access particular database (eg. there is one DBD for MySQL, another one for PostgreSQL etc).
You should use DBI rather than DBDs directly.

DBI is the interface. DBD are the implementations of that interface.

No comments:

Post a Comment