How can I handle insert update in Oracle Apex interactive grid with more than one table which is attached with inner join. If anyone have solution please reply.
The source of the IG can be a query or a view on top of multiple tables. Basically this is the rule: if you can execute the update statement in sql on the source then the IG will be able to do it as well.
So it's easy to display some extra columns from another table - updating them will be a challenge. There are 2 workarounds
Create a view with an instead of trigger
Use custom pl/sql code to process the IG data on submit instead of the native process
Related
I want to select a saved query as datasource in my charts but Superset only displays views and tables as data sources.
What is required to select a query as a datasource?
In SQL Lab, after you execute the query, you have an option to visualize the query, and then you are able to create a chart using the query, save it, and use it in a Dashboard once saved.
Not very intuitive, I had to look for it too ;-)
IDK if it is still relevant but you can query the dataset. This can be very useful when you're doing nested queries. You can do this with the help of jinja templating. make sure you have enabled them in the config file
select * from {{dataset(233)}}
I have an interactive grid that displays over 250k records and has more than 30 columns. When I attempt to download the report in csv format, I get an Internal Server Error. How can I get around that? Is there a way to limit the number of records (I know that when there are fewer records it works fine)? Is there a way to automatically split report in two parts and download two separate files?
You can always add filters to your SQL Query, that way the end user downloads the data they really need.
For example:
1. Create some items like Select List.
Enter the proper filter in your SQL Query, as follows:
Include the items in Page Items to Submit.
Create a Dynamic Action to refresh your IG when the end user selects a different value for the items
I have 2 interactive reports in one page. I want to implement the functionality that on selecting a row in first interactive report (parent) based on one table, the same key which is present in another table upon which another Interactive Report (child) is based upon, is passed to child interactive report, and data is updated in the child interactive report.
Data in child interactive report should refresh upon selecting another row in parent interactive report.
How can I implement this?
Consider using Interactive Grids where you have Master/Detail relationships? See this blog post: https://blogs.oracle.com/oraclemagazine/easy-masterdetail
I have a report with an edit link. The Edit link is Id. This report retrieves records from different databases.
My requirement is to insert those records into my database when the edit link is clicked. Please find the image below.
I need to insert these two records into my database table on clicking on the edit link.
How do I perform this in APEX?
Well, I would rather have another dedicated column on this report that does the required action than use an Edit link which is primarily used to drill down to a record in detail.
You can follow this article to achieve the desired action by creating a button on a report which performs DML action. Just make sure to accommodate the necessary changes to meet your needs.
Here is another perspective on solving this problem
http://www.grassroots-oracle.com/2015/12/tutorial-include-action-button-in-report.html
Ive been looking around, and have not been able to find anywhere on the AWS console a place where i can query the tables i have created in DynamoDB.
Is it possible for me to run quick queries against any of the tables i have in DynamoDB from within AWS itself. Or will i actually have to go ahead and build a quick app that lets me run the queries??
I would have thought that there would be some basic tool provided that lets me run queries against the tables. If there is, its well hidden....
Any help would be great!
DynamoDB console -> Tables -> click the table you want to query -> select the Items tab
You will then see an interface to Scan or Query the table. You can change the first drop-down from "Scan" to "Query" based on what you want to do, and change the second drop-down to select the table index you want to query.