select top (@index) from table
//这种写法在2005版本里是没有问题的但在2000版本里就会报语法错误
//2000要写成
exec('select top'+@index+' * from table')
相关文章:
select top (@index) from table
//这种写法在2005版本里是没有问题的但在2000版本里就会报语法错误
//2000要写成
exec('select top'+@index+' * from table')
相关文章: