Re: [SQL] Stupid SQl question on inserting items

From: "Gregory W Burnham" <gburnham(at)sfu(dot)ca>
To: "Zot O'Connor" <zot(at)ZotConsulting(dot)com>, <pgsql-sql(at)postgreSQL(dot)org>
Subject: Re: [SQL] Stupid SQl question on inserting items
Date: 1999-05-25 17:28:23
Message-ID: 010101bea6d3$fec842c0$3d063a8e@educ.sfu.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> This is a dumb basic level SQL question.
>
> is there any other way to insert records without having to fill in all
> of the values as in
>
> INSERT into table_name WITH VALUES (blah, blah, blah...)

Yes, you can INSERT into table_name (field_one, field_two, field_five)
VALUES
(value_one, value_two, value_five);

Gregory W Burnham
Software Engineer /
Systems Administrator
Excite Labs
Simon Fraser University
Vancouver, BC
V5A 1S6
604 291 3615 ph
604 291 5679 fx

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Zot O'Connor 1999-05-25 17:31:58 Stupid SQl question on inserting items
Previous Message MAILER-DAEMON 1999-05-25 07:21:43 Undeliverable Message