数据库
_轻舞菲洋
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数据库获取前N条记录SQL Server与SQLite的区别
转自:http://www.csdn123.com/html/itweb/20130929/144045.htm 在使用sql语句进行前20条记录查询时SQL Server可以这样写: 1: select top 20 * from [table] order by ids desc 2: select top 20 * from [table] where id n转载 2015-10-14 15:34:33 · 961 阅读 · 0 评论 -
sqlite 获取数据库所有表名和字段名
转自:http://blog.sina.com.cn/s/blog_77eab95f0101t8qp.html 查询table,type 段是'table',name段是table的名字, so: select name from sqlite_master where type='table' order by name; 查询indices,type转载 2015-10-29 15:30:11 · 11080 阅读 · 0 评论
分享