View 'Other Users' schemas as you can in SQL Developer - datagrip

I have an Oracle DB that where I use multiple schemas from the 'Other Users' objects in SQL Developer, and the login has permissions to all of them. Trying out DataGrip and I can't see the 'Other Users' in the tree and there is no obvious way to view those schemas. I confirmed I can query those tables in DataGrip (SELECT * FROM otheruser.table works just fine).
Is there a way to get those schemas's to show up in the database panel?

To manage seen schemas and databases in DataGrip go to the data source properties (context menu | properties) and select Schemas tab. There you can choose which schemas to show.

Related

'Types' node not being listed in the metadata browser in the Connections navigator in sqldeveloper

I am connected to an Autonomous DB in Oracle Cloud. I created a TYPE database object in my schema. When I try to view the details of the TYPE, the metadata browser does not even list "Types" as a node in the tree structure.
The owner of the type is the schema that I am logged into. I accessed the Object Browser via SQL Workshop in Oracle APEX and I can see that the type that I have created is displayed there.
Is there any setting that I can modify within SQLDeveloper so that it will show me the Types node in the navigator?
sqldeveloper version: Version 19.2.1.247
Build: 247.2212
I am using this on MacOS
The Autonomous team asked us (SQLDev) to hide a bunch of stuff...like indexes, materialized views, etc.
They weren't supported in the first iteration of the service...but now they are.
In a future release (20.2, maybe) these objects will all be displayed again, whether you can create them or not.

How to query tables and pull data into an Oracle APEX application from another schema?

I am working in an Oracle APEX application and am trying to query tables in another schema (that another Oracle APEX application sits on) to pull in data to my application.
The applications are hosted within the same APEX workspace and on the same Oracle 11g instance. Our application have tables that are structurally the same as the tables we're trying to query in the other schema.
Using the schema prefix (SELECT * FROM "SCHEMA2".TABLE1;) when querying is throwing an error that the tables do not exist (ORA-00942: table or view does not exist)
The second thing I tried is creating a database link between the two schemas, but when trying to establish the connection I'm getting the following error: ORA-01031: insufficient privileges
Can someone identify where I'm going wrong here / help me figure out how to query the other schema?
Database link is used when there are different databases involved; your schemas reside in the same database which means that the first attempt was correct: prefixing table name with its owner, e.g.
SELECT * FROM SCHEMA2.TABLE1
However, first connect as schema2 user and issue
grant select on table1 to schema1;
Otherwise, schema1 can't see the table. If schema1 is supposed to do something else with that table, you'll have to grant additional privileges, such as insert, update, delete, ....

How to use tables from database in apex 19.2

I've installed Oracle APEX 19.2, on database 12.2. And I don't know how to use tables which exist in database. For instance, I have table 'test' in database and I can't use this table in app builder. I searched in google, but I couldn't find appropriate answer.
Thanks in advance
When you create a workspace, you have to "pair" database users (schemas) with your workspace. It is done in administrative part of Apex (you have to log in as ADMIN).
Once you do that, you'll be able to see tables owned by that user.

SQL Developer - default open specific tables after connection

does anyone know how to set up default "seeing" of specific tables after connecting to the DB? E.g. we have tables A,B,C,D and after connecting to the DB I want to see TAB with table A and TAB with table B.
Thank you
Sorry, this isn't possible today in Oracle SQL Developer.
You could submit an enhancement request to My Oracle Support or put in an idea to sqldeveloper.oracle.com

SQLDeveloper displays no tables under connections where it says tables

I am not sure why but I just installed SQLdeveloper 32 bit (3.0.0.4). When I click to expand the tables/views/indexes or etc it displays nothing at all!
But when I do the following:
SELECT owner, table_name
FROM dba_tables
I see the list of tables and I have read access to these tables since I can do a select * from anytable and data shows. Any thoughts?
The SQL Developer tree shows you what objects you own, not what objects you have access to. If you want to see the objects that you have access to that are owned by other users, you would need to navigate to the "Other Users" branch of the tree, then the user that owns the table, then the "Tables" branch.
Add select privilege to all_objects/user/ojects in the db user
For me also same problem happened, the tree structure under hr schema like Tables, Views, Indexes, Packages etc was not there, I deleted the sql developer folder and downloaded freshly and extracted, now I got the tree structure back.Try it.
Launch SQL Developer as administrator

Resources