Supposing you've got data as a text string with "row" and "column" delimiters and you would like to parse out those columns and rows. The external table syntax would actually be great for this, but that requires writing the text out to a file first, and then you can import it back again as columns and rows.
There are various other alternatives using SQL and/or XML manipulations, but one method that I don't see much (more...)
Just a brief summary of the status of Escope so far - I know it's very very early and too early to even tell whether it'll become real or not, but anyway ... ;-)
- For those who don't know yet, we're trying to see if it is possible to create a conference in Europe like the Kscope conference by ODTUG. See my early thoughts here:
- We're gathering feedback from as many European (more...)
In my last post
, I wrote about a dream of a European version of ODTUG Kscope
conference - working title "Escope." ;-) We're trying to determine whether it would be feasible to create such a conference - if you haven't already, go and fill out the survey
and help us find out if there's basis for the dream. And send the survey link to you colleagues and friends and network - the more (more...)
As most people likely to read this blog will know, I am a great fan of the ODTUG Kscope
yearly conference for Oracle developers. In my opinion it is one of the absolute best places for awesome content, presenters, attendees and networking - all wrapped in one high quality package that's fun too.
Some Dutch developers (Erik van Roon
, Gert Poel
and more) and I had a little twitter discussion some time ago. (more...)
A recent question on the Oracle-L mailing list was about generating dates in a given period. If you had a string like 'MWF', all Mondays, Wednesdays and Fridays between the from- and to-dates should be generated.
That reminded me of a quiz on plsqlchallenge.com
I did on using DBMS_SCHEDULER.EVALUATE_CALENDAR_STRING. I had created a table function to test calendar expressions - that might be useful for something similar to what was asked on the (more...)
It's Christmas time... It's a time for giving... It's a time for warm-hearted feelings...
But there are people battling for their lives against cancer, who may not have much energy left to enjoy the holidays. Almost everybody has family or friends whose life has been impacted by cancer. Let us all reach out however we can, help wherever we can, and let good thoughts go out to the victims.
All cancer is terrible - but (more...)
Som et alternativ til kaffemøderne i den danske Oracle brugergruppe DOUG forsøger vi efter idé fra min kollega Majken Sander
og undertegnede et nyt koncept uden præsentationer og foredragsholder, men i stedet lade deltagerne brainstorme og sparre med hinanden omkring at knuse et bestemt problem.
køres en aldrende XAL applikation med data i Oracle. Her skal re-nummereres pseudokey for 600 millioner rows pga. applikationen ikke kan håndtere integers over 32 bit. Det (more...)
Via Steven Feuerstein
I was asked to try and give advice concerning fastest way to parse CSV data in PL/SQL. The case was that they had a different database that could be setup to deliver data as a webservice serving either CSV, XML or JSON, and they wished to let their APEX application use PL/SQL to retrieve data from that other database via such webservices. They were not yet on 126.96.36.199.0 (more...)
Previously I've demonstrated how to use function XMLTABLE to query Google maps routing directions
. Now Oracle version 188.8.131.52.0 has function JSON_TABLE to do similar querying on JSON data rather than XML data. So let's try that out and spot some differences...
For this test we'll use the Google maps geocoding rather than routing directions and try to geocode the address of Oracle headquarters. If we call the Google api with instructions (more...)
Inspired by Maria Colgans quest for In-Memory bumper sticker slogans
for OOW14, I couldn't resist a little fun. Musical readers should stop reading now :-)
Sung to the tune of the old Nat King Cole classic
Like the speed of light my query go
Column aggregates just happen so
Has data been more...
Is forever more
Row based access, it's a dinosaur
For some reasons I got lounge access here at Seattle airport when going home fra KScope14
. So I can use the last couple hours here lounging comfortably writing a few words about an awesome week here.
This was my fifth consecutive KScope and I plan to go every year. That is one awesome konference for developers and it just gets better every year. I'll be at KScope15
in Florida for sure! I had a great (more...)
In the Kscope14
sunday symposium today, Steven Feuerstein explained that MEMBER OF syntax was slow in SQL and fast in PL/SQL. I challenged him that perhaps it was missing indexes on the nested table? My mistake - I got the task of testing it and see if that was the case... So I tested and was surprised at the answer.
I'm creating a nested table type and a table with a column of that type (more...)
Thursday I went for a quick trip to Nieuwegein for the Amis
KScope Preview. Nice evening :-)
After a train to Copenhagen and a plane to Amsterdam, I checked in at the CitizenM hotel at Shiphol airport. A bit different hotel - toilet and shower in big glass tubes in the room - but actually fairly nice for a single traveller.Patrick Barel
was kind enough to pick me up, so getting to the Amis (more...)
Can't wait until KScope14
Or can't make it to Seattle?
Then you can see some of the presentations at a preview at the AMIS offices in Nieuwegein, where some of the KScope14 presenters
will try out their presentations in Database development, APEX and ADF tracks. I've been invited to do my presentation on analytic functions, so I'll be there ;-)
It'll be Thursday June 12th 2014. See the agenda here
and more details (more...)
In June 2014 I hope to see a whole lot of you at ODTUG
's awesome conference Kscope14
You will not regret going to Kscope14. There is a ton of great content and loads of awesome brainpower to pick ;-) And if you can find the time for it in (more...)
I got a note from Steven Feuerstein
the other day about a group of developers in Stockholm starting an SQL Book Club. What a great idea :-) Anyway, they had asked Steven if he had any recommendations for good books on Advanced SQL. And Steven asked me the same question... (more...)
April last year I blogged about TOP-N reporting using Top selling items
as example. In Oracle 12c we now have a new FETCH FIRST syntax, so in this post I'll revisit the Top selling items example showing where and how FETCH FIRST can be used and where you still need (more...)
To provide data source for our datawarehouse (in a seperate MS SQL database, god help it, but that's beside the point :-), we have a setup where we have several views where the datawarehouse connection user has been granted select rights.
When we got Active Data Guard in the spring, (more...)
I've presented on Analytic Functions twice now - at ODTUG
KScope12 and UKOUG
2012. Both times I've felt that an hour is not nearly enough to both teach how to use analytics as well as show use cases of how analytics can really be used for solving a lot of (more...)
It is that time again...
Time to go mingle with the best of the best, learn much, teach what I can, suffer information overload, have fun, enjoy life, and much much more...
In short - time for ODTUG KScope13
Hotel and flight has been booked half a year (more...)