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.
Currently the only way you can execute a SQL script within the context of the DB explorer is to open a SQL file and then tell it to execute. This results in a lot of overhead that isn't needed if you just want to execute the SQL and be done with it. This overhead will be even higher once we integrate the DataView module. This issue proposes an enhancement to the db.core friend API where you can simply execute the SQL and get the status of executing each statement (e.g. SELECT statements do not provide results to the caller).
Sakila database support needs this feature
http://hg.netbeans.org/main?cmd=changeset;node=cbfb95269dd6
Verified with build 080714.