---
original_url: "https://jace.pro/blog/careful-with-reserved-words/"
format: markdown
ai_optimized: true
---

Careful with reserved words# Careful with reserved words

September 3, 2020 [servicenow](/tags/servicenow/)

  Enable AI AnimationIf you have a variable say “class” or “package” when calling them via a script you will get weird results. I’d advise to avoid this list of names for columns.

## [](#javascript-reserved-words)[Javascript Reserved Words](https://jace.pro/post/2020-09-03-reserved-words/#javascript-reserved-words)

`abstract``arguments``await``boolean``break``byte``case``catch``char``class``const``continue``debugger``default``delete``do``double``else``enum``eval``export``extends``false``final``finally``float``for``function``goto``if``implements``import``in``instanceof``int``interface``let``long``native``new``null``package``private``protected``public``return``short``static``super``switch``synchronized``this``throw``throws``transient``true``try``typeof``var``void``volatile``while``with``yield`Try it out. make a catalog item. make a variable, call it “class”, try to use that variable in a refernce qualifer and observe weird things.

[The docs also say, “you cannot use reserved words”](https://docs.servicenow.com/bundle/orlando-application-development/page/script/topic/c_Script.html).

Other’s have had issues using these terms for column names. If you can, avoid that so you don’t have the [same problem here as Detlef](https://community.servicenow.com/community?id=community_question&sys_id=fddbba91dbbf48945129a851ca961933).

## [](#mysql-reserved-words)[MysQL Reserved Words](https://jace.pro/post/2020-09-03-reserved-words/#mysql-reserved-words)

[Database view reserved words](https://docs.servicenow.com/bundle/orlando-platform-administration/page/use/reporting/concept/c_DatabaseViews.html#d771413e105) seems to be different and dependent on [MysQL’s list](https://dev.mysql.com/doc/refman/8.0/en/keywords.html)

---
[View this page on GitHub](https://github.com/jacebenson/jace.pro/tree/main/./src/posts/2020/2020-09-03-careful-with-reserved-words.md).

[Careful with reserved words](https://jace.pro/blog/careful-with-reserved-words/) [Jace Benson](https://jace.pro) ![Jace Benson](https://jace.pro/icon-512x512.png)

---

*This content is from Jace Benson's ServiceNow and tech blog at jace.pro*
*Original post: https://jace.pro/blog/careful-with-reserved-words/*
