ID不连续,读取特定的区间之间的数据
例如:
读取第20列到30列之间的数据
select top 10 * from table_name where ID not in(select top 20 ID from table_name )
sql2005就有新函数支持
posted on 2009-06-17 18:28 ruonanxiao 阅读(152) 评论(0) 编辑 收藏 举报
例如:
读取第20列到30列之间的数据
select top 10 * from table_name where ID not in(select top 20 ID from table_name )
sql2005就有新函数支持
posted on 2009-06-17 18:28 ruonanxiao 阅读(152) 评论(0) 编辑 收藏 举报