G
G
good_beginer2020-08-13 21:56:22
ODBC
good_beginer, 2020-08-13 21:56:22

What is the difference between odbc and pdo database connection?

What is the difference between ODBC and PDO connecting to a database (what kind of application), I can't find a normal description of the principle of operation of one or another anywhere, and in what circumstances should I use odbc or pdo ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alexalexes, 2020-08-13
@good_beginer

Are you satisfied with short excerpts from a wiki about these two technologies?
ODBC , PDO .
In particular, the article about PDO says the difference:

PDO does not use abstract layers to connect to the database, like ODBC, but uses their "native" drivers for different databases, which allows for high performance. Currently, there are drivers for PDO for almost all well-known DBMS and interfaces. PDO also allows you to work with multiple databases at the same time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question