摘要:
--A低效率 select t.* from (select * from GET_ENTER_EXAM_SCORE t where signupyear = '2013' and signupseason = '春季') t where rownum < 100 --B高效率 select t.* 阅读全文
摘要:
--当前的数据库用户连接情况-- 1 SELECT * FROM sys.[sysprocesses] WHERE [spid]>50 AND DB_NAME([dbid])='db_name' 2 SELECT * FROM [sys].[dm_exec_sessions] WHERE [sess 阅读全文