-
Originally Posted by Shadowayara
...
CREATE TABLE uitgifte
(uitgiftenr SERIAL PRIMARY KEY,
klantnr INT,
datum DATE,
CONSTRAINT gt_now CHECK (datum >= now())
FOREIGN KEY (klantnr) REFERENCES klant (klantnr))
...
Try this. Note the separate table constraint.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|