database - Restricting a Char to Two Values in Oracle -


i'm creating table in pl/sql, want char column allowed r or d. i've been looking around haven't found concrete answer online. maybe i'm not using right search term.

alter table tablename add constraint constraintname   check (columnname in ('r', 'd')); 

find out more


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -