Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Free table
Message
De
26/12/2000 08:43:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/12/2000 08:41:31
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
Titre:
Divers
Thread ID:
00456663
Message ID:
00456800
Vues:
25
>
open data myData.dbc
>use original
>add table ReceivedAndTruncated && Add received table to DBC
>use ReceivedAndTruncated in 0
>for ix=1 to fcount()
>  lcFrom = alltrim(upper(field(ix,'ReceivedAndTruncated')))
>  lcTo = alltrim(upper(field(ix,'Original')))
>  IF !lcFrom == lcTo
>     ALTER table ReceivedAndTruncated ;
>	rename column &lcFrom to &lcTo
>  ENDIF
>endfor
>select Original
>append from ReceivedAndTruncated
When done delete ReceivedAndTruncated using 'remove table'.
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