https://github.com/anas436/connect-to-ibm-db2-database-on-cloud-using-python
https://github.com/anas436/connect-to-ibm-db2-database-on-cloud-using-python
ibm-db2 ipython-sql jupyter-notebook python3 sqlalchemy
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anas436/connect-to-ibm-db2-database-on-cloud-using-python
- Owner: Anas436
- Created: 2022-05-29T14:05:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-29T14:19:25.000Z (over 3 years ago)
- Last Synced: 2025-02-01T15:30:59.588Z (about 1 year ago)
- Topics: ibm-db2, ipython-sql, jupyter-notebook, python3, sqlalchemy
- Language: Jupyter Notebook
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Connect-to-IBM-Db2-Database-on-Cloud-using-Python
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 first import the ibm_db library into my Python Application.
Execute the following cells by clicking within it and then press Shift and Enter keys simultaneously.
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.