Home > Database > Mysql Tutorial > body text

How to cancel a MySQL command being entered?

王林
Release: 2023-09-05 09:57:07
forward
1434 people have browsed it

How to cancel a MySQL command being entered?

#Suppose if we do not 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 How to cancel a MySQL command being entered?. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!