Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL UPDATE in VFP
Message
De
02/04/2006 11:10:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL UPDATE in VFP
Divers
Thread ID:
01109812
Message ID:
01109812
Vues:
66
Hello,

I am trying update a string field that represents a time. I want to update the field based on the values of the field itself.

update rssched set end_time = (str(val (substr(end_time,1,2)) + 1) + ':' + substr(end_time,4,2)) where trans_no = '0600217071'

This updates end_time to blank. This same kind of script seems to work in SQL server but not in FoxPro :(

TIA,

Ken
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform