Recent Posts
None | 3 sec ago
None | 25 sec ago
Bash | 30 sec ago
C++ | 38 sec ago
PHP | 41 sec ago
None | 46 sec ago
None | 48 sec ago
None | 55 sec ago
None | 58 sec ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By stijn leenknegt on the 19th of Jan 2010 10:01:24 PM
Download |
Raw |
Embed |
Report
CREATE TABLE gebruikers (
id integer NOT NULL PRIMARY KEY,
naam varchar(40) NOT NULL UNIQUE,
geboortedatum date NOT NULL CHECK(extract(year FROM geboortedatum) >= 1950)
);
CREATE TABLE topics(
id integer NOT NULL PRIMARY KEY,
gebruiker integer NOT NULL,
titel varchar(50) NOT NULL,
topic text NOT NULL,
geplaatstOp timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY(gebruiker) REFERENCES gebruikers(id)
ON UPDATE cascade
ON DELETE restrict
);
Submit a correction or amendment below.
Make A New Post