A Pandas DataFrame has a nice to_sql(table_name, sqlalchemy_engine) method that saves itself to a database.
The only trouble is that coming up with the SQLAlchemy Engine object is a little bit of a pain, and if you're using the IPython %sql magic, your %sql session already has an SQLAlchemy engine anyway. So I created a bogus
PERSIST pseudo-SQL command that simply calls
to_sql with the open database connection:
%sql PERSIST mydataframe
The result is (more...)
Eine kleine Sammlung neuer Features, die in Postgres 9.4 eingeführt wurden bzw. in 9.5 eingeführt werden sollen - oder darin wünschenswert wären:
- Craig Kerstiens hat dieser Tage seine Wunschliste mit neuen Features, die er gerne in Version 9.5 sehen würde, veröffentlicht. Auf Position 1 steht dabei das Upsert - aka MERGE - und das scheint auch mir die erstaunlichste Lücke im gegenwärtigen postgres-Funktionsumfang zu sein. Immerhin ist es seit Version 9.1 möglich, (more...)
If you’re building a “finance-ey” application you probably have plenty of fields that should show and accept monetary amounts – and quite possibly these items may be implemented in a variety of ways – ordinary apex number items, edit fields in tabular reports, or even dynamically generated items using APEX_ITEM.text.
In my case I had all three, scattered throughout the application. Our users routinely deal with multi-million dollar amounts and they had trouble checking the amounts visually, (more...)
Here is how big it was in 2013. Compare it to its size in 2012. It is safe to assume that it will be bigger in 2014!
I will attend this year’s event by invitation from the Oracle ACE Program. Prior to the start of the conference, I will be attending a two day product briefing with product teams at Oracle HQ. It’s like a mini OpenWorld but only for Oracle ACE Directors.
During the (more...)
I talked to a prospect today that was using a competitive platform to deliver their video products. We talked extensively about differentiation of InteliVideo over their current platform (from brand to analytics to customers to apps and so on). But one thing that came up had to do with DRM free downloads. You might think that's a good thing if you don't understand what it means...as they did. I said "so you're OK with (more...)
We have a number of VERY large (video on demand) customers. We've broken our customer-base into 3 categories:
1. Infoprenuers - these are companies who do something and have video, but video is not their primary business. For example, RunBare
. Their primary business is teaching people how to run in your barefeet. They do have a video on this topic, along with books and other items. Another example is BDB Software
, which is my (more...)
A comparison of sucking data into a table over a db link using DBMS_PARALLEL_EXECUTE.
This particular example is based on something I needed to do in the real world, copying data from one database into another over a db link. Datapump is not available to me. Tables in question happen to be partitioned by a date-like number (boo!) hence some of the specific actions in the detail.
I think it’s a good example of (more...)
Based on my article in the latest issue of OTech Magazine, I am offering a free teleseminar (by phone or Skype) on how to live a happy, meaningful life in IT.
Programmers have a head start over the rest of humanity in leading happy, meaningful lives. If you have not yet reached complete enlightenment, I encourage you to sign up and invest 30 minutes listening to this call. It might improve your life.
Always check out the original article at http://www.oraclequirks.com for latest comments, fixes and updates.
A quick tip for keeping a single shared SQL history repository among different installations of SQLDeveloper, for the same user, on distinct computers synchronized with Dropbox.
This seems to be working just fine on Mac OS X and SQLDeveloper 4.0.2 however it's a totally unsupported
Well it's the second half of August and this is my first real post for the month. There are two very good reasons for this:
1) We've just completed a major implementation at one of our clients - a tablet based application using APEX, which completely changes the face of a major arm of the business. It's a groundbreaking application with only one peer in the industry - which users are already claiming superiority to (more...)
A couple of years ago I posted a simple example using PIVOT
, converting rows to columns with the classic example of figures by months.
Oracle 11g R1 also introduced the UNPIVOT
function, allowing columns to be converted into rows.
I've created an example that lists cities by row, but two attractions as two columns, with pairing attributes describing the reason for the attraction.
create table aus_attractions(id number, city varchar2(50)
, attraction1 varchar2(50)
Introduced as an Option Oracles In-Memory option will change the world of databasing also like SAP HANA does; Since July the release is out but the search for resources and documentation is poor;
Here some useful links I found.
Concepts (found a small passage) ...
just started the list - wiil enhance it - from time to (more...)
Do you have a group of employees or members that you would like to train? Would you like to make the training available for a limited time only - such as for 2 weeks? Would you like to have the ability to take the ability to view the training away at your discretion (such as when an employee leaves the company)? Would you like to know who watched which videos? For example, did Jim watch (more...)
One annoying thing from installing Oracle Database 11g on Fedora, was that the up arrows for command history didn’t work. I decided to fix that today after seeing Lutz Hartmann’s article on
rlwrap. Unfortunately, the
epel (Extra Packages for Enterprise Linux) package he recommended doesn’t run on Fedora 20. You can read my tale of woe, or skip to the
.bashrc function that fixed it when I installed only
Attempting it on
Sorry for staying quiet for some time, but for some good reasons. Some of these reasons will be explained in later posts, but for now I would like to share the story I wrote upon request of Steven Feuerstein
, who asked to tell how PL/SQL impacted our life. Here is my story:
I started to work with databases already in college, but more from the data modelling/business analysis angle. When I moved to (more...)
Funding Makes a Huge Difference
Once we closed on our series A funding in May, we were able to afford some of the top industry talent to take InteliVideo to the next level. It's been a very exciting couple of months and it promises to be a very exciting next several years from the looks of it.
SO Many Great Uses
As we've been working with our customers, we continue to see so many impressive (more...)
The summer edition of OTech magazine has just been published – 111 pages packed with information from international Oracle technology experts.
Authors and topics are:
- Sten Vesterli – The Spiritual Programmer
- Scott Weseley – APEX 5.0 New Features
- Patrick Barel – Dear Patrick
- Emma Groomes & Crystal Walton – KScope 2014
- Anar Godjaev – How to protect your sensitive data using Oracle Data Vault
- Debra Lilley – Women in IT Initiative
- Lonneke Dikmans – (more...)
Once again the ADF PMs have been hard at work to provide us all with great training content. This time in the form of a full online course.
Oracle University has begun the First Global Teach of the Oracle Middleware 12c: Build Rich Client Applications with ADF course online.
This course covers all the useful features of ADF Business Components including how to build and test reusable business services. After creating the application they drill (more...)