An open API service indexing awesome lists of open source software.

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

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.