Menu

#372 The CUBRID 9.x supports ENUM types.The ADO.net drive the need to support this data type.

open
nobody
None
5
2013-01-05
2013-01-05
Jira Trac
No

1 Read the CCI code to implement this feature.
2 Add the test cases.
Use the following SQL statements:

drop table if exists table11;
create table table11(city enum('BeiJing', 'ChengDu', 'QingDao', 'DaLian'), nationality enum('China', 'Korea', 'Japan'));
insert into table11 (city, nationality) values ('BeiJing', 'Japan'),('ChengDu','China'),('QingDao', 'Korea');

Result: Create table successfully and insert the three rows.

Using the following SQL statement will throw an exception:
insert into table11 (city, nationality) values ('Peking', 'China');

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.