Python: How to work with SQL server database and queries in Python using pyodbc (Tutorial)

preview_player
Показать описание
In this video tutorial we will show you how to:
- Connect Python with SQL Server
- Create tables using pyodbc
- Using SQL commands in python

Рекомендации по теме
Комментарии
Автор

I have a GesEcole sql server database with the Sections and Options tables. In my python tkinter GUI application, I provide two comboboxes for Sections and Options. I would like when I select a section, the options combobox only displays the options that only concern the section chosen in the combobox and then insert that into the database. The Options table will have the primary key of the Section table. How to achieve it ?

denaemaje
Автор

I have two tables in SQL server :sales and products . I want to insert the product key into the sales table via the combobox using the python language. How to do it?

denaemaje
join shbcf.ru