• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • WHERE Versus HAVING

    May 9, 2007 Hey, Ted

    What is the purpose of SQL’s HAVING operator? It seems to me to be unnecessary, since the WHERE operator can choose which records are to be included in the query. What am I missing?

    –Rich

    Don’t sweat it, Rich. This is a very common point of confusion. Let me try to straighten it out for you, and in the process I’ll add a tip that some of the more experienced readers may not have seen before.

    Sometimes you can get the same result either WHERE or HAVING. The following two SQL commands produce the same result set. That is, both

    …

    Read more
  • Error-Checking Email Addresses, for Intelligent People

    May 9, 2007 Ted Holt

    Note: The code accompanying this article is available for download here.

     

    Dear Intelligent Colleague:

    I’ve been less than impressed with the results of keying invalid email addresses into database files, mainly because I’ve had to deal with some of that undeliverable email. I recently wrote a little RPG routine that checks for glaring errors in an email address. The people for whom I wrote it liked it and thought that you might find it helpful too.

    My routine enforces the following few rules:

    * No leading or embedded blanks.
    * No question marks, exclamation points, or slashes.
    *

    …

    Read more
  • Admin Alert: The i5 Battery Checking Process

    May 9, 2007 Joe Hervtik

    What you can’t see can slow down i5 disk performance, particularly when you’re dealing with the lithium ion batteries that i5 I/O adapters use to provide hard disk drive caching. Fortunately, the system i5 will warn you about aging batteries but if you ignore its warnings, failed batteries can adversely affect disk drive performance. The good news is that it’s easy for IBM service to replace old batteries but there are a few tricks in determining when replacement is necessary.

    Why Regular Battery Changes Are Important

    Lithium ion battery packs provide power for disk caching on your i5 disk arrays.

    …

    Read more

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18
  • Will The Turbulent Economy Downdraft IBM Systems Or Lift It?
  • How IBM Improved The Database With IBM i 7.6
  • Rocket Celebrates 35th Anniversary As Private Equity Owner Ponders Sale
  • 50 Acres And A Humanoid Robot With An AI Avatar
  • IBM i PTF Guide, Volume 27, Number 17

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle