public inbox for [email protected]  
help / color / mirror / Atom feed
From: Rich Shepard <[email protected]>
To: [email protected]
Subject: Re: Definging columns for INSERT statements
Date: Wed, 12 Jun 2024 15:43:12 -0700 (PDT)
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAKFQuwbpWc97huJPbQSQ_F1JoEk+X_3KTbSDGdv+8ueUhktO+g@mail.gmail.com>
References: <[email protected]>
	<CAKFQuwbpWc97huJPbQSQ_F1JoEk+X_3KTbSDGdv+8ueUhktO+g@mail.gmail.com>

On Wed, 12 Jun 2024, David G. Johnston wrote:

>> INSERT INTO people (person_nbr
>> DEFAULT('people_person_nbr_seq'),lname,fname,job_title DEFAULT
>> 'Contact',company_nbr,loc_nbr,direct_phone,cell_phone,email,active
>> DEFAULT('true')) VALUES
>>
>
> https://www.postgresql.org/docs/current/sql-insert.html
>
> Not sure where you got the idea that something besides a plain column name
> can appear in the optional parentheses after the table name.

David,

I've not used nextval() before which is why I asked.

Thanks,

Rich






view thread (8+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Definging columns for INSERT statements
  In-Reply-To: <[email protected]>

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

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