摘要:
if @PageIndex = 1 begin if @strWhere != ’’ set @strSQL = ’select top ’ + str(@PageSize) +’ ’+@strGetFields+ ’ from [’+ @tblName +’] where ’ + @strWher 阅读全文
posted @ 2016-08-29 14:53
记性特差
阅读(851)
评论(0)
推荐(0)
摘要:
转载自:http://blog.itpub.net/16436858/viewspace-676265/ 下面示例中,查询的数据表参考这一篇的Person表。 一、限制返回的行数 1、Sql Server 1 SELECT TOP 10 Id,FirstName, LastName 2 FROM P 阅读全文
posted @ 2016-08-29 14:48
记性特差
阅读(195)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2016-08-29 13:28
记性特差
阅读(334)
评论(0)
推荐(0)