Home > Database > Mysql Tutorial > body text

What is the use of the 'c' option when writing MySQL statements?

PHPz
Release: 2023-08-23 17:57:05
forward
1291 people have browsed it

What is the use of the c option when writing MySQL statements?

The ‘\c’ option means ‘clear’ and is used to clear the current input. Suppose if we don't want to execute the command being entered, then we can use the clear \c option to clear the current input. For example, the \c option can be used as follows -

mysql> Select *
    -> from\c
Copy after login

In the above example, when we use \c in a statement, MySQL clears the current input and returns to the MySQL prompt to accept other statements.

The above is the detailed content of What is the use of the 'c' option when writing MySQL statements?. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template