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

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

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.