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!

ConCat question

Status
Not open for further replies.

elentz

Technical User
Jan 9, 2007
81
US
I have an update query that I want to use. Here's what I have so far:
update vtiger_accountscf Set vtiger_accountscf.cf_700 = CONCAT('localhost/customstuff/statements/ex.php?accountid=',(accountid))
The accountid field is in the same table.

The problem i am having is that the value of the accountid field isn't appending to the end of the entry, I get
localhost/customstuff/statements/ex.php?accountid=

What have I got wrong?

Thanks
 
Well, I removed the () and made sure my field was big enough it was 50 and I changed it to 255 and it works.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top