Oracle SQL Developer - Database Diff - How to choose a different schema - oracle-sqldeveloper

I have Oracle SQL Developer 3.2 installed.
I want to a a Tools -> Database Diff. How do I choose a schema other the user's own schema? I looked through the settings and am not able to find it. Does anyone know?
Thanks!

I found it. I had to click the "More" button on the screen where you choose the Source & Destination.

Related

Truncate table in DBeaver right click menu/GUI

I am trying to find an option to truncate table in the right click menu or somewhere in the GUI of DBeaver. The database is SQL Server.
Is there any other option rather that explicitly writing the truncate script?
In DBeaver 7.2.4 - Right click on a table, that needs to be truncated, choose Tools->Truncate, click 'Start'. That's all.
This feature is not yet available for SQL Server. May be DBeaver will include this in their new versions.

DB2: Procedures comments are not deployed via Data Studio

I create a new stored procedure including comments
etc. /* this is a comment */. But if i have a look at the source tab of this procedure in data studio this line is gone.
What's going wrong here?
kind regards
Ralf
You can also consider using -- to show comments instead of /* */
The command line (CLP) preserves comments by default with current Db2 versions, i.e. you don't have to use Data Studio for deployment activities.
In Data-Studio, remember to tick the 'Deploy Option' "Deploy source to the database", as by default it is not ticked. In my 4.1.3 version of Data Studio, this preserves comments in SQL procedures.
Losing comments was reported in an old version of Data Studio with a workaround.
The workaround for the issue is to use the Routines Editor to create the stored procedure, then select the DEPLOY button. That will preserve comments.
Data Project Explorer
Right click on Stored Procedures
Select New->Stored Procedure
Select any of the templates and click Finish
Edit the generated coded and press the DEPLOY button, top right.
If you still have a problem and if your company has an IBM support contract then open a ticket with IBM to get it resolved.

MySQL Workbench: Beautify/Reformat option doesn't work when I write stored procedures

I recently installed MySQL Workbench 6.3. When I write queries the Beautify/Reformat option works fine. But that's not the case when I write stored procedures. If I click the corresponding button nothing happens and also the menu in Edit -> Format is inactive. Since it is a useful feature I would be very grateful if someone could give information about this issue. Is it probably related to the specific version of MySQL Workbench or are there any settings that should be altered, etc.?
Thank you in advance.
After filing a bug report at bugs.mysql.com it was confirmed that the problem was associated with the specific build of the MySQL Workbench 6.3 which was not the last one. This problem does not exist in later versions, for example the current newest version which is 8.0.13.

How can i put number of line in Oracle sql developer

i'm a doubt.
I would like to know how can i put numbers of line in Oracle sql developer.
I think i need change something in tools > preferences, but i don't know how to do.
Thanks
Oracle Sql Developer
Right click in the gutter.
It's also in the preferences:
Open Oracle SQL Developer and follow the below steps-
List item
Go to Tools-->Preferences
Expand Code Editor
Click on Line Gutter
Enable Show Line Numbers
Done!

Oracle SQL Developer, how to open table/view by clicking/double clicking on its name in worksheet?

The Oracle SQL developer is what I use these days and it is missing some of my previous tool (IB Expert, great tool by the way) functionalities.
1.How is it posible in SQL Developer to open table/view by click/double click on its name in the worksheet.
2.Clicking on a table/view name under its connection will open the table next to already opened worksheets or SQL files. How could this changed to double click instead?
I am using SQL Developer Version 3.0.04 under Mac OS X 10.6.8.
I have upgraded SQL Developer to the latest(Version 3.1.07) and still have the same issue.
How to override Single Click to Open tables (or any other object in tree view)
Tools > Preferences > ObjectViewer > Uncheck Open Object on Single Click
Edit:
For version 1.5.5
Tools > Preferences > Database > Advanced Parameter > Uncheck Open object on Single click
Clicking or double-clicking on a table or view name in a worksheet does not open it up. You can, however, right click on the table name and choose either "Popup Describe" or "Open Declaration". "Popup Describe" can also be invoked by hitting Shift-F4 (at least on Windows. Based on the comments, it may be different on Mac OS).
I don't believe there is a way to override the behavior of the single click when you Connections tree control. A single click always opens the declaration of the object.