News for hackers. Stuff that matters.
Re:Problems with Oracle SQL by kunagi7 on Friday September 10, 2021 @12:29PM (#28483835)
Well, I used to work with Oracle Databases and that "old man" (Donald Burleson) website has saved me quite a few times.

I even remember the "Learn Oracle at the Sea" advertisement.

But that's the state of affairs and I try to avoid them as much as I can. Amazon seems to think similar [0].

[0] https://www.youtube.com/watch?v=9yBP5gnnZi4

Re:Problems with Oracle SQL by thornygreb on Friday September 10, 2021 @01:26PM (#28484651)
My goto was Tom Kyte (https://asktom.oracle.com) for learning the 'why'. Burleson is an interesting character, but not always correct either.
Re:Problems with Oracle SQL by kubanczyk on Friday September 10, 2021 @04:05PM (#28486317)
Last I've heard of Tom Kyte: https://archive.is/20150928144011/http://www.oracle.com/tech...

His answers were sometimes prime examples of what is today known as seriously unwelcoming. But I remember I un-learned the "best practices" meme reading one of his answers. In fact it was just one sentence, some concise version of "if the 'best' setting existed, nobody would bother to make it a configurable option". But it clicked.

Burleson's more advanced answers were of limited usefulness, because they have never mentioned the exact oracle version. They often have been only valid for antiques like Oracle 7.

Re:Problems with Oracle SQL by msluyter on Friday September 10, 2021 @01:44PM (#28484877)
Tom Kyte books were great and beyond Oracle, I learned a lot about databases generally from them.
Re:Problems with Oracle SQL by pantulis on Friday September 10, 2021 @04:25PM (#28486492)
My SO was a Oracle DBA and she swore by Kyte's books.
Re:Problems with Oracle SQL by qsort on Friday September 10, 2021 @12:32PM (#28483873)
To be really fair, have you ever seen SQL error messages that don't suck? I do agree that Oracle's are the worst by far though.
Re:Problems with Oracle SQL by tomrod on Friday September 10, 2021 @12:37PM (#28483942)
I feel Postgres and SQL Server are easier to grok error states. Oracle seems to want to be an application platform more than a datastore
Re:Problems with Oracle SQL by yyyk on Friday September 10, 2021 @02:29PM (#28485403)
I don't have the experience to compare them to Oracle, but SQL Server and Postgres do have their own issues.

The infamous MSSQL "string or binary data will be truncated" error (fixed a while ago[0]), or the way either deals with unqualified access to columns which leads to surprises (e.g. in MSSQL subqueries or in Postgres's SECURITY DEFINER procedures).

[0] https://docs.microsoft.com/en-us/sql/t-sql/database-console-...

Re:Problems with Oracle SQL by tomrod on Friday September 10, 2021 @04:54PM (#28486768)
Oh indeed, they all have quirks.

Oracle seems to have more than most, IMO.

I have a journeyman data engineering level experience with each. Rare combo I guess, Data Scientist focus.

Re:Problems with Oracle SQL by ptrwis on Friday September 10, 2021 @01:26PM (#28484652)
Exactly, Oracle should be chosen when business logic is written in sql/plsql
Re:Problems with Oracle SQL by kunagi7 on Friday September 10, 2021 @12:48PM (#28484106)
On Oracle most of the error messages are bad, not precise enough or plainly wrong. Basic things like a wrong error line (failure is on line 3, displays 5 or 6), messages that aren't related to the real issue. You're pretty much on your own.

Also, I had to switch to DBeaver since Oracle SQL Developer made things worse with random crashes and freezes. Back when I used it, an easy way to freeze the editor was connecting to a DB via VPN and then suddenly disconnect. The connection gets stuck, parts of the UI get frozen and after a while the whole thing freezes.

MySQL/MariaDB and Postgres are better.

Re:Problems with Oracle SQL by mypastself on Friday September 10, 2021 @01:02PM (#28484356)
To be fair, I had to switch to DBeaver for Postgres as well, as pgAdmin’s usability has been steadily decreasing since the first release of version 4. The lack of quality GUI is essentially my only problem with Postgres, though.
Re:Problems with Oracle SQL by edgriebel on Friday September 10, 2021 @02:01PM (#28485079)
Tom Kite is/was great, but his answers are the equivalent of "I'm glad you asked, pull up a chair and let me tell you a story about a white whale..."