In general, if you are looking for a straightforward answer without considering the context, > 0 is likely to be marginally faster than <> 0. The reason is that > is a simpler operation compared to <> (not equal), and in many database systems, simple comparison operations are optimized more efficiently.
Add a comment (0) 1,605 Views Read more