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.
SQL script INSERT INTO XKP VALUES(NULL,'B','CZK',NULL,-40,'561','Test 04 -- EBD1082_001', '2','CZK',NULL,NULL,'0','0','2007-10-31','F', NULL,99,'2006-01-05','S','',0,22,1,NULL,NULL,'0','0'); is not executed with message: An error has occured during execution: Unexpected end of command in statement [INSERT INTO XKP VALUES(NULL,'B','CZK',NULL,-40,'561','] I blame the '--' in next column.
You are right, the code which removes the comments doesn't deal correctly with strings.
This was fixed when the support for executing SQL scripts was integrated.
v.