May 2020
Beginner
564 pages
14h 9m
English
To create a virtual generated column, you can use the following sample syntax:
ALTER TABLE tablename ADD COLUMN columnname datatype GENERATED ALWAYS AS (expression) AFTER column;
To create a stored generated column, you can use the following sample syntax:
ALTER TABLE tablename ADD COLUMN columnname datatype GENERATED ALWAYS AS (expression) STORED AFTER column;
Read now
Unlock full access