摘要:
很多时候用 exists 代替 in 是一个好的选择: select num from a where num in(select num from b) 用下面的语句替换: select num from a where exists(select 1 from b where num=a.num 阅读全文
摘要:
之前使用过sql server 2000的查询设计器和Toad for oracle 都有格式化Sql语句的功能,感觉很方便,尤其对于我这种有着轻微强迫症的人来说。当最近把SQL Server Management Studio(SSMS)升级到2008 R2版本时,没有格式化的功能,之前的2005 阅读全文
摘要:
using System; using System.Collections.Generic; using ServiceStack.Redis; namespace SysBuild { class Program { //linux服务器地址 static private string host 阅读全文