English 中文(简体)
如何将 MySQL 选定语句中的数解转换为字符串
原标题:how to convert numerics to strings in the select statement of mySQL
  • 时间:2012-05-22 20:24:32
  •  标签:
  • mysql

当您在 MySQL 中发布 SELECT 语句时, 能否将数字和日期转换为字符串? 类似 :

SELECT str(a.Amount) as AMT, str(a.date) as Date FROM LALAZUK as a...
最佳回答

您需要的是 CAST :