sql查询语句时怎么把几个字段拼接成一个字段
SELECT CAST(COLUMN1 AS VARCHAR(10)) + '-' + CAST(COLUMN2 AS VARCHAR(10) ...) as P FROM TABLE
2024-02-23 08:30:22
sql查询语句时怎么把几个字段拼接成一个字段
SELECT CAST(COLUMN1 AS VARCHAR(10)) + '-' + CAST(COLUMN2 AS VARCHAR(10) ...) as P FROM TABLE