CREATE TABLE, CHECK possible text values
问题 I'm using MS Access 2010 and I'm trying to create tables using SQL. I would like to put in some check constraints but I'm having some troubles: CREATE TABLE Test ( tester Text CHECK (tester IN ('ABC', 'BCD', 'CDE')) ); I'm getting a syntax error, Any suggestions? Thank you! EDIT: Sorry if I wasn't clear. What I would like actually is to CHECK that tester is either "ABC", "BCD" or "CDE" those are the only values he can have. EDIT2: I tried something else: CREATE TABLE Test ( tester Text NOT