Pouziti autoincrementu

Petr Vileta petr na practisoft.cz
Čtvrtek Červen 19 02:43:19 CEST 2003


> > Tim mam zarucene, ze behem zjistovani ID mi nikdo jiny do tablek nic
> > nezapise, ***ale muze cist***. Takze pokud jiny thread chce nacist data

> If a thread obtains a READ lock on a table, that thread (and all
> other threads) can only read from the table. If a thread obtains
> a WRITE lock on a table, then only the thread holding the lock
> can read from or write to the table. Other threads are blocked.
Sorry, mate pravdu. Jenze kdyz udelate LOCK READ, tak do te tabulky
nezapisete nic ani vy :-) Takze pokud chci delat INSERT, tak musim LOCK
WRITE a prave proto to musim udelat rychle, mit vse ostatni uz pripravene.
--
Petr




Další informace o konferenci Databases