摘要:
下午没事干,到处闲逛发现一个好玩的东东,发出来与大家共享,哈哈。。。一个解析JSON的插件,用SQL语法,当然只能用简单的条件查询咯,不过这个用起比较简单,容易上手,废话不多说下面就上code:Dome下载:JsonSQL Dome下载这编辑器不知道咋用,效果可能运行不了。。。不过有个Dome,需要的下载玩玩。。。运行示例:语句1: jsonsql.query("select * from json.channel.items order by title desc",json);获取全部数据语句2: jsonsql.query("select title,url 阅读全文
摘要:
use pubsgoif exists(select name from sysobjects where name = 'emp')drop table empgo--复制表select emp_id,fname,lname into emp from dbo.employee--select * from emp--例如,求第3页,每页10条--即第21到30条记录select top 10 * from empwhere emp_id not in(select top 20 emp_id from emp order by emp_id)order by emp_id- 阅读全文