You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Query insert into sbtest1(id,name,p_id) values(1,'a',next value for MYCATSEQ_GLOBAL);
returns (1,‘a’,10001)
Query insert into sbtest1(id,name,p_id) values(2,'a',next value for MYCATSEQ_GLOBAL),(3,'a',next value for MYCATSEQ_GLOBAL),(4,'a',next value for MYCATSEQ_GLOBAL);
returns (2,'a',10002),(3,'a',10002),(4,'a',10002), which is not correct
Expectation:
Step 5 should give increment values of global sequence.
The text was updated successfully, but these errors were encountered:
Raised by: @zhunina
Steps:
create table sbtest1(id int,name varchar(8),p_id int primary key auto_increment);
id
insert into sbtest1(id,name,p_id) values(1,'a',next value for MYCATSEQ_GLOBAL);
returns
(1,‘a’,10001)
insert into sbtest1(id,name,p_id) values(2,'a',next value for MYCATSEQ_GLOBAL),(3,'a',next value for MYCATSEQ_GLOBAL),(4,'a',next value for MYCATSEQ_GLOBAL);
returns
(2,'a',10002),(3,'a',10002),(4,'a',10002)
, which is not correctExpectation:
Step 5 should give increment values of global sequence.
The text was updated successfully, but these errors were encountered: