🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #941

Re: Insert,Edit,Delete

#941
From: harun bolat
Date: Mon, 07 May 2007 13:37
15 lines
1447 bytes
If possible select field from tables you can use insert into ..select
syntax. in this case , all returned record by the select clause,  inserted
to odetail table.

INSERT INTO ODETAIL (RNO, LNO, PARTNO....)
SELECT RNO, LNO, PARTNO....
FROM DETAILTABLE

"Serra" <nomail@nomail.com>, haber iletisinde �unlar� 
yazd�:463c7004$1@newsgroups.borland.com...
> INSERT INTO ODETAIL (RNO, LNO, PARTNO....)
> VALUES(:RNO, :LNO, :PARTNO,....)
> if there are more than 1 records in detail table
> how can i insert them into database in sql ?
> 
Technical Details
Message-ID: <463f2b99$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <463c6322$1@newsgroups.borland.com> <463c7004$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,dfa0641d2a2ca4d4
X-Google-Attributes: gid114a0e,public
X-Google-Language: ENGLISH,ASCII
From: "harun bolat" <harunbolat@netsim.net>
Newsgroups: borland.public.interbase.sql
References: <463c6322$1@newsgroups.borland.com> <463c7004$1@newsgroups.borland.com>
Subject: Re: Insert,Edit,Delete
Date: Mon, 7 May 2007 16:37:28 +0300
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 212.174.130.50
Message-ID: <463f2b99$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1178545049 212.174.130.50 (7 May 2007 06:37:29 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail