Skip to content

Commit c8d60f3

Browse files
committed
Moved all FB6 enhancements to a new list
1 parent fbb65c9 commit c8d60f3

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

doc/sql.extensions/README.ddl.txt

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -605,37 +605,36 @@ ALTER TABLE <name> ... [ {ENABLE | DISABLE} PUBLICATION ]
605605
Defines whether replication is enabled for the specified table.
606606
If not specified in the CREATE TABLE statement, the database-level default behaviour is applied.
607607

608-
24) Added the ability to change deterministic and sql security option without specifying the entire body of the function.
608+
DDL enhancements in Firebird v6.
609+
--------------------------------
610+
611+
1) Added the ability to change deterministic and sql security option without specifying the entire body of the function.
609612
(Alexander Zhdanov)
610613

611-
ALTER FUNCTION <name> [ {DETERMINISTIC | NOT DETERMINISTIC} ] [ SQL SECURITY {DEFINER | INVOKER} | DROP SQL SECURITY ]
614+
ALTER FUNCTION <name> [ [NOT] DETERMINISTIC ] [ SQL SECURITY {DEFINER | INVOKER} | DROP SQL SECURITY ]
612615

613-
25) Added the ability to change sql security option without specifying the entire body of the procedure
616+
2) Added the ability to change sql security option without specifying the entire body of the procedure
614617
(Alexander Zhdanov)
615618

616619
ALTER PROCEDURE <name> SQL SECURITY {DEFINER | INVOKER} | DROP SQL SECURITY
617620

618-
26) Added the ability to change sql security option without specifying the entire body of the package
621+
3) Added the ability to change sql security option without specifying the entire body of the package
619622
(Alexander Zhdanov)
620623

621624
ALTER PACKAGE <name> SQL SECURITY {DEFINER | INVOKER} | DROP SQL SECURITY
622625

623-
27) Added OWNER clause to CREATE DATABASE statement.
626+
4) Added OWNER clause to CREATE DATABASE statement.
624627
(Dmitry Sibiryakov)
625628

626629
<db_initial_option> list is expanded by "OWNER username" clause which allows to set an owner user name for the created database.
627630
Only users with administrator rights can use this option.
628631

629-
28) COLLATE clause can be used as a part of character data type as per SQL standard.
632+
5) COLLATE clause can be used as a part of character data type as per SQL standard.
630633
(Dmitry Sibiryakov)
631634

632635
If is used twice, an error is returned.
633636

634-
635-
DDL enhancements in Firebird v6.
636-
--------------------------------
637-
638-
1) DROP [IF EXISTS]
637+
6) DROP [IF EXISTS]
639638

640639
Using subclause IF EXISTS, it's now possible to try to drop objects and do not get errors when they did not exist.
641640

@@ -668,7 +667,7 @@ DROP [GLOBAL] MAPPING [IF EXISTS] <mapping>
668667
ALTER TABLE <table> DROP [IF EXISTS] <column name>
669668
ALTER TABLE <table> DROP CONSTRAINT [IF EXISTS] <constraint name>
670669

671-
2) CREATE [IF NOT EXISTS]
670+
7) CREATE [IF NOT EXISTS]
672671

673672
Using subclause IF NOT EXISTS, it's now possible to try to create objects and do not get errors when they
674673
already exists.
@@ -710,7 +709,7 @@ CREATE [GLOBAL] MAPPING [IF NOT EXISTS] ...
710709
ALTER TABLE <table> ADD [IF NOT EXISTS] <column name> ...
711710
ALTER TABLE <table> ADD CONSTRAINT [IF NOT EXISTS] <constraint name> ...
712711

713-
3) Creation of an inactive index
712+
8) Creation of an inactive index
714713

715714
CREATE [UNIQUE] [ASC[ENDING] | DESC[ENDING]]
716715
INDEX indexname [{ACTIVE | INACTIVE}]

0 commit comments

Comments
 (0)