Self documenting program in SQL

From: Vadim Tropashko <vadimtro_invalid_at_yahoo.com>
Date: 20 May 2005 11:42:34 -0700
Message-ID: <1116614554.465339.230810_at_z14g2000cwz.googlegroups.com>



Did anybody write a query that duplicates itself as an output in SQL yet? In the list of languages at

http://www.nyx.net/~gthompso/quine.htm

SQL is absent. No cheating, please, like the one below exploring implementation quirks of specific database client program (SQL*Plus):

SQL> SP2-0734: unknown command beginning "SP2-0734: ..." - rest of line ignored.
SP2-0734: unknown command beginning "SP2-0734: ..." - rest of line ignored. Received on Fri May 20 2005 - 20:42:34 CEST

Original text of this message