pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: stan <stanb@panix.com>
To: Jayadevan M <maymala.jayadevan@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: What am I doing wrong here?
Date: Thu, 26 Dec 2019 10:00:02 -0500
Message-ID: <20191226150002.GB21962@panix.com> (raw)
In-Reply-To: <CAFS1N4hobXSLNgE0nQM-9BT5_nAW6XOXJhQ0qYLUkE5gAzDW5g@mail.gmail.com>
References: <20191226133639.GA15506@panix.com>
	<CAFS1N4hobXSLNgE0nQM-9BT5_nAW6XOXJhQ0qYLUkE5gAzDW5g@mail.gmail.com>


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@panix.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





view thread (7+ messages)  latest in thread

Message-ID: <20191226150002.GB21962@panix.com>
Permalink:  ../20191226150002.GB21962@panix.com/
Also on:    postgresql.org/message-id/20191226150002.GB21962@panix.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: stanb@panix.com, maymala.jayadevan@gmail.com
  Subject: Re: What am I doing wrong here?
  In-Reply-To: <20191226150002.GB21962@panix.com>
  References: <20191226133639.GA15506@panix.com> <CAFS1N4hobXSLNgE0nQM-9BT5_nAW6XOXJhQ0qYLUkE5gAzDW5g@mail.gmail.com> <20191226150002.GB21962@panix.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox