> When I am connected to an Oracle DB and am using the results pane to
> edit an existing value in the database. The sql that is generated for
> me when clicking the save icon always puts in an owner of 'public'
> before the table name. Is there anyway to keep it from putting in the
> owner modifier before the table name?
>
> example:
> UPDATE PUBLIC.CONTACT
> SET LNAME = 'Dylan'
> WHERE CONTACT_ID = 34452;
Are you sure you are using Oracle? I have never seen that happen there. Usually the owner prefix is only added when the table you are updating is not in the current schema (i.e. the current user in most of the cases)
Is contact by any chance a public synonym? That could explain that behaviour. If it was a table that was owned by the current user, this should not happen.
Can you check if you have the following line in your workbench.settings:
workbench.sql.ignoreschema.oracle=PUBLIC
If it's not there just add it using a text editor. You have to close the application before editing the file.
If you are on Windows this file is (normally) located in the directory "%USERPROFILE%\.sqlworkbench"
On a *nix system this would be $HOME/.sqlworkbench
> Also a long standing problem that I was wondering about is when you
> have a comment in the sql pane before a block of sql and you try to
> execute the sql with a cntl + Enter it throws a "missing mandatory
> parameter" error.
>
> example:
> --This is a comment
> select *
> from dual;
Very strange, this works for me without problems.
Where exactly do is the cursor when you hit Ctrl-Enter?
What else do you have in the editor?
Which version (build) are you using?
Could you set the log level to DEBUG (Tools -> Options -> General), run this again and then send me the logfile to the support email?
Regards
Thomas