The quick brown fox [message #187835] |
Tue, 15 August 2006 22:40 |
rleishman
Messages: 3728 Registered: October 2005 Location: Melbourne, Australia
|
Senior Member |
|
|
What's a minimal SQL statement (least number of characters) that works on any post-8.0 database that contains
- all letters of the alphabet
- no quote marks
- no aliases
I wrote a quick one with 98 chars. Hover here to see it in your browser bar, or try your own without looking first.
|
|
|
|
|
|
|
|
|
|
|
|
Re: The quick brown fox [message #188311 is a reply to message #187835] |
Thu, 17 August 2006 21:29 |
rleishman
Messages: 3728 Registered: October 2005 Location: Melbourne, Australia
|
Senior Member |
|
|
rleishman wrote on Wed, 16 August 2006 13:40 | ...that works on any post-8.0 database
|
SQL> SELECT JAVA_EXEC_TIME,TYPE_CHK_HEAP,DIRECT_WRITES,BUFFER_GETS,OPTIMIZER_ENV FROM V$SQL
2 /
SELECT JAVA_EXEC_TIME,TYPE_CHK_HEAP,DIRECT_WRITES,BUFFER_GETS,OPTIMIZER_ENV FROM V$SQL
*
ERROR at line 1:
ORA-00904: "OPTIMIZER_ENV": invalid identifier
Nice solution for 10g though!
|
|
|