Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drop field
Message
De
16/04/2007 09:04:17
 
 
À
16/04/2007 02:54:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01216122
Message ID:
01216180
Vues:
13
>hi all,
>
>i need to drop field from my table if found as...
>
>locate for mytable where filedname or (column name)="ccc"
>if found()
>    alter table mytable  drop column ccc
>endif
>
>
>thanks
If type('mytable.ccc')<>'U'
   alter table mytable drop column ccc
endif
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform