Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> scratch head to the SQL statement of where 1=1
dear all,
i am having problems understanding a particular SQL statement let me paint this scenario to u
SQL statement 1 = select count(*) from mytable
when SQL statement 1 is executed, the value returned is X for example.
SQL SQL statement 1 = select count(*) from mytable where 1=1 this will also return a value of X.
anyone can enlighten me on this? thanks
the database used is Oracle 8.1.7
Received on Thu Sep 06 2001 - 22:28:11 CDT
![]() |
![]() |