Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Key Fields and Rushmore
Message
De
03/09/1999 11:02:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Changing Key Fields and Rushmore
Divers
Thread ID:
00261167
Message ID:
00261167
Vues:
67
Can I use an optimizable query string to change
a key field or am I asking for trouble?

I'm looking at trying a statement something like:
REPLACE ALL PKey ;
    WITH XRef.NewPKey ;
    FOR PKey = XRef.OldPKey

- or possibly -

UPDATE TABLE Cust ;
    SET PKey = XRef.NewPKey ;
    WHERE PKey = XRef.OldPKey
I know that this kinda thing can hose a SCAN
loop.

Anyone have any experiences with this?

...kt
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform