Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About drop column
Message
De
07/10/2002 13:11:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00708287
Message ID:
00708437
Vues:
9
>SELECT * from Plan INTO CURSOR crsPlan readwrite
>
>nMin = 10
>nMax = 20
>
>FOR ix = 1 TO nMin - 1
> lcName = 'G' + ALLTRIM(STR(ix))
>
> ALTER TABLE crsTemp ;
> DROP (lcName)
>ENDFOR
>
>FOR ix = nMax + 1 TO 200 && Because of your sample is G200.
> lcName = 'G' + ALLTRIM(STR(ix))
>
> ALTER TABLE crsTemp ;
> DROP (lcName)
>ENDFOR

Tssk, tssk my lovely brother. I well know you wouldn't do this in 2 loops :)
OTOH glad it made you somehow appear on UT. Hope you become a frequent visitor.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform