错误:结果空间不足,无法将 uniqueidentifier 值转换为 char。
我有一张临时表
SELECT
urlid, -- This coulmn does not exist in Phrase table I would like to declare it uniqueidentifier
P.subDomainId,
P.RegionID
INTO #tempcom
FROM
Phrase P
当我使用此查询更新#tempcom 表时
Declare @urlid as uniqueidentifier
Set @urlid = '4c595d6c-1e8a-45cf-aaf2-fe5a45b881b9'
UPDATE T SET T.urlid = @urlid From #tempcom T Where T.subdomain = 'www.borasloppis.se'
它抛出错误:结果空间不足,无法将 uniqueidentifier 值转换为 char。您认为在这种情况下我该如何解决错误?