Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: How to drop an nonexist table without the error message?
Here's your code corrected :
CREATE OR REPLACE FUNCTION Table_Exists (The_Table_Name IN VARCHAR2)
RETURN BOOLEAN IS
The_Table_Exists Boolean;
BEGIN
(no need for declare, and don't use "as" to declare a variable)
CREATE OR REPLACE FUNCTION Drop_Table (The_Table_Name IN VARCHAR2)
RETURN BOOLEAN IS
BEGIN
("if" requires "end if")
Try this... Received on Tue May 09 2000 - 00:00:00 CDT