Skip to content
Advertisement

postgresql- how to define a variable by a function call in an if statement [closed]

I have this function:

however there appears to be a syntax issue that I can’t work out why it does not allow this as it doesnt seem unreasonable:

why does it not let me define the variable as such?

Advertisement

Answer

Try :

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement