AT THEME
Материал из GedeminWiki
(Различия между версиями)
SYSDBA (обсуждение | вклад) (Новая страница: «<syntaxhighlight lang="SQL"> CREATE TABLE at_theme ( id dintkey, name dname, CONSTRAINT at_pk_theme PRIMARY KEY (id) ) </syntaxhighlight> [[C…») |
SYSDBA (обсуждение | вклад) |
||
| Строка 5: | Строка 5: | ||
CONSTRAINT at_pk_theme PRIMARY KEY (id) | CONSTRAINT at_pk_theme PRIMARY KEY (id) | ||
| − | ) | + | ); |
| + | |||
| + | CREATE UNIQUE INDEX at_x_theme_name | ||
| + | ON at_theme COMPUTED BY (UPPER(name)); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:База данных]] | [[Category:База данных]] | ||
Текущая версия на 11:42, 22 февраля 2016
CREATE TABLE at_theme ( id dintkey, name dname, CONSTRAINT at_pk_theme PRIMARY KEY (id) ); CREATE UNIQUE INDEX at_x_theme_name ON at_theme COMPUTED BY (UPPER(name));