Anthony Nowocien · @nthony
78 followers · 127 posts · Server fosstodon.org

My query of the day:

SELECT col1,col2,col2
FROM t
WHERE upper(col500) IN (upper('XXX'), upper('YYY'), ...)

with the slight twists being that :
- col500 contains an integer value and so does XXX, YYY
-the IN clause contains over 100 000 elements.

#postgresql #sql #dbaslife #theweekendiscoming

Last updated 1 year ago

Wayward Son ⚡:verified: · @waywardSon
82 followers · 244 posts · Server metalhead.club