Is there a way to list all the reserved words in MySQL using the MySQL command-line utility?

MySQLMySQLi Database

Yes, we can all the reserved words in MySQL using the command-line utility. Following is the syntax −

select *from mysql.help_keyword;

Let us implement the above syntax in order to get list of all the reserved words in MySQL.

Following is the query −

mysql> select *from mysql.help_keyword;

This will produce the following output -


raja
Published on 22-Aug-2019 07:26:07
Advertisements