Skip to main content

Shameless, I know. But it feels so good...

We all like to get patted on the back, stroked, egos fed, right?

I am no exception.

And the very best kind of stroking for me is when a developer tells me things like:

"Your book changed my life."

"That code you posted on your blog saved me a whole day's work."

and so on. Honestly, I don't think the endorphin flow is from some sort of personal pride. It's more that the enormous chunk of my life that I have devoted to PL/SQL can help other individuals improve their quality of life and personal happiness in some way (I am much less enamored with helping the bottom line of corporations).

In that vein, this morning, I received the following wonderful email:

Subject: Error trapping - THANK YOU

Steven,

Your Oracle article about error trapping in PL/SQL saved my bacon this morning. I woke up to a production error with commercial software that we wrote. 

I had already implemented many aspects of your recommendations. When I started troubleshooting at 0600, I had tools and plans in hand (the solution didn't come for 2 hours) BUT I had tools and plans!!!!

I debated posting my efforts publicly because I simply parroted your work. 

After the firefight this morning, I recognized that echoing your words can only help the cause.

Again, Thank you!!!!


Ah....it doesn't get better than that. Well, there is something better than that: spending time with my granddaughter, Loey, who at 3.5 years of age is a true fashionista:




Comments

  1. For anyone looking for a complete PL/SQL logging platform, there's a widely used free open source project called Logger: https://github.com/OraOpenSource/Logger

    ReplyDelete
  2. Hello Steven, All,
    It is very upsetting indeed to witness an error scenario, without any opportunity
    to research it, or being able to offer any advice ...
    Sad to say, but in many such occasions, since it is NOT my own code and I have
    practically no chance to touch it in any way, I am practically helpless ...
    I wish I were in a more cooperative environment, in which at least out of curiosity
    we could work together at least to isolate the problem, and, since it looks like
    an Oracle bug, at least to be able to create a reproducible sample case.
    I am always in favor of sacrificing even a high amount of so called "productive time"
    for the sake of research and, maybe, for highlighting a case that might hid a bug ...

    And ... yes ... Loey is indeed a very nice "Little Lady" ... still enjoying the opportunity
    of polarizing the 100% attention for her alone :):)
    As I remember, for not too much time left ... even if she will probably not have to share it with the happy PL/SQL developers community in the first place :):)

    Cheers,
    Iudith

    ReplyDelete

Post a Comment

Popular posts from this blog

Three tips for getting started right with Oracle Database development

By "Oracle Database development", I mean, more or less, writing SQL and PL/SQL. I assume in this post that you have access to Oracle Database (which you can get via Cloud services, Docker , GitHub and OTN ). A. Use a powerful IDE, designed with database programming in mind. There are lots of editors out there, and many IDEs that work with Oracle Database. Sure, you could use Notepad, but OMG the productivity loss. You could also use a popular editor like Sublime, and then it get it working with Oracle. I suggest, however, that you  download  and install Oracle's own own, free, powerful IDE: SQL Developer . If you like to complement your graphical IDE with a command line tool (or OMG if you actually prefer  a command line tool to a graphical interface), you should also check out the relatively new and generating-lots-of-excitement SQLcl . B. Enable compile-time warnings and PL/Scope. The database has tons of useful functionality burned right into it, ready for...

Why DBMS_OUTPUT.PUT_LINE should not be in your application code

A database developer recently came across my  Bulletproof PL/SQL  presentation, which includes this slide. That first item in the list caught his attention: Never put calls to DBMS_OUTPUT.PUT_LINE in your application code. So he sent me an email asking why I would say that. Well, I suppose that is the problem with publishing slide decks. All the explanatory verbiage is missing. I suppose maybe I should do a video. :-) But in the meantime, allow me to explain. First, what does DBMS_OUTPUT.PUT_LINE do? It writes text out to a buffer, and when your current PL/SQL block terminates, the buffer is displayed on your screen. [Note: there can be more to it than that. For example, you could in your own code call DBMS_OUTPUT.GET_LINE(S) to get the contents of the buffer and do something with it, but I will keep things simple right now.] Second, if I am telling you not to use this built-in, how could text from your program be displayed on your screen? Not without a lot o...

The future of Oracle PL/SQL: some thoughts on Sten Vesterli's thoughts

Sten Vesterli published a very thought-provoking post on his blog: Please stop reading this post, and read that one. When you are done, come on back here for my thoughts on Sten's thoughts. OK. You read it. Here we go. First, thanks, Sten, for being such an interesting, wise, sometimes provocative voice in our community. Next, Sten writes: Now, on the one hand, I certainly agree that the vast majority of young developers are currently caught up in the modern version of a Gold Rush, which is: "Build an app using JavaScript, pay no attention to that database behind the curtain." But I can assure you that I still do meet young PL/SQL programmers, regularly, when I am at conferences and doing onsite presentations at companies. So, young person who writes PL/SQL: do not be afraid! You are not alone! And you are super-smart to have made the choice you did. :-) Next, Sten offers this advice to managers: I agree that PL/SQL is a "spec...