"Jean-Yves F. Barbier" <12ukwn@gmail.com> wrote:
> [...]
> and I also don't understand why this don't work:
> SELECT char_length(SELECT chk FROM tstchk WHERE id=1);
> Can it only be use with a temp var into a proc?
You have to use parentheses around the "SELECT" query,
i. e.:
| SELECT char_length((SELECT chk FROM tstchk WHERE id=1));
Tim