Ik gebruik SQL*Plus van Oracle (versie 7). Ik heb een sql-bestand met de volgende inhoud:
Als ik dit bestand wil openen in SQL*Plus, dan krijg ik de volgende melding: Illegal GET command.
De tabellen in het bestand worden niet aangemaakt oid. Wat doe ik fout?
Edit: ik heb even code van je quote gemaakt
.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
| CREATE TABLE spelers ( spelersnr smallint not null, naam char(15) not null, voorletters char(3) not null, voorvoegsels char(7) , geb_jaar smallint , geslacht char(1) not null, jaartoe smallint not null, straat char(15) not null, huisnr char(4) , postcode char(6) , plaats char(10) not null, telefoon char(10) , bondsnr char(4) ); CREATE UNIQUE INDEX idx_spelers ON spelers(spelersnr); CREATE TABLE TEAMS ( teamnr smallint not null, spelersnr smallint not null, divisie char(6) not null); CREATE UNIQUE INDEX idx_teams ON teams(teamnr); CREATE TABLE wedstrijden ( teamnr smallint not null, spelersnr smallint not null, gewonnen smallint not null, verloren smallint not null); CREATE UNIQUE INDEX idx_wedstrijden ON wedstrijden(teamnr,spelersnr); CREATE TABLE boetes ( betalingsnr smallint not null, spelersnr smallint not null, datum char(6) not null, bedrag decimal(7,2) not null); CREATE UNIQUE INDEX idx_boetes ON boetes(betalingsnr); |
Als ik dit bestand wil openen in SQL*Plus, dan krijg ik de volgende melding: Illegal GET command.
De tabellen in het bestand worden niet aangemaakt oid. Wat doe ik fout?
Edit: ik heb even code van je quote gemaakt