Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting records
Message
 
À
09/12/2005 11:47:14
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 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01076635
Message ID:
01076642
Vues:
11
perfect Borislav, worked like a dream.
Slán
~M
>>hi all,
>>i have a table and thousands of records in it. i want to delete any record with no entry in a field but i don't know how to do it. the field is a numeric field and i want to only delete the records that have nothing in it but not those with a 0. i have tried brow for field = .NULL. and empty(field) to see what would be deleted but this won't do. any help much appreciated.
>>Slán
>>~M
>
>
>DELETE FROM MyTable WHERE ISBLANK(MyField)
>** or
>SELECT MyTable
>DELETE FOR ISBLANK(MyField)
>
Go raibh maith agat

~M
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform