I am a new SQL developer using Oracle sql developer connect to Oracle.
I know how to refresh Table/View list by right click mouse and choose 'Refresh' which will show new tables I just created.
May I ask if is it possible I can do it from program code?
like execute any procedure or any build-in method that can refresh table list by program?
Any suggestion will be greatly appreciated!
Thank you!
Tod
I tried searching google but I can't get answer,I am feel guilty to ask this Lazy question,but I believe the answer and question will help lots of lazy programmer like me
exec refresh_table_list
Nope, you just need to use your mouse.
If you use the New Table dialog, we will refresh the list for you automatically.
The only other way would be to disconnect and reconnect, but that would be awfully expensive.
Or if you've just created your table, and you want to open it - use the ctrl+mouse hover click trick.
Related
It always gets stuck with no response for long time when I occasionally Ctrl+Click one table name when writing the SQL in the SQL Editor windows of PL/SQL Developer.
Is there anyway to disable this Ctrl + Click opening object view function in PL/SQL Developer?
Do anyone know about it? Many thanks!
Unfortunately no. Here is a forum post from 2018 where I asked about this and there has been no change since then. Also, if you are an avid PL/SQL Developer user the forum is a great place to start with these kinds of questions.
I am going to use reusable mapping in odi 12c, but there is a problem. When ever I drag and drop a table into the environment, it gives me this error:
No object could be dropped on the diagram possibly because the chosen technologies in the "Create As" dialog were incorrect. Please, try again choosing a different technology.
I got confused and I do not know what is wrong because before that I was doing the same thing but suddenly this error pops out.
I was going to develop simple reusable mapping to save that for using in my other mapping.
I got the same error message. I couldn't drag and drop any of my tables - regardless of their source.
I did not find any solution except to delete my old mapping and create a new one.
Closing the ODI and launching again should help as a workaround for this error.
Use the command:
odi -clean -initialize
This will clear the cache and launch ODI and it should negate the error until next time.
Context: I'm running some simple queries in Azure Data Studio to query and manipulate data in a local instance of SQL Server 2019.
Question: When I query the table via "Select", the Run button is accessible. As soon as I Truncate the table, the Run button dims & is no longer accessible --__-- Why!? Once the button dims seems I'm unable to execute any other queries in the same query window afterwards. SMH.
Kinda ridiculous that I need to even post this question given how simple these 2 queries are. I expect this button to be easily accessible, similarly to SQL Server Management studio. I read through the docs and dont see anything about this button dimming issue. ADS is built with similar components to VSC so experience or knowledge in that tool may help. Can someone please share any tips/tricks they know on how to fix this issue?
https://learn.microsoft.com/en-us/sql/azure-data-studio/quickstart-sql-server?view=sql-server-ver15
this is a missing feature of Oracle SQL-Devlopper i am still searching for days.
-create a shortucut, or button, in fact a quick way to access the most used tables (of hundreds) of my DataBase.
I 've used Toad for years, and it's "favorites objects management" was a very important time saver feature . But now, on my new projet we have no choice and we have to use Oracle-SqlDeveloper :(:(
Can we manage favorites nativly in SQLDevelopper ? Or by using a third party add-on ?
There's no 'favorites' feature in SQL Developer. However, you can create reports that would give you what you want.
Making Your Own Custom Object Navigators
I'm working on a .Net application that needs to read from an Oracle 10g database behind Siebel. In VS 2010 Server Explorer, I've created a connection using the OracleClient type connector with a reference to the Oracle TNS service name as the "server name." The "Test Connection" button shows that the connection is successful. However, in the Server Explorer, when I go to expand the Tables, no tables are shown. I know for a fact that there are 3000+ tables in the database (thanks Siebel). Anyone know what's happening here? I'd like to create an Entity Framework 4.0 Entity Data Model...
Thanks for the help!
Andy
I've had the hardest time trying to solve this issue myself. There's very little useful documentation on the subject. Once you create a data connection and tested the connection click "Ok" then open up the server explorer window. Right click on the new oracle data connection and select "Change View". By default "My Objects" are selected, try selecting "User Objects" or "All Objects". Once you do, you should be able to see all of the objects under the data connection sub categories.
Right click on connections, go to Filters, the "displayed schemas" property by default, it's your logon name to the connection. Change the schemas to dbo schema and update the property. Then you should see all the tables. It worked for me :)
Do you have privileges on the schema and/or tables?
Don't know VS2010 but it sounds to me like there's a setting to show you only your schema by default.
UPDATE: Oracle just announced a new ODAC version, 11.2.0.1.1 Beta with support for VS 2010. You might give that a shot.
The same situation occurred for me, however this was with SQL Server 2008. Somehow the sql user account I was connecting with lost both read and write privileges. Once the account was given back those privileges I was able to access everything as expected.