Skip to content
Discussion options

You must be logged in to vote

There may be an issue in how you perceive bind by position works. In your case the value of ":2" will be the first element of your array and ":1" will be the second element of your array. Bind by position works from left to right and pays no attention to the name of the bind variable.

If I create a table and populate it with this code:

create table disc_126 (
    colx varchar2(50) not null,
    coly varchar2(50) not null
);

insert into disc_126 values ('UNSET', '228024357162572');
insert into disc_126 values ('UNSET', '228023553168747');
insert into disc_126 values ('UNSET', '228024356695672');

commit;

Then this code:

chunk = [
    ['202211231855235525', '228024357162572'],
    ['202209…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by urosdigital
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants