declare @topN int ; select @topN=10; select top (@topN) * from TableName 一定要用() 否则无效 SQL 参数 declare @topN int; select @topN = 10; select top (@topN) * from TableName
- declare @topN int;
- select @topN = 10;
-
select top (@topN) * from TableName
一定要用() 否则无效
declare @topN int; select @topN = 10; select top (@topN) * from TableName









