Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select picking up a deleted record
Message
De
18/11/2004 11:19:33
 
 
À
18/11/2004 11:09:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00962577
Message ID:
00962660
Vues:
7
>Thanks Elmer, I already understood that. I was trying to point out that the SQL SELECT would pick up the deleted records in an uncommited table/cursor.

Yes, but SQL Select will also not get new records that are added but uncommitted when buffering = 5. Try this. With set deleted on, create a cursor, set buffering to 5, do not do tableupdate, select * from that cursor. You should get no records because the 2 records added are buffered and not yet committed. It works the same for deleted records. If you tableupdate the 2 new records, then delete one of them without tableupdate, when you select * you will get both records with neither deleted. However once the buffered deleted record is committed, when you select * you will get only one record.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform