Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy data in table one to table two and update a field
Message
De
19/04/2006 06:31:19
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
18/04/2006 16:05:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01114387
Message ID:
01114516
Vues:
15
>I have two tabkes which differ by a single field. Table one resides on a server and I want to copy its data to a table which resides on my PC. All the data is the same except for the extra field. The table is linked to a 2sd table which should have the same number of key field a but 1 to n values of key field b. I want to also copy the linked table to my PC. Once two tables are on my PC I want to use the 2sd table to create a list of key field a and the assocated value of the field in table one (one with no values).
>
>What is the best way to do this?

Claude,
I think nobody understood your question yet, I didn't either. Would you rephrase it with sampling.
Shooting in dark it sounds you could do something like:

select *, 0*0x7FFFFFFF as extraField from myTable

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform