Stored Procedures contest, with prizes!

From MindTheBird people:

Hello All,

Are you true master in Firebird SQL? Participate in Stored Procedures contest and win valuable prizes!

Participants should submit stored procedure in pure Firebid SQL and embedded functions (SDF) only which performs some common task(s) – virtually anything any useful tasks.

It can be implementations of some mathematics transformations, or transforming numeric representation of number into words (like input = 21, output = “twenty one”), or anything that demonstrates the power and flexibility of Firebird stored procedures.

We’ll choose the most powerful and interesting stored procedures.
There will be 3 winners, each of them will receive tool by his choice
from the pool of prizes from MindTheBird sponsors:
http://www.mindthebird.com/benefits.html.

All procedures should be submited under Creative Commons or Mozilla Public License or Apache License. Submitter must be the author of the procedure.

All procedures with short description and reference to the author will be published at www.mindthebird.com

Please submit demo SQL scripts with stored procedures’ texts to sp at mindthebird.com or right here in the group. Please notice that demo SQL script should work out-of-the-box to create necessary objects and demonstrate the value of procedure.