Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Executing Commands | Introduction to Databases with .NET
Introduction to .NET with C#

book
Executing Commands

Important Points:

  • We use the CREATE command for creating a new database in a MySQL Server;

  • A MySQL query or command can be executed using its MySqlCommand instance;

  • Commands that do not retrieve data from the database are called Non-Queries and hence are executed using the ExecuteNonQuery method of the MySqlCommand objects.

question mark

Which method will we use for executing the following command?

CREATE TABLE employees;

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 6

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

We use cookies to make your experience better!
some-alt