This was so much of a pain in the ass to figure out
that I decided that I would compile a whole post specifically
around useful information for this topic.
To get started, download SQLDeveloper through Oracle’s
site (you’ll need to register). So far I’ve tested this on macOS.
Establishing a connection
- Under the Connections tab, click the green plus button
- Specify Basic for the connection type
- Put in the Connection name, Username, Password, Hostname, and Port
- For SID, put in the hostname without the domain.
For example, if you have database.organization.com,
you would put in database for the SID.
- Click Test
- If there is no error message, click Connect.
If tables are filtered
- Right click on Tables (Filtered) for your given database
- Click Apply Filter
- Check Include Synonyms
- Click OK
- Right click on Views for your given database
- Click Apply Filter
- Check Include Synonyms
- Click OK
Resource: https://www.thatjeffsmith.com/archive/2013/03/why-cant-i-see-my-tables-in-oracle-sql-developer/
Run a SQL Query
- Go to Tools
- Click SQL Worksheet
- Select the connection you want to query, click OK
- Enter in your query, click the green Play button
文章来源: https://techvomit.net/interfacing-with-oracle-dbs/
如有侵权请联系:admin#unsafe.sh