Home  >  Article  >  Database  >  How can we discard MySQL statements during processing?

How can we discard MySQL statements during processing?

王林
王林forward
2023-08-26 15:05:061205browse

How can we discard MySQL statements during processing?

#With the \c command, we can discard MySQL statements during processing. Consider the following example, in the middle of a statement we want to discard it, then we use the \c option -

mysql> Select *
   -> from\c
mysql>

The above query shows that after using the \c option, MySQL discards the statement and returns to the prompt.

The above is the detailed content of How can we discard MySQL statements during processing?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete