Re: Dynamic procedure execution

From: "Muthukumar(dot)GK" <muthankumar(at)gmail(dot)com>
To: "David G(dot) Johnston" <David(dot)G(dot)Johnston(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Dynamic procedure execution
Date: 2020-12-14 06:31:36
Message-ID: CA+rAWgnLTcWMkCtH4b+5-9H0FcOS=tB0RTbzYjgqmbtmUfHcEw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi David,

As I am not bit Clea, let me know what I have to do. If possible, please
re- write my program.

Regards
Muthu

On Mon, Dec 14, 2020, 11:43 AM David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
wrote:

> On Sunday, December 13, 2020, Muthukumar.GK <muthankumar(at)gmail(dot)com> wrote:
>
>>
>> v_query := ' OPEN C1 FOR SELECT * FROM public."Bankdetails"';
>>
>>
>>
>> EXECUTE (v_query);
>>
>>
>>
> You put the pl/pgsql OPEN command into a string and sent it to the SQL
> engine via EXECUTE and the SQL engine is complaining that it has no idea
> what you want it to do.
>
> David J.
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hemil Ruparel 2020-12-14 08:36:45 Re: Dynamic procedure execution
Previous Message David G. Johnston 2020-12-14 06:13:15 Re: Dynamic procedure execution