saurabh220837 has asked for the wisdom of the Perl Monks concerning the following question:
issue is , query1 should be bound with @bindparams as well, when inserted as part of query2query1 - select * from table1 where column1=? and column2=? push @bindparams, $colum1 push @bindparams, $colum2 query2 - insert into table2 values ('a1',$query1)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl DBI - Bind variable when query is inserted as part of db column
by choroba (Cardinal) on Feb 04, 2020 at 21:36 UTC | |
|
Re: Perl DBI - Bind variable when query is inserted as part of db column
by Marshall (Canon) on Feb 06, 2020 at 09:46 UTC | |
|
Re: Perl DBI - Bind variable when query is inserted as part of db column
by Anonymous Monk on Feb 06, 2020 at 14:28 UTC | |
by Anonymous Monk on Feb 06, 2020 at 16:51 UTC |