12 2022 档案
摘要:SELECT * FROM (SELECT t.*, RANK() OVER (PARTITION BY t.a ORDER BY t.b DESC) AS drank FROM table1 t) a WHERE drank=1
阅读全文
摘要:public static bool CheckAgent(string userAgent) { bool flag = false; string[] keywords = { "Android", "iPhone", "iPod", "iPad", "Windows Phone", "MQQB
阅读全文
摘要:dynamic contact = new ExpandoObject(); contact.Name = "Patrick Hines"; contact.Phone = "206-555-0144"; contact.Address = new ExpandoObject(); contact.
阅读全文
摘要:select a.name as 表名, max(b.rows) as 记录条数 from sysobjects a ,sysindexes b where a.id=b.id and a.xtype='u' group by a.name order by max(b.rows) desc
阅读全文