I am trying to create a simple variable in pgAdmin (PostgreSQL) but it is not working. Can someone help me out please? I am probably just doing something dumb.
DECLARE @Variable;
...error
ERROR: syntax error at or near "@"
LINE 88: DECLARE @Variable;
^
DECLARE @Variable text;
...error
ERROR: syntax error at or near "@"
LINE 88: DECLARE @Variable text;
^
DECLARE Variable;
...error
ERROR: syntax error at or near ";"
LINE 88: DECLARE Variable;
^