Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update -SQL how to?
Message
From
11/11/2004 10:04:20
 
 
To
11/11/2004 09:50:30
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00960359
Message ID:
00960422
Views:
9
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform