SQL Feature Checklist
To understand which ANSI SQL and other SQL features SQreamDB supports, use the tables below.
Data Types and Values
Item |
Supported |
Further information |
---|---|---|
|
Yes |
Boolean values |
|
Yes |
Unsigned 1 byte integer (0 - 255) |
|
Yes |
2 byte integer (-32,768 - 32,767) |
|
Yes |
4 byte integer (-2,147,483,648 - 2,147,483,647) |
|
Yes |
8 byte integer (-9,223,372,036,854,775,808 - 9,223,372,036,854,775,807) |
|
Yes |
4 byte floating point |
|
Yes |
8 byte floating point |
|
Yes |
Fixed-point numbers. |
|
Yes |
Variable length string - UTF-8 encoded |
|
Yes |
Date |
|
Yes |
Date and time |
|
Yes |
|
|
No |
Can be stored as a text string or as part of a |
Constraints
Item |
Supported |
Further information |
---|---|---|
|
Yes |
|
|
Yes |
|
|
Yes (different name) |
|
Transactions
SQreamDB treats each statement as an auto-commit transaction. Each transaction is isolated from other transactions with serializable isolation.
If a statement fails, the entire transaction is canceled and rolled back. The database is unchanged.
Indexes
SQreamDB has a range-index collected on all columns as part of the metadata collection process.
SQreamDB does not support explicit indexing, but does support clustering keys.
Read more about clustering keys.
Schema Changes
Item |
Supported |
Further information |
---|---|---|
|
Yes |
ALTER TABLE - Add column, alter column, drop column, rename column, rename table, modify clustering keys |
Rename database |
No |
|
Rename table |
Yes |
|
Rename column |
Yes |
|
Add column |
Yes |
|
Remove column |
Yes |
|
Alter column data type |
No |
|
Add / modify clustering keys |
Yes |
|
Drop clustering keys |
Yes |
|
Add / Remove constraints |
No |
|
Rename schema |
Yes |
|
Drop schema |
Yes |
|
Alter default schema per user |
Yes |
Statements
Item |
Supported |
Further information |
---|---|---|
SELECT |
Yes |
|
CREATE TABLE |
Yes |
|
CREATE FOREIGN / EXTERNAL TABLE |
Yes |
|
DELETE |
Yes |
|
INSERT |
Yes |
|
TRUNCATE |
Yes |
|
UPDATE |
Yes |
|
VALUES |
Yes |
Clauses
Item |
Supported |
Further information |
---|---|---|
|
Yes |
|
|
No |
|
|
Yes |
|
|
Yes |
|
|
Yes |
Table Expressions
Item |
Supported |
Further information |
---|---|---|
Tables, Views |
Yes |
|
Aliases, |
Yes |
|
|
Yes |
|
Table expression subqueries |
Yes |
|
Scalar subqueries |
No |
Scalar Expressions
Read more about Scalar expressions.
Item |
Supported |
Further information |
---|---|---|
Common functions |
Yes |
|
Comparison operators |
Yes |
|
Boolean operators |
Yes |
|
Conditional expressions |
Yes |
|
Conditional functions |
Yes |
|
Pattern matching |
Yes |
|
REGEX POSIX pattern matching |
Yes |
|
|
No |
|
|
Partial |
Literal values only |
Bitwise arithmetic |
Yes |
|
Permissions
Read more about Access Control in SQreamDB.
Item |
Supported |
Further information |
---|---|---|
Roles as users and groups |
Yes |
|
Object default permissions |
Yes |
|
Column / Row based permissions |
No |
|
Object ownership |
No |
Extra Functionality
Item |
Supported |
Further information |
---|---|---|
Information schema |
Yes |
|
Views |
Yes |
|
Window functions |
Yes |
|
CTEs |
Yes |
|
Saved queries, Saved queries with parameters |
Yes |
|
Sequences |
Yes |