Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update SQL Syntax
Message
 
À
12/07/2006 21:21:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01135906
Message ID:
01135908
Vues:
12
Here you have an example (partial) that is working

CREATE CURSOR Box (box c(10), freezer c(10))
INSERT INTO Box (box, freezer) VALUES ("1","123")
INSERT INTO Box (box, freezer) VALUES ("2","999")
INSERT INTO Box (box, freezer) VALUES ("3","999")
CREATE CURSOR NewLocation (box c(10), freezer c(10))
INSERT INTO NewLocation (box, freezer) VALUES ("2","123")
SELECT Box
UPDATE Box SET freezer = NewLocation.freezer WHERE Box = NewLocation.box

Oscar Zarate
National Australia Bank
Oscar Zarate
National Australia Bank
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform