[Koha] more sql silliness

Greg Barniskis gregb at scls.lib.wi.us
Fri Nov 6 08:56:46 NZDT 2009


Erik Lewis wrote:
> Been playing with this for awhile
> 
> SELECT 
> CONCAT('http://images.amazon.com/images/P/'isbn'.01.TZZZZZZZ.jpg') FROM 
> isbn_experiment LIMIT 10;
> 
> Seems straightforward prepend and append the amazon url's for cover art 
> to an isbn.  Yet I only get the first part not isbn nor the end.  Done 
> several permutations but I ain't getting anywhere.

You need some commas I think.

CONCAT('string one','string two','string three')


-- 
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
<gregb at scls.lib.wi.us>, (608) 266-6348


More information about the Koha mailing list