摘要:
“select top 10* from Items”: 这个是什么意思呢?他等于从1--10条记录吗?答案可以肯定的说:False,因为top只是查询数据表中前面的10条记录,在一般情况下 top10 就是从1到10按顺序排列的,但是有时候 不是按顺寻排列呢?这时候top10 可能就出现的是 id... 阅读全文
摘要:
use votetest select name from sysobjects where xtype='U' -- u 用户定义的表 -- s 系统表 阅读全文