| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Where as a column name
There is a column named " where " in v$latch_misses in 8.0.5.
I tried the following query and it failed, because Oracle mistakes
the column " where " for the where clause and takes it as syntax error
although this query is absolutely legal.
I consider this an Oracle bug.
Does anybody know if there is any escape key for SQL ? -Bass Chorng
desc v$latch_misses
Name Null? Type ------------------------------- -------- ---- PARENT_NAME VARCHAR2(50) WHERE VARCHAR2(64) NWFAIL_COUNT NUMBER SLEEP_COUNT NUMBER WTR_SLP_COUNT NUMBER LONGHOLD_COUNT NUMBER
select parent_name, where from v$latch_misses where rownum <= 100;
select parent_name,where from v$latch_misses
*
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Tue Aug 31 1999 - 17:18:00 CDT
![]() |
![]() |