https://github.com/anas436/access-ibm-db2-on-cloud-using-python
https://github.com/anas436/access-ibm-db2-on-cloud-using-python
ibm-db-dbi ibm-db2 ipython-sql jupyter-notebook pandas python3 sql sqlalchemy
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anas436/access-ibm-db2-on-cloud-using-python
- Owner: Anas436
- Created: 2022-05-29T16:59:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-29T17:03:27.000Z (over 3 years ago)
- Last Synced: 2025-02-01T15:31:05.541Z (about 1 year ago)
- Topics: ibm-db-dbi, ibm-db2, ipython-sql, jupyter-notebook, pandas, python3, sql, sqlalchemy
- Language: Jupyter Notebook
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Access-IBM-DB2-on-Cloud-using-Python
This Lab has demonstrated how to create tables in a database, insert some rows of data into the table, invoke SQL queries, and retrieve the query result set.
The ibm_db API provides a variety of useful Python functions for accessing and manipulating data in an IBM® data server database, including functions for connecting to a database, preparing and issuing SQL statements, fetching rows from result sets, calling stored procedures, committing and rolling back transactions, handling errors, and retrieving metadata.
I have import the ibm_db library into my Python Application
The following required modules are pre-installed in the Skills Network Labs environment. However if you run this notebook commands in a different Jupyter environment (e.g. Watson Studio or Ananconda) you may need to install these libraries by removing the # sign before !pip in the code cell below.