铸造错误

时间:2015-06-17 23:58:37

标签: javascript html

有人可以告诉我如何解决此错误:

Image 1

我试过,但在浏览器中无效...

Image 2

1 个答案:

答案 0 :(得分:0)

为什么你不能这样做:

declare @tbl table (id int, nm int)

;with src(id) as (
select 1 union all select id+1 from src where id+1 <= 100000
)
insert @tbl(id, nm)
select id, ROUND(((9) * RAND(cast(newid() as varbinary)) + 1), 0)
from src
option (maxrecursion 0)

select nm, count(9)qty
from @tbl
group by nm