Closed sebastianfuchsprivate closed 2 years ago
DECLARE x NUMERIC(10) DEFAULT 12345;
SELECT x AS x;
@sebastianfuchsprivate
It's fixed in v1.0.0, try it!
@minodisk - works like a charm on my queries! Thank you very much for the extremly quick turn-around.
When I use variables in my SQL (DECLARE TYPE DEFAULT ;) I always get:
[{
"resource": "mysql.bqsql",
"owner": "bigqueryRunner",
"severity": 8,
"message": "Error: no routine",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 150,
"endColumn": 21
}]
as output.
Hardcoding works nicely.