Links

Attachments

No attachments exist

This page is part of the book SQL-99 Complete, Really, by Peter Gulutzan & Trudy Pelzer. The authors have graciously allowed us to reproduce the contents of the book here. Because the book is about the SQL-99 standard, the contents of this and other pages in the book may not directly apply to MariaDB. Use the navigation bar to navigate the book.

Before we finish discussing temporal values, it's time to add something to our
SQL library. To be worthy of addition to the SQL library, a routine must
(a) be good clean SQL, (b) be callable from C and Delphi, (c) be
actually useful in C and Delphi because it does something that those languages
can't and (d) have nothing at all do with "databases" -- it should be
available for use just like any general function library.

Our addition to the SQL library for this chapter will check dates for SQL
validity. Here it is.