Spurious sytax error with INSERT
Posted: Mon Sep 09, 2019 4:53 pm
Try this:
var x base relation{z char} key{z};
insert x extend TABLE_DEE : {z := '//'};
I get
ERROR: Encountered "insert" at line 1, column 1.
Was expecting one of:
"BEGIN" ...
"TCLOSE" ...
<TUPLE> ...
"WITH" ...
<TUPLE> ...
I have used a bypass of this kind sometimes:
x := (extend TABLE_DEE : {z := '//'}) union x;
but it doesn't work with this particular example.
The problem seems to arise only with multiple successive slashes in quotes.
Hugh
var x base relation{z char} key{z};
insert x extend TABLE_DEE : {z := '//'};
I get
ERROR: Encountered "insert" at line 1, column 1.
Was expecting one of:
"BEGIN" ...
"TCLOSE" ...
<TUPLE> ...
"WITH" ...
<TUPLE> ...
I have used a bypass of this kind sometimes:
x := (extend TABLE_DEE : {z := '//'}) union x;
but it doesn't work with this particular example.
The problem seems to arise only with multiple successive slashes in quotes.
Hugh