Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Docs Required, Release Notes Required
Description
Syntax Rules of paragraph 6.1 of Sql Standard says: The value of a <length> shall be greater than 0 (zero).
However, we can set zero length for CHAR type
CREATE TABLE t_zero(c1 CHAR(0), c2 VARCHAR(0)); -- no error
Require to fix it.
Attachments
Issue Links
- Discovered while testing
-
IGNITE-21953 Cover SQL E021-01(Character string types. CHARACTER data type) feature by tests
- Resolved
- links to