This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
'replace' is not recognised as PL/SQL keyword and is not ephasized by SQL editor. See attached screenshot. ----- NB 5.5 beta b 200505020200 JDK 1.6.0 b81 Solaris 10 /Sparc
Created attachment 30154 [details] screenshot
The SQL editor is DBMS-independent, so it only recognizes the keywords specified in the SQL-99 spec. I have a book about SQL-99 which specifies some identifiers which are used as keywords by database servers and should not be used as identifiers (REPLACE is among them). The SQL editor could maybe recognize them as keywords. But I'm not sure about it and it's not a defect, but an enhancement.
When working on this, please make 'if' a keyword also. I looks wierd when 'else' is emphasized as a keyword and 'if' does not :)
Yes, this is a bug. IF is a SQL reserver keyword, but is not the SQL editor's list of keywords. Since this issue is an enhancement and will not be fixed for 5.5, could you please file a new issue (defect) for IF?
I have filed issue 76253, concerning the IF keyword.
*** Issue 76406 has been marked as a duplicate of this issue. ***
Reassigned to new owner.
*** This bug has been marked as a duplicate of bug 76449 ***