Write SQL Statement against Oracle Cloud Database Schema services using Oracle SQL Developer - oracle

I have a subscription to Oracle Cloud Database Schema Services ( Schema not full Database ) , I am trying to access the database instance using Oracle SQL Developer , I followed the below to make connection in SQL developer :
1 - From "Database schema Service connection"
2 - New Cloud Connection and enter my username/password/instance URL
3- The database connected and I can list all tables inside the schema
But When I tried to open SQL worksheet and write some select statements , I can't achieve this.
I know that this task can be done through APEX console , but is there anyway to do it by using SQL Developer?

This is not currently supported.
The SCHEMA service is only reachable via HTTPS. We have built several REST Services that allow SQL Developer to do what you see currently today, which includes browsing the schema and uploading data via the CART.
We have just built a SQL 'REST Service' feature into Oracle REST Data Services which allow us..or any authenticated user, to run an ad-hoc SQL or PL/SQL block statement via a POST. This would allow us to add what you're looking for - the ability to do a SQL Worksheet for your service.
However, instead of building this into the SQL Developer desktop, we're looking at releasing 'SQL Developer Web' which will be available in your Oracle Cloud Database Services' consoles.
I can't tell you if/when that will be available for you in your Schema Service, but it's on the road map.
In the mean time, the APEX UI and its SQL Workshop is the way to go.

Related

Oracle Privilege - User can create table but cannot write rows

A user has been configured on Oracle. Via this user, I can create an ODBC connection and an OCI connection, and these both test fine in Win10. Using Alteryx with the ODBC and OCI connection, we try to write data to a new table.
The table is created and appears in PL/SQL with the expected column names. However, the rows are never written and the connection just hangs at this point.
What could be wrong? I am not an Oracle Admin
Based on comments you were expecting oracle to commit without executing "commit" command explicitly. It's not enabled by default in oracle so you have to turn it on.
It's not possible to turn this on for the database, but on client apps only.
E.g. "set autocommit on" command in SQL Plus.
So you need to check docs for the client application you're connected with (presumably Alteryx is the one). It might have such a feature.

Can Toad (for Oracle) connect to a database I've created in my computer?

I've created a database via MS Access & I've created some tables within it. I want to know if it's possible to access it via Toad & how can I achieve it.
I managed to create the DB, but I'm seeing that Toad has three options for connection: TNS Names, LDAP or Direct (I don't really know the difference between the three). What would I need to do to connect it successfully?
I'm expecting to be able to login to my Database using Toad & do queries on it.

SQL Server Migration Assisstant (SSMA) doesn't see my schema in Oracle

I can connect to my 12c Oracle database using Oracle's Sql Developer and see my schema, but when I connect via SSMA I can't. I see a bunch of other schemas in SSMA, which I assume came with Oracle because I've only created two users on the box and I don't see either of them in SSMA. I'm connecting using the System account, so I don't think it would be a permissions issue. As you might be able to tell I don't know much about Oracle. Where could my schema be hiding?

Accessing SAP Pool Table A016 from Sql Developer

We have two divisions in our company, one uses E1 on Oracle 11g the other uses SAP on Oracle 11g.
We also have a SQL Server system we use to data warehouse information once a night from both system to run our report server against.
The question I have is for pooled tables in SAP, such as A016, how would I get that information out of SAP?
Currently we have SSIS's setup with a linked server to the two Oracle servers which pull the data we need I just don't have the knowledge of SAP to find the Pooled tables.
if I can't pull the pooled tables because they don't physically exist is there a tool I can use in SAP to find out what tables the pooled table is getting it's information from? This way I can rebuild that table in SQL using a open query and some fun Joins.
Thanks
You have to access those tables using the application server. They can't be accessed directly from the database.
You'll probably want to write an ABAP program to extract the data you need go from there.

Microsoft Enterprise Logging Block with Entity Framework asks for WriteLog procedure

I have a WCF service that uses Microsoft Enterprise Library Logging to log some messages to the Event Log. That works just fine.
The problem is that i want to log some messages to a table in an Oracle database. I am using the Entity Framework to communicate with that Oracle database.
The next step is a right click on the 'web.config' and choose the option 'Edit Enterprise Configuration'. I get the 'Enterprise Library Configuration' editor. In there i am trying to set the Logging Settings so that it also logs to the database, but when i add a database trace listener it´s asking me to fill in a procedure name. Do i have to add a procedure name to fill the table in Oracle? The msdn tells me to run the script that create an MSSQL database 'Logging' and some tables. But i don't have an MSSQL server, i have an Oracle server. And i don't want to use a seperate logging database, but save the logs to a single table.
Can anybody help me with this?
Kind regards
The Enterprise Library Database Trace Listener uses 2 stored procedures to write to the database: Add Category Procedure and Write To Log Procedure.
There is a SQL Server script to create the tables and stored procedures. This would have to be ported to Oracle.
Unfortunately, it looks like this does not work as easily as you would hope. See the blog post, Enterprise Library Logging to Oracle Database (this is based on EntLib 3, I believe) and the work item Cannot log to oracle Database using logging blocks for a description of some of the issues as well as some downloads to help.

Resources