Hi
A classical example of a developer wanting a simple/easy way of coding something. The downside to this, is complex/unreadable/unmaintainable code.
Many lines simple code is better than few lines complex code (In most situations, where you aren't dependant of having very few lines optimized...
Hi
I'd use WHEN clause with WHEN (01:04) > and (01:04) < 10
I think that's possible, but if it isn't, then you could also just duplicate the WHEN clause for explicitly matching the records you are after. (After all, a wildcard is effectively not having a WHEN clause at all)
Hi
As far as I know, there is no impact on performance (noticeable) on which order you have your columns.
However, a good rule of thumb, is to have the primary key columns in the table as the first columns. (These are least likely to be updated as well)
What causes performance impact, is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.