Re: What am I doing wrong here?

From: stan <stanb(at)panix(dot)com>
To: Jayadevan M <maymala(dot)jayadevan(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: What am I doing wrong here?
Date: 2019-12-26 15:00:02
Message-ID: 20191226150002.GB21962@panix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Thu, Dec 26, 2019 at 07:34:28PM +0530, Jayadevan M wrote:
> Hi,
>
>
> On Thu, Dec 26, 2019 at 7:06 PM stan <stanb(at)panix(dot)com> wrote:
>
> >
> >
> > _bom_name_key = ( SELECT
> > project_bom_key
> > FROM inserted )
> > ;
> >
>
> Try rewriting
> _bom_name_key = ( SELECT
> project_bom_key
> FROM inserted )
>
> as SELECT project_bom_key into _bom_name_key
> FROM inserted ;

Thanks for the fast response, That did fix my issue,
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message stan 2019-12-26 15:00:57 Re: What am I doing wrong here?
Previous Message stan 2019-12-26 14:59:06 Re: What am I doing wrong here?