Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update -SQL how to?
Message
De
11/11/2004 10:04:20
 
 
À
11/11/2004 09:50:30
Suhas Hegde
Dental Surgeon
Sirsi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00960359
Message ID:
00960422
Vues:
10
>>Suhas
>>
>>Yoo don't need to sent the whole dbf - just the record structure (display struct) and a synopsis of what you want the SQL to achieve.
>>
>>Terry
>>
>
>hi terry,
>I am sending only a couple of months data I have taken off a years data. Total size would have been 14 MB above ziped. I want it to be fast thats why i have included a couple of months records.
>
>To which address should I send it to U?
>
>thanx
>
>suhashegde

Suhas

Like I said, sending your data to me would make no difference. I can see the table structures and what you want to do. You practically answered your own question, to wit:

>update bhav_data.delqty set delqty = del.delqty where bhav_data.symbol = del.symbol and
>bhav_data.series = del.series and bhav_data.date = del.date
update bhav_data ;
  set delqty = del.delqty ;
  where bhav_data.symbol = del.symbol ;
  and   bhav_data.series = del.series ;
  and   bhav_data.date = del.date
Does this do it?

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform