Jun-09-2020, 06:43 PM
you need to connect to a database instance, then do insert statements and commit them
It is pretty much the same across all DBMS's, but there are slight differences.
At any rate, there is an unavoidable learning curve (small) involved with with each DBMS.
A more generic approach would be to use SQLAlchemy, which uses dstabase models.
to change from one DBMS to another is usually a one line change.
I have an SQLAlchemy tutorial here: https://python-forum.io/Thread-SqlAlchem...SQLalchemy
It's worth the small amount of time needed to learn the basics, as sqlalchemy makes it all easy.
It is pretty much the same across all DBMS's, but there are slight differences.
At any rate, there is an unavoidable learning curve (small) involved with with each DBMS.
A more generic approach would be to use SQLAlchemy, which uses dstabase models.
to change from one DBMS to another is usually a one line change.
I have an SQLAlchemy tutorial here: https://python-forum.io/Thread-SqlAlchem...SQLalchemy
It's worth the small amount of time needed to learn the basics, as sqlalchemy makes it all easy.