Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Quick note in Java programming. | 625282d4fece1f6a7a617a8c9bcf7c3c856185b3 | aubert@math.cnrs.fr | 2019-04-02 18:42:48 |
Added exam #2 | 0aa6788451b34cb6371fed5a0f719a4ac52cf0c8 | aubert@math.cnrs.fr | 2019-04-01 18:37:43 |
Fixing a typo. | 502262b742ac86d7b3d5e95a0f9fcd7ca3a6e586 | aubert@math.cnrs.fr | 2019-03-22 17:35:43 |
Forgot one figure. | 1212e57a5f2e7b2f104f432feb4dce0669cdb452 | aubert@math.cnrs.fr | 2019-03-22 17:32:36 |
Working on Ch. 4, adding the content of the weekly announcements to the core of the document, added illustrations on the conversion E.R. -> Rel. model, fixed various typos. | 1995837f41c1508ae809d5a91065bdefd5bd6c03 | aubert@math.cnrs.fr | 2019-03-22 17:27:51 |
Fixing exercise and normalization in Chapter 4. | 7aa4b9a581daf7144dd485ba791b7707585088b8 | aubert@math.cnrs.fr | 2019-03-20 18:55:42 |
Quick fix on UML diagrams. | 86a52b2f6ce92750bdb2c33eaa4dbc4497322e1c | aubert@math.cnrs.fr | 2019-03-18 18:37:24 |
Adding some missing files. | 0c090f6d43e84b71ca5e1f6d3e8d1aa0d733824d | aubert@math.cnrs.fr | 2019-03-18 18:28:32 |
Fixing the style for line numbers, adding information for weak entities, drawing some figures (for crow's notation, for alternative notations), removing various images. | 26ce9a96701649988cfdfcb3e61011f4e154896d | aubert@math.cnrs.fr | 2019-03-18 18:25:09 |
Added solution to quiz #4. | db0de8ba5c6605d77fdbc076f3a9e5b3851d83e0 | aubert@math.cnrs.fr | 2019-03-15 20:57:13 |
Added questions for Quiz #4. | 30d908601e9431ec0901d4001ddbf99bf14f75d0 | aubert@math.cnrs.fr | 2019-03-15 17:52:24 |
Worked on narrative in Chapter 4, mostly ER diagrams. | 9e0cc5fc5a2b4087fe1191f1ba5926f87ad5a7bd | aubert@math.cnrs.fr | 2019-03-12 18:57:16 |
Updated list of known bugs. | d51ff0a5bb73f09eb8d3eb7520ebb77555911e69 | aubert@math.cnrs.fr | 2019-03-12 17:09:22 |
Updating the README with the list of new files. | bb35e21746d958d649b226a5857150d975d85403 | aubert@math.cnrs.fr | 2019-03-07 15:20:04 |
Adding a list of bug, and the sketch of a guide to contribute. | 3a94b1fa49aee97001a45325f3f10f09475bf388 | aubert@math.cnrs.fr | 2019-03-07 15:14:38 |
Fixed the size of the images, added mention of the support of Affordable Learning Georgia. | 485cf486d8d2b08427e5d02eda56d5b7a9495b38 | aubert@math.cnrs.fr | 2019-03-05 19:37:39 |
Finishing homework #5. | e322bc945941083b0649557d9ad6bdbb8308c10c | aubert@math.cnrs.fr | 2019-03-04 15:10:15 |
Preparing homework 5 | 2b9ba64d1d36ae9f413929947cac5e6cddceb3dc | aubert@math.cnrs.fr | 2019-03-01 20:06:12 |
Some fixes and added quiz #3. | d73c356f1bec9679f7123bc508c1863f8de40aef | aubert@math.cnrs.fr | 2019-02-28 20:34:04 |
Working on solutions for problems in Chapter 3. | 0da378f97cea97fa2b3614f1b611a3b5bdf42632 | aubert@math.cnrs.fr | 2019-02-26 19:56:23 |
File | Lines added | Lines deleted |
---|---|---|
notes/lectures_notes.md | 8 | 5 |
File notes/lectures_notes.md changed (mode: 100644) (index 38a4b51..6246f1b) | |||
... | ... | Two options to interact with a database: | |
5770 | 5770 | ||
5771 | 5771 | - Interactive interface (C.L.I.), what we used so far | - Interactive interface (C.L.I.), what we used so far |
5772 | 5772 | - Application program / Database application | - Application program / Database application |
5773 | #. Embed `SQL` commands in your program: a pre-compiler scans the code, extact the `SQL` commands, execute them on the DBMS. | ||
5773 | #. Embed `SQL` commands in your program: a pre-compiler scans the code, extact the `SQL` commands, execute them on the DBMS. Refer to [wikipedia](https://en.wikipedia.org/wiki/Embedded_SQL), this system is used primarily for C, C++, COBOL or Fortran, and [**L**anguage **In**tegrated **Q**uery](https://docs.microsoft.com/en-us/dotnet/standard/using-linq) to some extend is part of this approach. | ||
5774 | 5774 | #. Use a library, or **A**pplication **P**rogramming **I**nterface for accessing the database from application programs. | #. Use a library, or **A**pplication **P**rogramming **I**nterface for accessing the database from application programs. |
5775 | #. Create a new language that extends `SQL` ([`PL/SQL`](http://www.oracle.com/technetwork/database/features/plsql/index.html)) | ||
5775 | #. Create a new language that extends `SQL` (for instance, [`PL/SQL`](http://www.oracle.com/technetwork/database/features/plsql/index.html)). | ||
5776 | 5776 | ||
5777 | We will consider option 2. | ||
5777 | We will consider the option of using a library. | ||
5778 | 5778 | Every database application follows the same routine: | Every database application follows the same routine: |
5779 | 5779 | ||
5780 | 5780 | #. Establish / open the connection | #. Establish / open the connection |
5781 | 5781 | #. Interact (Update, Query, Delete, Insert) | #. Interact (Update, Query, Delete, Insert) |
5782 | 5782 | #. Terminate / close the connection | #. Terminate / close the connection |
5783 | 5783 | ||
5784 | ||| | ||
5785 | --- | ------- | ------- | ||
5784 | But the API varies with the pair Language / DBMS. | ||
5785 | Here are some of the most commonly used pairs: | ||
5786 | |||
5787 | | Language | API | Website | ||
5788 | --- | ------- | ------------- | ||
5786 | 5789 | Python | Python Database API | <https://www.python.org/dev/peps/pep-0249/> | Python | Python Database API | <https://www.python.org/dev/peps/pep-0249/> |
5787 | 5790 | C, C++ | MySQL C API | <https://dev.mysql.com/doc/refman/5.7/en/c-api.html> | C, C++ | MySQL C API | <https://dev.mysql.com/doc/refman/5.7/en/c-api.html> |
5788 | 5791 | C# | MySQL Connector/Net | <https://dev.mysql.com/downloads/connector/net/6.10.html> | C# | MySQL Connector/Net | <https://dev.mysql.com/downloads/connector/net/6.10.html> |