We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prepare two table and a record.
create table a (k int, v int); create table b (k int, v int); insert into a values (1, 1);
update b using
update a, (select b.k k, b.v v from b) v set v.v = 3, a.v = 3 where a.k = v.k;
ERROR 1288 (HY000): The target table b of the UPDATE is not updatable
Query OK, 1 row affected (0.11 sec)
tidb-server -V
select tidb_version();
2.0.5
The text was updated successfully, but these errors were encountered:
update a, (select b.k k, b.v v from b) v set v.v = 3, a.v = 3 where a.k = v.k1;
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
prepare two table and a record.
update b using
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: