Could someone look at the code below and tell me why I get an invalid SQL statement when I run it?! What is exactly invalid about this?!
IF EXISTS(SELECT 1 FROM user_tables WHERE table_name = 'tbl_BSUK_PriceIssue') THEN
DROP TABLE tbl_BSUK_PriceIssue;
IF EXISTS(SELECT 1 FROM user_tables WHERE table_name = 'TBL_BSUK_PRICEISSUE') THEN
SELECT '<<< FAILED DROPPING TABLE dbo.tbl_BSUK_PriceIssue >>>' FROM dual;
ELSE
SELECT '<<< DROPPED TABLE dbo.tbl_BSUK_PriceIssue >>>' FROM dual;
END IF;
END IF;