Most important PL/SQL coding standards?
Received this request today via email:I was at the MOUG Fall Conference in Chicago a few weeks ago and enjoyed your presentation on the result cache. It’s already paying dividends for us. Thanks for...
View ArticleReflections on Oracle Open World 2015
Oracle Corporation is a massive enterprise - over 130,000 employees, big shiny headquarters, hundreds of products (software and hardware), etc. - and Oracle Open World reflects that massiveness. I...
View ArticleContent Management for Oracle Database Developers - what do you need?
Yes, yes, I know: another post with little or nothing to do with PL/SQL. My apologies. But remember, I do offera daily tip on Twitter: @sfonplsql. videos on Practically Perfect PL/SQL and PL/SQL...
View ArticleNo More PL/SQL Obsession by Steven Feuerstein on ToadWorld
A month ago, I received this email:Hi Steven, just to inform you that your "PL/SQL Obsession" page is out of work, http://www.toadworld.com/sf answers "Page Not Found" Maybe Dell has blocked you?So I...
View ArticleProgrammers are Humans, Too - How to Get Crusty Developers to Change
What? You didn't know that? :-)On a recent blog post, I received this comment:Thanks for the video. You've answered my question and given us lots to talk over. Now, do you have any advice on getting...
View ArticleSQL%ROWCOUNT: What/how much did my SQL statement do?
This post is courtesy of the PL/SQL Challenge quiz ending 27 November 2015:If a SELECT INTO statement without a BULK COLLECT clause returns multiple rows, PL/SQL raises the predefined exception...
View ArticleLOG ERRORS: Suppress row-level errors in DML (from PL/SQL Challenge)
Last week, several hundred players tested their knowledge of the LOG ERRORS feature, and associated with it, the DBMS_ERRLOG package. Check out the quiz here, but feel free to explore the topic...
View ArticlePL/SQL Brain Teaser: Find all the hard-codings!
We all know that hard-coding is a bad thing (well, maybe not all of us. At one training several years past, I asked the audience "Does anyone think hard-coding is a good idea?" and one person raised...
View ArticleMy resolutions for 2016: a short, sweet, focused list
Oracle Database Insider newsletter asked me to do another round of resolutions for the coming year. Since I love it when other people act as though they are interested in what I have to say, I told my...
View ArticleTwitterQuiz results: What could be safely deleted from this code?
Last week, I posted this on Twitter:What code can be removed w/o changing text shown after execution?Who Said What?evrocs_nl putting data in collection before the select, because the bulk collect will...
View ArticleGetting started (and "playing around") with PL/SQL (and SQL (and Oracle...
Got this email Monday from a fellow new to PL/SQL and Oracle:I have been in I.T. for a couple of years but always had this feeling that I could do better. I lost that hunger when the company I had...
View ArticlePL/SQL Challenge approaches 1,000,000 answers....how should we celebrate?
Chris Saxon, the PL/SQL Challenge Database Design Quizmaster and Oracle Database Advocate for SQL and member of Ask Tom Answer Team, reminded me yesterday that the number of answers submitted on the...
View ArticleUse TABLE Operator with Associative Arrays in Oracle Database 12c
Starting with 12.1, you can now use the TABLE operator with associative arrays whose types are defined in a package specification. One really sweet application of this feature is to order the contents...
View ArticleI Love Backups and APIs, a.k.a., Test Delete Processes VERY THOROUGHLY
The PL/SQL Challenge offers weekly quizzes on SQL, PL/SQL, Database Design, Application Express, and Logic. A week on this website starts on Saturday at 00:00:00 UTC and ends on Friday at 23:59:59...
View ArticleA Checklist for Bulk Processing Conversions in PL/SQL
[ Note: download the latest version of the checklist from OTN. You can comment on the checklist there, or on this blog post. Thanks!]Bulk processing (FORALL and BULK COLLECT) is pretty much the most...
View ArticleNine Good-to-Knows about PL/SQL Error Management
1. Exceptions raised in the declaration section are not handled in the exception section.This sometimes surprises a developer new to PL/SQL. The exception section of a PL/SQL block can only possibly...
View ArticleAccessing index of associative array in SELECT-FROM TABLE() operation
As of Oracle Database 12c Release 1, you can now use the TABLE operator with associative arrays whose types are declared in a package specification. Prior to 12.1, this was only possible with...
View ArticleHelp Celebrate One Million Answers at the PL/SQL Challenge!
Sometime in the next couple of months, someone will submit the 1,000,000th answer on the PL/SQL Challenge.And Chris Saxon, member of the AskTom Answer Team, SQL Wizard and Database Design Quizmaster,...
View ArticleThe Case of the Confusing CASE
This odd little piece of code was featured in the weekly PL/SQL Challenge quiz 12 March - 18 March 2016.What do you think will be displayed after executing the following block?DECLARE my_flag...
View ArticleUse TREAT to Access Attributes of Object Subtypes
The TREAT function comes in very handy when working with an object type hierarchy, and you need to access attributes or methods of a subtype of a row or column's declared type. This topic was covered...
View Article