Projecting JSON Data Into Relational Format in Oracle Database By Yuli Vasiliev It is common for Web services and Web applications today to use JSON as a data-interchange format. Starting with release 12.1, Oracle Database supports JSON, allowing you to access JSON content stored either inside or outside of the database. This article explains how you might project JSON data...
Oracle
Projecting JSON Data Into Relational Format in Oracle Database
Projecting JSON Data Into Relational Format in Oracle Database By Yuli Vasiliev It is common for Web services and Web applications today to use JSON as a data-interchange format. Starting with release 12.1, Oracle Database supports JSON, allowing you to access JSON content stored either inside or outside of the database. This article explains how you might project JSON data […]
Querying Financial Data From Yahoo! Finance From Within Oracle Database
Querying Financial Data From Yahoo! Finance From Within Oracle Database By Yuli Vasiliev As you no doubt know, Yahoo! Finance is a web site that provides financial information, including stock quotes, stock exchange rates, international market data, and much more. The article illustrates how you can receive financial data in XML format from Yahoo! Finance, issuing queries directly from within...
Accessing Google Searches From Within Oracle Database
Accessing Google Searches From Within Oracle Database By Yuli Vasiliev This article explains how you might use Google search results in programmatic ways, consolidating those results with database data. In particular, the article covers how you might use the Google Web Search API, accessing it from within SQL queries issued in Oracle Database. It is interesting to note that although...
Using SQL/XML functions XMLExists and XMLCast
Using SQL/XML functions XMLExists and XMLCast By Yuli Vasiliev This article reveals how you might use SQL/XML functions in your SQL statements accessing XML data, thus taking advantage of both SQL and XML in a single query. In particular, the article focuses on the XMLExists function that is used to evaluate the XQuery expression passed in, checking whether it returns...
Using XQuery To Access XML And Relational Data
Using XQuery To Access XML And Relational Data By Yuli Vasiliev This article provides an example of how you might query both XML and relational data within a single SQL query using Oracle XQuery, demonstrating the Oracle Database’s ability to combine together different format data. In particular, you’ll look at a query that retrieves data from the DEPARTMENTS relational table...
Fabricating Data Sets
Fabricating Data Sets You often need to fabricate a data set when it comes to creating a report showing daily results for each day in a certain range, regardless of whether there was an activity on a particular day or not. That being said, you need to build a query that will produce a row for each day within a...
Multi-level Aggregation
Multi-level Aggregation You perform a multi-level aggregation when you need to combine data from different levels of aggregation. In this article, you’ll look at an example of how you might perform a multi-level aggregation within a single SQL query that contains subqueries, sending the aggregated data from the inner to the higher level of the query and combining the aggregated...
Combining Aggregated Data With Inline Views
Combining Aggregated Data With Inline Views If your responsibility is to compose the queries producing aggregated data, you no doubt know that it’s not always possible to get the job done with a simple query – a one that contains subqueries, such as inline views, may be required. This article illustrates how you might use inline views as a way...
How To Not Include a Column From The SELECT List In The GROUP BY Clause
How To Not Include a Column From The SELECT List In The GROUP BY Clause Sometimes you don’t need to group by each column or expression included in the SELECT list of the query. For example, you may want to not include ROWNUM in the GROUP BY clause in spite of the fact that it appears in the SELECT list....