Keywords are special words used as identifiers by a language. They are reserved words accepted by a compiler or interpreter, and thus should not (or cannot) be used as a variable or function name.
Keywords are special words used as identifiers by a language. They are reserved words accepted by a compiler or interpreter, and thus can't be used as a variable or function name. SELECT
, for example, is a keyword in SQL
, so running an SQL
query on a table named SELECT
is likely to raise fatal errors.
Often languages provide a method for "escaping" keywords to allow their usage -- for example, the quotation marks in the statement SELECT PERSON_ID FROM "SELECT"
. But the use of keywords is typically considered bad practice even when a method like this is provided.
The term Keyword is also used as a synonym for "search term". For that meaning, you should use a different tag such as search-engine.