Trying to create a procedure without parameters gives me this error:
Including the parentheses doesn't help either:
Can someone help?
Adam
while(ignorance){perpetuate(violence,fear,hatred);life=life-1};
Code:
SQL> CREATE OR REPLACE PROCEDURE usp_GetFleetTypes
2 AS
3 BEGIN
4
5 SELECT *
6 FROM Fleet_Type
7 ORDER BY ft_Description;
8
9 END;
10 /
Warning: Procedure created with compilation errors.
SQL> show errors;
Errors for PROCEDURE USP_GETFLEETTYPES:
LINE/COL ERROR
-------- --------------------------------------------------------------
5/1 PLS-00428: an INTO clause is expected in this SELECT statement
Including the parentheses doesn't help either:
Code:
SQL> CREATE OR REPLACE PROCEDURE usp_GetFleetTypes
2 (
3 )
4 AS
5 BEGIN
6
7 SELECT *
8 FROM Fleet_Type
9 ORDER BY ft_Description;
10
11 END;
12 /
Warning: Procedure created with compilation errors.
SQL> show errors;
Errors for PROCEDURE USP_GETFLEETTYPES:
LINE/COL ERROR
-------- ----------------------------------------------------------------
3/1 PLS-00103: Encountered the symbol ")" when expecting one of the
following:
<an identifier> <a double-quoted delimited-identifier>
current
Can someone help?
Adam
while(ignorance){perpetuate(violence,fear,hatred);life=life-1};