From cf096d961be26bcc74261510360a637819d48f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20A=2E=20Ortega=20Froysa?= Date: Tue, 15 Nov 2022 18:11:45 +0100 Subject: [PATCH] Add more commands to cheatsheet. --- 2/ASGBD/notes/commands.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/2/ASGBD/notes/commands.txt b/2/ASGBD/notes/commands.txt index 6658270..e0f2a2e 100644 --- a/2/ASGBD/notes/commands.txt +++ b/2/ASGBD/notes/commands.txt @@ -21,6 +21,19 @@ CREATE TABLESPACE tbs1 DATAFILE 'tbs1.dbf' SIZE 1m AUTOEXTEND 20m; + CREATE TABLE table_name( ... ) TABLESPACE tablespace_name; + +CREATE SEQUENCE schema_name.sequence_name + [INCREMENT BY interval] + [START WITH first_number] + [MAXVALUE max_value | NOMAXVALUE] + [MINVALUE min_value | NOMINVALUE] + [CYCLE | NOCYCLE] + [CACHE cache_size | NOCACHE] + [ORDER | NOORDER]; + +CREATE PROFILE profile_name + LIMIT { resource_parameters | password_parameters};