Using SQL with C++
1h 27mIntermediate2021-08-12
Authors

Bill Weinman
Tech Advocate, Entrepreneur, Programming Expert
Course details
C++ is a powerful language for database applications, and it can be an excellent tool to use with SQL. In this course, instructor Bill Weinman gets you started on leveraging the power of C++ in SQL, starting with the basics, like connecting to a database, performing simple queries, and reading rows from a table. He also explains how to use prepared statements and bind variables, as well as how to build a wrapper class to streamline the SQL interface. Finally, he shows you how to build a specialized application class so you can create an application using what you learned. If you’re an experienced C++ developer looking to learn how to use C++ with SQL, this course is for you.
Skills covered
C++SQLDatabase AdministrationDatabase DevelopmentDatabase ManagementData AnalysisProgramming LanguagesData ScienceBusiness Analysis and StrategyBusiness Software and ToolsOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Use SQL with C++
- 02 - Using the exercise files
- 03 - What do you need for this course
1. Common Interfaces
- 04 - Setup for Xcode on a Mac
- 05 - Setup for Visual Studio on Windows
2. Basic Concepts
- 06 - Hello World
- 07 - Queries
- 08 - Using a callback
- 09 - Prepared statements
- 10 - Challenge
- 11 - Solution
3. A CRUD Class
- 12 - The essential four operations
- 13 - SQL wrappers
- 14 - Adding CRUD methods
- 15 - Using the module
- 16 - Challenge
- 17 - Solution
Conclusion
- 18 - Thank you
Related courses
- Secure Coding in C++
- Advanced C++: Building Projects with CMake
- Functional Programming in C++
- Object-Oriented Programming with C++
- Complete Guide to Parallel and Concurrent Programming with C++
- Complete Guide to C++ Programming Foundations
- Modern C++: Advanced Techniques and Features
- Mastering C++: Exception Handling