---
title: "Writing rules"
description: "The basic rules for writing CoraDB SQL: identifiers, reserved words, comments and literals."
url: "https://www.coradb.ai/manual/sql/syntax.html"
markdown_url: "https://www.coradb.ai/manual/markdown/sql/syntax.md"
product: "CoraDB"
version: "1.0"
keywords: "coradb sql syntax, sql writing rules, identifiers, reserved words, sql comments, sql literals"
---

# Writing rules

These pages cover the building blocks that every CoraDB SQL statement is made of.

| Topic | What it covers |
|---|---|
| [Identifiers](https://www.coradb.ai/manual/sql/identifier.html) | How to name tables, columns and other objects; quoting; maximum lengths. |
| [Reserved words](https://www.coradb.ai/manual/sql/keyword.html) | Words that cannot be used as unquoted names. |
| [Comments](https://www.coradb.ai/manual/sql/comment.html) | `--`, `//` and `/* */` comments, and `/*+ */` hints. |
| [Literals](https://www.coradb.ai/manual/sql/literal.html) | Numbers, dates and times, bit strings, character strings, collections and `NULL`. |

A few general rules apply to all statements:

- Keywords and identifiers are not case-sensitive. This manual writes keywords in uppercase and names in lowercase.
- A statement ends with a semicolon (`;`). In [corasql](https://www.coradb.ai/manual/corasql.html) the semicolon tells the interpreter to run the statement; drivers usually run one statement per call without it.
- Spaces, tabs and line breaks between words are interchangeable, so long statements can be spread over several lines.
