Incorporate Comments and Fix Typos
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/de507385 Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/de507385 Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/de507385 Branch: refs/heads/master Commit: de5073858417e0d88a0fad888ee9f4b070cacd69 Parents: e94bd15 Author: liu.yu <[email protected]> Authored: Wed Jul 18 11:00:35 2018 +0800 Committer: liu.yu <[email protected]> Committed: Wed Jul 18 11:00:35 2018 +0800 ---------------------------------------------------------------------- .../src/asciidoc/_chapters/sql_statements.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/de507385/docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc ---------------------------------------------------------------------- diff --git a/docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc b/docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc index 4ba9c76..0b1ebbb 100644 --- a/docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc +++ b/docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc @@ -428,7 +428,7 @@ default is: | null | currentdate | currenttime - | currenttimestamp } + | currenttimestamp column-constraint is: not null @@ -2963,7 +2963,7 @@ column-definition is: <<< ``` data-type is: - char[acter] [length [characters]] + char[acter] [(length) [characters]] [character set char-set-name] [upshift] [[not]casespecific] | char[acter] varying (length [characters]) @@ -2975,7 +2975,7 @@ data-type is: | varchar2 (length [characters]) [character set char-set-name] [upshift] [[not]casespecific] - | nchar [length [characters]] + | nchar [(length) [characters]] [upshift] [[not]casespecific] | nchar varying (length [characters]) [upshift] [[not] casespecific] @@ -4461,7 +4461,7 @@ DROP FUNCTION [[catalog-name.]schema-name.]function-name [[drop_function_syntax]] === Syntax Description of DROP FUNCTION -* `_[[catalog-name.]schema-name.]function-name` +* `_[[catalog-name.]schema-name.]function-name_` + specifies the ANSI logical name of the function, where each part of the name is a valid sql identifier with a maximum of 128 characters. specify the name of a function that has already been registered in the schema. if you do not fully qualify @@ -4699,9 +4699,9 @@ DROP ROLE role-name + is an existing role name. The role cannot be dropped if any of the following are true: -* Any privileges are granted to the role. -* The role is granted to any users. -* The role owns any schemas. +** Any privileges are granted to the role. +** The role is granted to any users. +** The role owns any schemas. [[drop_role_considerations]] === Considerations for DROP ROLE
