⌘BABAKOV.NET Let's code!
100% [light] [ru]
~/posts $

2014-05-13

1 total

XML in Oracle PL/SQL (Part 2 - Retrieving data as XML)

In the previous publication, some methods of manipulating XML in Oracle were considered, now let's consider how to retrieve data directly in XML. This is, in my opinion, the most interesting part. In practice, it turned out that for Oracle in most cases it does not matter whether to return a set of records or a formed ready XML of this set of records - in terms of execution time these actions are subjectively almost equivalent. But if you have a need to form some XML structure in the application based on data received from the Oracle database, it will almost certainly be a resource-intensive event, much easier to transfer this functionality to the database, although at first glance it seems that this is not what the database engine should do.

759 views 0 comments 0 likes ./Read →