Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Swapping Values in Two Columns
Message
De
03/09/2013 08:06:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Swapping Values in Two Columns
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01581882
Message ID:
01581882
Vues:
50
I'm trying to switch the values from two columns. Here's my code:
update Items;
   SET cDesc = cIntDesc ;
   , cIntDesc = cDesc
This is a VFP database.

Shouldn't that work?

What is happening is that both columns get the original value that was in cIntDesc.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform