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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What do I need to do?

Status
Not open for further replies.

elentz

Technical User
Jan 9, 2007
81
US
I have the following query:

Update vtcrm.vtiger_products v , vtcrm.zipcodes z SET v.product_description = "Trip Charge -- z.city" Where v.productname = z.zipcode

I want the field product_description to be "Trip Charge -- (Then whatever city is in the z.city field) How can I do this.


Thanks Alot
 
Code:
update vtcrm.vtiger_products v 
     , vtcrm.zipcodes z 
   set v.product_description 
     = concat('Trip Charge -- ', z.city)  
 where v.productname = z.zipcode

r937.com | rudy.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top