2
查詢:誤差變換數據類型爲varchar爲bigint使用聯合
SELECT TOP (1) '-1' AS hrempid, 'All employees' AS fullname
FROM employee
UNION
SELECT fullname, hrempid
FROM employee AS employee1
order by fullname
錯誤: 誤差變換數據類型爲varchar爲bigint。
thaaaaaaaaaaanks一切果然奏效了:d – 2012-02-27 11:04:37
@OmniaElshazly最好的感謝總是 - 接受答案 – 2012-02-27 11:23:35