diff --git a/drafts/types/Timestamp.md b/drafts/types/Timestamp.md new file mode 100644 index 0000000..76da258 --- /dev/null +++ b/drafts/types/Timestamp.md @@ -0,0 +1,449 @@ +# Timestamp Type in PartiQL + +## Background + +As of today, PartiQL’s timestamp type is based on `ion`. This document covers the syntax, semantics and example usages of generic `Timestamp` types supported in PartiQL. + +## Syntax + +### SQL standard + +SQL 92 Grammar: + +``` +-- TIMESTAMP TYPE + ::= [ ] + [ WITH TIME ZONE ] + ::=