On 26-Mar-2003 LaBranche, Kevin wrote:
>
> The following query returns 0 for sCode instead of a string like
> "XXX:XXXXXX".
>
> I am modifying an existing app from SQL Server 7 so that it can also run
> with a MySQL backend....
>
> The existing query in SQL Server 7 works fine
> SELECT sDAMIONCode, (sORI + ':' + sDamionCode) as sCode FROM tblORI
>
> Any hints would be appreciated.
>
MySQL uses CONCAT(sORI, ':', sDamionCode) AS sCode ...
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
(53kr33t w0rdz: sql table query)
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]