Unleash Technology

What is ‘Where 1=1, 1=2’ in Oracle SQL?

Question (Posted by Michael using Contact Form under ‘Contact US’ page):What is the purpose of using where 1=1 and 1=2 in Oracle SQL?Answer by TechOneStop:Hi Michael, thank you for posting your question on our discussion forum.In Oracle database, where 1=1 means true and 1=2 means false because 1 is never equal to 2 🙂You could use any number like 2=3

Continue Reading