Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Key Fields and Rushmore
Message
From
03/09/1999 11:02:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Changing Key Fields and Rushmore
Miscellaneous
Thread ID:
00261167
Message ID:
00261167
Views:
66
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
Next
Reply
Map
View

Click here to load this message in the networking platform