Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Working with Python on Windows and SQL Server Databases

Làm việc với Python trên Windows và Cơ sở dữ liệu SQL Server

Làm việc với Python trên Windows và Cơ sở dữ liệu SQL Server

Hướng dẫn làm việc hiệu quả với cơ sở dữ liệu SQL Server thông qua Ngôn ngữ Lập trình Python

4.3
(194 đánh giá)
1,183 học viên
Giảng viên
Artemakis Artemiou
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
7.0 giờ video
67 bài giảng
8 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Cách truy cập và làm việc với cơ sở dữ liệu SQL Server từ chương trình Python
Cách chạy các truy vấn T-SQL vào cơ sở dữ liệu SQL Server từ chương trình Python
Cách gọi Dynamic Management Views (DMV), Hàm Tổng hợp và các biến hệ thống toàn cục
Cách thực thi các hàm và thủ tục lưu trữ (stored procedure) của SQL Server từ chương trình Python
Cách sử dụng tham số và xử lý ngoại lệ trong mọi thao tác cơ sở dữ liệu trong mã Python
Cách thiết lập môi trường phát triển Python trên Windows
Cách làm việc với Visual Studio Code để phát triển Python

Yêu cầu

Kiến thức cơ bản về ngôn ngữ lập trình Python
Kiến thức cơ bản về nền tảng SQL Server

Đối tượng phù hợp

Dành cho lập trình viên Python muốn học cách làm việc với SQL Server thông qua chương trình Python
Dành cho Nhà Khoa học Dữ liệu muốn tìm hiểu thêm về truy cập cơ sở dữ liệu SQL Server qua lập trình Python
Dành cho người đam mê công nghệ muốn tìm hiểu thêm về lập trình Python và truy cập cơ sở dữ liệu SQL Server
Dành cho lập trình viên mới bắt đầu với lập trình Python tập trung vào chủ đề truy cập dữ liệu

Nội dung khóa học

11 phần • 67 bài giảng
1 Giới thiệu
2 Nói về Python trên Windows
3 Môi trường Phát triển Tích hợp (IDE) cho Python
4 Môi trường Demo của Khóa học
5 Tóm tắt Phần
1 Tổng quan Phần
2 Cài đặt Python trên Windows
3 Cài đặt và Thiết lập IDE dùng trong Demo - Visual Studio Code
4 Viết, Biên dịch và Chạy Chương trình Python
5 Các Lệnh và Cấu trúc Dữ liệu Python Cơ bản
6 Tóm tắt Phần
1 Tổng quan Phần
2 Giới thiệu về Module pyodbc
3 Thiết lập Chuỗi Kết nối (Connection String)
4 Kết nối đến SQL Server
5 Xử lý Ngoại lệ
6 Chạy một Truy vấn SQL Server Đơn giản và Hiển thị Kết quả
7 Các Lỗi Thường gặp khi Làm việc với SQL Server từ Python (Mới)
8 Tóm tắt Phần
1 Tổng quan Phần
2 Chạy Câu lệnh T-SQL SELECT
3 Chạy Câu lệnh T-SQL INSERT
4 Chạy Câu lệnh T-SQL UPDATE
5 Chạy Câu lệnh T-SQL DELETE
6 Chạy Các Câu lệnh T-SQL Khác của SQL Server
7 Tóm tắt Phần
1 Tổng quan Phần
2 Tạo một Thủ tục Lưu trữ SQL Server từ chương trình Python
3 Thực thi Thủ tục Lưu trữ và Lấy Kết quả
4 Thực thi Thủ tục Lưu trữ Không Trả về Kết quả
5 Tóm tắt Phần
1 Tổng quan Phần
2 Tạo một Hàm SQL Server từ chương trình Python
3 Thực thi Hàm và Lấy Kết quả
4 Gọi Các Hàm Hệ thống SQL Server
5 Tóm tắt Phần
1 Giới thiệu về Chủ đề Nâng cao
2 Cách Nhập Dữ liệu từ File CSV vào SQL Server qua chương trình Python
3 Cách Chuyển đổi Script Python thành File Thực thi Windows
4 Cách Tạo Hộp thoại GUI Cơ bản trong Python và Kết nối đến SQL Server
5 Cách Chạy Lệnh BULK INSERT của SQL Server từ chương trình Python
6 Cách Chạy Nhiều Script .SQL từ một Thư mục trên SQL Server dùng Python và PS
7 Thành thạo Python & SQL Server: Các Thực hành Tốt nhất
8 Sử dụng LangChain với Máy chủ MCP của Tài liệu Microsoft Learn
9 Quản lý Truy cập Đặc quyền (PAM) cho SQL Server
1 Giới thiệu về Chủ đề Cơ sở dữ liệu Đặc biệt
2 Các Thực hành Tốt nhất khi Cài đặt SQL Server
3 Khám phá Các Kiểu Dữ liệu SQL Server
4 Lợi ích của Khóa Chính trong Bảng Cơ sở dữ liệu
5 Lợi ích của Việc Sử dụng Thủ tục Lưu trữ trong Cơ sở dữ liệu
6 Các Script T-SQL Hữu ích cho Phát triển SQL
7 Cách Tìm Phiên bản của một Phiên bản SQL Server
8 T-SQL Snippets trong SSMS là gì?
9 Các Hệ điều hành được SQL Server Hỗ trợ
10 Cách Cài đặt SQL Server 2019 Express và Phiên bản SSMS Mới nhất
11 Tổng quan về Các Loại Chỉ mục và Công dụng trong SQL Server
12 Các Chế độ Xác thực SQL Server (Mới)
1 Tổng quan
2 Dịch vụ Học máy SQL Server là gì?
3 Cách Cài đặt Dịch vụ Học máy SQL Server
4 Các Gói Python và R có trong Dịch vụ Học máy SQL Server
5 Thực thi Script Python qua Dịch vụ Học máy SQL Server
6 Phân tích Dữ liệu Thăm dò (EDA) với Python
7 Hướng dẫn Thực tế về Các Tầng của Trí tuệ Nhân tạo
8 Sự Tiến hóa của Trí tuệ Cộng tác
1 Bạn đã Học được gì trong Khóa học này?
1 Bài giảng Bổ sung

Giới thiệu khóa học

Python is one of the world's most popular programming languages. Its simplified syntax, helps Programmers to easily develop different types of applications fast and easy. From Data Science and Machine Learning applications, to general purpose applications, Python makes it easy for the Developer, to build these applications. Additionally, when you combine the Python programming language, with the popular SQL Server Data Platform, you have a  powerful software development setup, via which you can build just about anything!

This course does exactly that: it helps you learn how to access and work with SQL Server databases, directly from your Python programs, by teaching you how to perform all the major database development operations from within your Python code.

With my course, among other, you will learn how to set up your Python development environment on Windows using Visual Studio Code and the Python extension, you will refresh your memory on the basic Python data structures and commands, learn how to connect to SQL Server from within your Python programs, learn how to run SQL Server SELECT, INSERT, UPDATE and DELETE T-SQL statements from within your Python code using parameters and exception handling, learn how to create and call SQL Server stored procedures, functions, DMVs, global system variables, and much more!


WHAT OTHER STUDENTS SAY ABOUT THE COURSE:

  • "Really amazing course. I never thought it was so easy and interesting to work with Python on SQL server. If you want to work Python on SQL server, I am sure after this course you will be able to work, even you have no prior knowledge of Python."

  • "Thorough explanation and examples led to my being able to write and execute queries in SQL server with Python."

  • "Great quality and relevance to my job!"

  • "The course explains in simple words how I can work with SQL Server from my Python programs."

  • "Excellent course! Just what I needed to use Python with SQL Server!"



WHAT IS THIS COURSE ALL ABOUT?

Python is a very popular programming language. Due to its simplified syntax, Programmers can develop a wide range of software applications, fast and easy. With Python, you can easily build Data Science and Machine Learning projects, as well as general purpose applications. When combined with the popular SQL Server Data Platform, it provides Software Developers and Data Scientists, with a powerful software development setup, that can be used for building just about anything!

This course has been carefully designed, in order to help you get started with Python programming for SQL Server data access. Via a well-structured curriculum, it starts with helping you set up your Python development environment on Windows, using Visual Studio code and the proper extensions, then explains the different options for connecting to SQL Server databases and then deep dives into a comprehensive set of live demonstrations, via which you will learn how to execute SQL Server SELECT, INSERT, UPDATE and DELETE SQL statements, as well as, work with SQL Server stored procedures and functions and all that, via your Python programs. Last but not least, the course helps you get started with SQL Server Machine Learning Services, and more specifically, it helps you get started with executing Python scripts, directly in SQL Server, in-database.

So join me into a 6-hour journey and learn all about working with SQL Server databases, from within your Python programs!


AFTER THE COURSE:

  • You will know how to install Python on Windows and set your development environment with Visual Studio Code and the proper extensions.

  • You will know how to connect your Python programs to SQL Server instances and databases.

  • You will know how to run different types of T-SQL queries against your SQL Server databases, from within your Python Programs:

    • Execute and process SELECT, INSERT, UPDATE and DELETE T-SQL statements

    • Call Dynamic Management Views (DMVs)

    • Call aggregation functions

    • Call SQL Server global system variables

  • You will know how to execute SQL Server functions and stored procedures, from within your Python Programs.

  • You will know how to use parameters and exception handling for all the above database operations within your Python code.

  • You will know how to directly execute Python scripts in SQL Server, in-database, using SQL Server Machine Learning Services.


PREREQUISITES FOR ATTENDING THE COURSE:

  • Basic knowledge of the Python programming language

  • Basic knowledge of the SQL Server fundamentals


PREREQUISITES FOR SETTING UP THE DEMO ENVIRONMENT:

  • A Windows 10 computer with at least 4GB of RAM and a modern CPU with SQL Server installed (Express Edition works fine as well)

  • Note: The use of a Virtual Machine is completely optional. You just need a Windows 10 computer with SQL Server, onto which, by following the courses demos, you will be installing Python with pyodbc and Visual Studio Code. Then, using this environment, you will be able to reproduce all demos.


THIS COURSE CONTAINS/OFFERS:

  • 6+ hours of high-quality video lectures and guides

  • Step by step live demonstrations and guides that can help you get started with SQL Server database programming from within your Python programs

  • Downloadable source code examples

  • Downloadable resources with useful information and links

  • Useful quizzes for testing your knowledge on each section

  • A major practice test in the end of the course

  • Ability to ask the instructor questions via the Q&A section

  • Certificate on course completion

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Database Development
Hiển thị tất cả khoá học Python
Hiển thị tất cả khoá học Python Programming
Hiển thị tất cả khoá học Sql Server
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊