Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UPDATE SQL

Status
Not open for further replies.

BRADLEY21

Programmer
Sep 19, 2002
35
US
I am trying to use the update command to update a field with data from another table.

example:

update mytable1 set field1 =(select field1 from table2 where mytable1.key1=mytable2.key1)

Of course the above will not work, just trying to get accross what I am trying to do.

Thanks
 
I am trying to use the update command to update a field with data from another table.

update mytable1 set field1 =table2.field1 where mytable1.key1=mytable2.key1

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
This is a VFP specif question as it relates to the native SQL of Foxpro
 
This is a VFP specific question as it relates to the native SQL of Foxpro
 
This is a VFP specific question as it relates to the native SQL of Foxpro

Why? My suugestion doesn't work for you? Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top