Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
See the deleted records 2
Message
 
To
10/02/2011 05:04:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01499560
Message ID:
01499561
Views:
35
>(Reviving the topic from yesterday)
>How can I check a table if it has any deleted records?

If you have index on DELETED() (as many tables must have)
SET DELETED OFF
SELECT YourTable
SET ORDER TO TheOrderbyDeletedName
GO TOP
? DELETED()
Other way:
SET DELETED OFF
COUNT TO TestMe FOR DELETED()
? TestMe
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform