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

Executing CommandsExecuting 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.

Which method will we use for executing the following command?

Selecione a resposta correta

Tudo estava claro?

Seção 3. Capítulo 6
course content

Conteúdo do Curso

Introduction to .NET with C#

Executing CommandsExecuting 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.

Which method will we use for executing the following command?

Selecione a resposta correta

Tudo estava claro?

Seção 3. Capítulo 6
some-alt