Article View: borland.public.interbase.sql
Article #126Re: insert into problem
From: Isaac
Date: Sun, 08 Jun 2008 18:26
Date: Sun, 08 Jun 2008 18:26
25 lines
2225 bytes
2225 bytes
Bill Todd [TeamB] wrote: > FYI, a table can only have one primary key but the primary key can > consist of more than one field. I assume the purpose of the COUNT field > is to preserve the order in which the records were added to the table. > If so, the COUNT field does not have to be 1,2,3. It can be any > ascending sequence of integer numbers which means that you can use a > generator. It is extremely difficult to number a group of records 1 > through N in a multi-user environment. If you think you must have 1,2,3 > etc. tell us why. Maybe the design can be changed to avoid that > requirement. > > Hi Bill, This table is a detail table hold items for each inventory (master table) the primary key consist of "inventory code" and "item code" for some reason customers need the item code to repeat for each inventory not to be unique all over the table also I already made all my logic based on those two fields , so I hope if there is a way to get unique value for field "item code" on multi user environment Thanks BTW: Is there a problem in the news group server many times I get post message refused and I dont know whom I should report this to
Technical Details
Message-ID:
<484c2394@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<484b07da@newsgroups.borland.com> <484b16e4@newsgroups.borland.com> <484b52eb$1@newsgroups.borland.com> <484c007f@newsgroups.borland.com> <484c07a9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,ed255c09332ecd2c X-Google-Attributes: gid114a0e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Sun, 08 Jun 2008 21:26:06 +0300 From: Isaac <no@no.com> User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: borland.public.interbase.sql Subject: Re: insert into problem References: <484b07da@newsgroups.borland.com> <484b16e4@newsgroups.borland.com> <484b52eb$1@newsgroups.borland.com> <484c007f@newsgroups.borland.com> <484c07a9$1@newsgroups.borland.com> In-Reply-To: <484c07a9$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 41.234.201.204 Message-ID: <484c2394@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1212949396 41.234.201.204 (8 Jun 2008 11:23:16 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail