当我执行我的程序时,我得到??????????
的是字符而不是希伯来字符。
程序中的代码:
CREATE TABLE #myTempTable
(
[ya_id] [int],
[ya_title] [varchar](200) NULL,
RowNumber [int]
)
set @sql ='insert INTO #myTempTable
select [ya_id],
[ya_title],
ROW_NUMBER() OVER (ORDER BY ya_date desc)
FROM y_ads join ezorim on e_id=ya_e_id join y_cat on ya_yc_id=yc_id'
exec(@sql)
/*Ads*/
SELECT [ya_id],
[ya_title],
from #myTempTable
where RowNumber BETWEEN 1 AND 24
sql server的编码:SQL_Latin1_General_CP1_CI_AS
ps 过程中的其他动态表返回正确的字符,只是该动态表返回??????????
.