Skip to content

Commit

Permalink
closes treffynnon#68 by using BETWEEN for the range
Browse files Browse the repository at this point in the history
  • Loading branch information
treffynnon committed Aug 28, 2020
1 parent 1cb634a commit 055067d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _includes/sqlstyle.guide.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ CREATE TABLE staff (
first_name VARCHAR(100) NOT NULL,
pens_in_drawer INT(2) NOT NULL,
CONSTRAINT pens_in_drawer_range
CHECK(pens_in_drawer >= 1 AND pens_in_drawer < 100)
CHECK(pens_in_drawer BETWEEN 1 AND 99)
);
```

Expand Down
2 changes: 1 addition & 1 deletion _includes/sqlstyle.guide.it.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ CREATE TABLE staff (
first_name VARCHAR(100) NOT NULL,
pens_in_drawer INT(2) NOT NULL,
CONSTRAINT pens_in_drawer_range
CHECK(pens_in_drawer >= 1 AND pens_in_drawer < 100)
CHECK(pens_in_drawer BETWEEN 1 AND 99)
);
```

Expand Down
2 changes: 1 addition & 1 deletion _includes/sqlstyle.guide.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ CREATE TABLE staff (
first_name VARCHAR(100) NOT NULL,
pens_in_drawer INT(2) NOT NULL,
CONSTRAINT pens_in_drawer_range
CHECK(pens_in_drawer >= 1 AND pens_in_drawer < 100)
CHECK(pens_in_drawer BETWEEN 1 AND 99)
);
```

Expand Down
2 changes: 1 addition & 1 deletion _includes/sqlstyle.guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ CREATE TABLE staff (
first_name VARCHAR(100) NOT NULL,
pens_in_drawer INT(2) NOT NULL,
CONSTRAINT pens_in_drawer_range
CHECK(pens_in_drawer >= 1 AND pens_in_drawer < 100)
CHECK(pens_in_drawer BETWEEN 1 AND 99)
);
```

Expand Down
2 changes: 1 addition & 1 deletion _includes/sqlstyle.guide.pt-BR.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ CREATE TABLE staff (
first_name VARCHAR(100) NOT NULL,
pens_in_drawer INT(2) NOT NULL,
CONSTRAINT pens_in_drawer_range
CHECK(pens_in_drawer >= 1 AND pens_in_drawer < 100)
CHECK(pens_in_drawer BETWEEN 1 AND 99)
);
```

Expand Down
2 changes: 1 addition & 1 deletion _includes/sqlstyle.guide.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ CREATE TABLE staff (
first_name VARCHAR(100) NOT NULL,
pens_in_drawer INT(2) NOT NULL,
CONSTRAINT pens_in_drawer_range
CHECK(pens_in_drawer >= 1 AND pens_in_drawer < 100)
CHECK(pens_in_drawer BETWEEN 1 AND 99)
);
```

Expand Down
2 changes: 1 addition & 1 deletion _includes/sqlstyle.guide.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ CREATE TABLE staff (
first_name VARCHAR(100) NOT NULL,
pens_in_drawer INT(2) NOT NULL,
CONSTRAINT pens_in_drawer_range
CHECK(pens_in_drawer >= 1 AND pens_in_drawer < 100)
CHECK(pens_in_drawer BETWEEN 1 AND 99)
);
```

Expand Down
2 changes: 1 addition & 1 deletion _includes/sqlstyle.guide.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ CREATE TABLE staff (
first_name VARCHAR(100) NOT NULL,
pens_in_drawer INT(2) NOT NULL,
CONSTRAINT pens_in_drawer_range
CHECK(pens_in_drawer >= 1 AND pens_in_drawer < 100)
CHECK(pens_in_drawer BETWEEN 1 AND 99)
);
```

Expand Down

0 comments on commit 055067d

Please sign in to comment.