Re: How to execute a random postgresql-query.

2021-06-29 Thread neuranuz via Digitalmars-d-learn
insert into person (first_name, second_name) select inp.* from inp "); The last strings should be: insert into person (first_name, second_name) select inp.* from inp ", first_names, last_names);

Re: How to execute a random postgresql-query.

2021-06-29 Thread neuranuz via Digitalmars-d-learn
On Monday, 28 June 2021 at 19:16:40 UTC, Alain De Vos wrote: How to execute a random postgresql-query ? With random i mean execute any string as known by postgresql. void myexecutefunction(string string_to_execute){ // Some code to Execute postgre-sq-string } ... void main(){ myexecutefunctio

Re: How to execute a random postgresql-query.

2021-06-29 Thread neuranuz via Digitalmars-d-learn
On Monday, 28 June 2021 at 19:16:40 UTC, Alain De Vos wrote: How to execute a random postgresql-query ? With random i mean execute any string as known by postgresql. void myexecutefunction(string string_to_execute){ // Some code to Execute postgre-sq-string } ... void main(){ myexecutefunctio