Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Why does this not work? (DQuote Escape)
Ok, this works as expected:
SQL> COLUMN Tname HEADING "Table ""Names"" "; SQL> SQL> SELECT Table_Name Tname
Table "Names"
But why does this not? :
SQL> SELECT Table_Name "Table ""Names"" "
2 FROM User_Tables;
SELECT Table_Name "Table ""Names"" "
*
wtf? This error makes no sense. According to any reference book I've checked (mainly the O'Rielly ones), " ""blah"" " or ' ''blah'' ' should work for (double)quote escapes. So why does it not work in an explicit heading in a SELECT???
Thanks to anyone who can clear up this mystery. Received on Fri Apr 11 2003 - 11:25:56 CDT
![]() |
![]() |