We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c7221 commit ada7199Copy full SHA for ada7199
data-platform/core-converged-db/database-23c/annotations/1-create-table-with-annotations.sql
@@ -0,0 +1,12 @@
1
+REM Script for 23c: 1-create-table-with-annotations.sql
2
+
3
+-- optional drop table emp_annotated
4
+drop table if exists emp_annotated; -- with new 23c "if exists" syntax
5
6
+-- create a table with two column annotations for ename and salary and a table annotation
7
+create table emp_annotated
8
+( empno number,
9
+ ename varchar2(50) annotations (display 'lastname'),
10
+ salary number annotations (person_salary, column_hidden)
11
+ )
12
+annotations (display 'employees');
0 commit comments