View Single Post
  #1  
Old 10-04-2006, 07:16 AM
virdee virdee is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
virdee is on a distinguished road
Default to update a table??

Hi,
I wana update a table in my database using a value from antoher. The query I tried is below.

update `standard bond`
SET `standard bond`.payday = day(`securities main`.matdate)
from `standard bond`, `securities main`
WHERE `standard bond`.seccode = `securities main`.seccode

Any idea? what to do now?
thank you! -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - to update a table??
View Single Post
  #1  
Old 10-04-2006, 07:16 AM
virdee virdee is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
virdee is on a distinguished road
Default to update a table??

Hi,
I wana update a table in my database using a value from antoher. The query I tried is below.

update `standard bond`
SET `standard bond`.payday = day(`securities main`.matdate)
from `standard bond`, `securities main`
WHERE `standard bond`.seccode = `securities main`.seccode

Any idea? what to do now?
thank you! -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote