IF ( condition here) -- to do ELSE -- to END IF
On 5/1/07, novnov <[EMAIL PROTECTED]> wrote:
Does postgresql have a built in IF function that allows one to eval a condition and return one or another value? Like: IIF(mybooleanfield = true, "It's true", "It's not true") -- View this message in context: http://www.nabble.com/IF-function--tf3673523.html#a10264910 Sent from the PostgreSQL - general mailing list archive at Nabble.com. ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster