Article View: borland.public.cppbuilder.database.multi-tier
Article #1528INTERBASE TABLES question
From: Tsvetozar / Fast Fashion
Date: Thu, 23 Sep 1999 00:00
Date: Thu, 23 Sep 1999 00:00
13 lines
1024 bytes
1024 bytes
In an INTERBASE table I cannot have an autoincrement field so I have to manualy maintain it in another table. But if I do write int myIndex = myTable->FieldByName( "INDEX_COUNTER" )->AsInteger ++; is there a chance that both CGI applications after some user requests access the table and read the same value. I am wondering is it safe and the one CGI-app will wait till the other has finished its table field update; If there's a betetr way can you explain it ??? tsvetozar
Technical Details
Message-ID:
<37EA38A2.A9DAAB47@bia-bg.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,f556d1bc88489f5e,start X-Google-Attributes: gidfcd2b,public From: Tsvetozar / Fast Fashion <tsvetozar@bia-bg.com> Subject: INTERBASE TABLES question Date: 1999/09/23 Message-ID: <37EA38A2.A9DAAB47@bia-bg.com> X-Deja-AN: 528655240 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier