Search code examples
sqlpostgresqldbeaverdollar-quoting

Unterminated dollar-quoted string at or near "$$


I'm trying to declare some variables using DBeaver and keep hitting this error.

Unterminated dollar-quoted string at or near "$$

 DO $$
 DECLARE A integer; B integer;

BEGIN   
END$$;

Any ideas?


Solution

  • DBeaver was the issue. Switched to PGAdmin and no more problems.