PostgreSQL - PL/pgSQL Fundamentals
You want to create a function that returns the length of a text input only if the input is not empty; otherwise, it returns zero. Which function body correctly implements this logic in PostgreSQL?
input = '' to detect empty text.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions