public class Time { public static void main(String[] args) { Date t = new Date(); DateFormat ti = new SimpleDateFormat("yyyy年MM月dd日 hh:mm:ss"); String s = ti.format(t); System.out.println("现在是佛山时间:"+s); }}
1.查看SQL语句IO消耗 set statistics io on select * from dbo.jx_order where order_time>'2011-04-12 12:49:57.580' set statistics io off 2.查看SQL语句时间消耗 set statistics time on select * from dbo.jx_order where order_time>'2011-04-12 12:49:57.580' set