Chrisibär
Lt. Commander
- Registriert
- Juli 2010
- Beiträge
- 1.974
Hallo Luete ich muss folgendes machen:
Eine Tabelle "district" erstellen mit (id, name, population, geom): id is the primary; name = max 255 chars, districts sollten polygone sein
Wäre das so richtig?:
CREATE TABLE district(
ID INTEGER NOT NULL PRIMARY KEY,
name VARCHAR(255) NOT NULL,
Population INTEGER NOT NULL
Geom geometry
);
vielen danke
wie wärs bei polylines und punkten?
Eine Tabelle "district" erstellen mit (id, name, population, geom): id is the primary; name = max 255 chars, districts sollten polygone sein
Wäre das so richtig?:
CREATE TABLE district(
ID INTEGER NOT NULL PRIMARY KEY,
name VARCHAR(255) NOT NULL,
Population INTEGER NOT NULL
Geom geometry
);
vielen danke
wie wärs bei polylines und punkten?