Hoi,
[subject typo foutje]
Zie dat ik ORACEL i.p.v. ORACLE getikt heb
[/subject typo foutje]
Ik probeer dit script uit te voeren:
Als ik echter een 'run' geef in SQL Plus dan krijg ik de volgende melding:
Schijnbaar zit de fout in de laatste regel maar wat the hell kan daar nu fout aan zijn ?
[subject typo foutje]
Zie dat ik ORACEL i.p.v. ORACLE getikt heb
[/subject typo foutje]
Ik probeer dit script uit te voeren:
code:
1
2
3
4
5
6
7
8
9
10
| SQL> CREATE OR REPLACE FUNCTION fillSalesListTable 2 BEGIN 3 INSERT INTO saleslist 4 SELECT productrefpid, SUM(quantityvalue) AS itemssold 5 FROM productlineitem, isorder 6 HERE productlineitem.lineitemctnrid = isorder.uuid 7 GROUP BY productrefpid 8 ORDER BY itemssold DESC ; 9 END fillSalesListTable ; 10 . |
Als ik echter een 'run' geef in SQL Plus dan krijg ik de volgende melding:
code:
1
2
3
4
5
6
7
8
9
10
11
12
| SQL> run 1 CREATE OR REPLACE FUNCTION fillSalesListTable 2 BEGIN 3 INSERT INTO saleslist 4 SELECT productrefpid, SUM(quantityvalue) AS itemssold 5 FROM productlineitem, isorder 6 WHERE productlineitem.lineitemctnrid = isorder.uuid 7 GROUP BY productrefpid 8 ORDER BY itemssold DESC ; 9* END fillSalesListTable ; Warning: Function created with compilation errors. |
Schijnbaar zit de fout in de laatste regel maar wat the hell kan daar nu fout aan zijn ?