Roland,
Check out the SQL manual, the syntax diagram clearly illustrates that you
don't need to explicitly name the column names as long as you are inserting
into all of the columns in the order they are defined in the data
dictionary.
insert into table_A values ('Hi', 'there');
A word of friendly caution -- the list will rapidly recognize you by name
and fail to answer questions when it is obvious that you haven't taken the
time to 1) try it yourself and 2) read the docs. Also, you need to give
more information in your queries. We realize that Oracle is a big, bad
world and there is a lot to know, but most of us don't have the time to
answer every question every newbie has. I, of course, am an exception at
the moment since I am just killing time this week waiting to be laid off...
Regards,
Diana
-----Original Message-----
Sent: Tuesday, March 20, 2001 9:31 AM
To: Multiple recipients of list ORACLE-L
Hallo,
How can I create an insert statement without telling all the names of the
columns?
Give an example, please.
Roland Sköldblom
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Diana Duncan
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).