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.
Steps to reproduce: 1. Connect to a sql database and execute a query with "order by": select * from footable order by foofield1 desc 2. Select a few rows then right click and select "Show SQL script for INSERT" 3. The table name in the resulting SQL is wrong as following: INSERT INTO "footableorder by foofield1 desc" (foofield1, foofield2) VALUES ('value1', 'value2'); Notes: The DELETE and CREATE options give a similar result but with a line break between the table name and order by (as in the original select): DELETE FROM "footable order by foofield1 desc" WHERE foofield1 = 'value1' AND foofield2 = 'value2';
*** This bug has been marked as a duplicate of bug 192772 ***