
| Key: |
DERBY-468
|
| Type: |
Improvement
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Satheesh Bandaram
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
| |
Size |
|
count.patch |
2005-09-02 08:28 AM |
Satheesh Bandaram |
5 kB |
|
|
Environment:
|
All Platforms
|
|
| Resolution Date: |
30/Sep/05 02:45 AM
|
|
Derby currently treats COUNT as a reserved word. This prevents having COUNT as a table name or a column name as shown below. It would be good to move COUNT from reserved word to a non-reserved word list. Having COUNT as a reserved word also causes problems while porting applications to Derby.
ij> create table count(i int);
ERROR 42X01: Syntax error: Encountered "count" at line 1, column 14.
ij> create table ts(count int);
ERROR 42X01: Syntax error: Encountered "count" at line 1, column 17.
Note that SQL standard says COUNT is a reserved word, but Derby treats several of these reserved words as non-reserved words already. (CLOB for example)
|
|
Description
|
Derby currently treats COUNT as a reserved word. This prevents having COUNT as a table name or a column name as shown below. It would be good to move COUNT from reserved word to a non-reserved word list. Having COUNT as a reserved word also causes problems while porting applications to Derby.
ij> create table count(i int);
ERROR 42X01: Syntax error: Encountered "count" at line 1, column 14.
ij> create table ts(count int);
ERROR 42X01: Syntax error: Encountered "count" at line 1, column 17.
Note that SQL standard says COUNT is a reserved word, but Derby treats several of these reserved words as non-reserved words already. (CLOB for example) |
Show » |
Satheesh Bandaram made changes - 03/Sep/05 03:25 AM
|
Fix Version/s
|
|
10.1.2.0
[ 12310270
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Fix Version/s
|
|
10.2.0.0
[ 11187
]
|
Satheesh Bandaram made changes - 03/Sep/05 06:29 AM
|
Status
|
Resolved
[ 5
]
|
Closed
[ 6
]
|
made changes - 30/Sep/05 02:45 AM
|
Status
|
Closed
[ 6
]
|
Reopened
[ 4
]
|
|
Resolution
|
Fixed
[ 1
]
|
|
made changes - 30/Sep/05 02:45 AM
|
Fix Version/s
|
|
10.1.1.1
[ 12310332
]
|
made changes - 30/Sep/05 02:45 AM
|
Status
|
Reopened
[ 4
]
|
Closed
[ 6
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
|