I believe the target table of an INSERT INTO statement should be quoted.
E.g. right now I get from toSQLSting():
INSERT INTO a table name with spaces ......
and I should get:
INSERT INTO [a table name with spaces] .....
Attached the small patch to solve the problem.
Thanks for the great work!
Sorry for the shuffling, i was confused.
Fixed in trunk, will be in the 2.0.8 release.