摘要:
按照官方文档安装好timesten后,并按T《imesTenCache Connect to Oracle Guide》建一个数据源cgDSN,可ttIsql cgDSN时报错>ttisql cgdsnCopyright (c) 1996-2006, Oracle. All rights reserved.Type ? or "help" for help, type "exit" to quit ttIsql.All commands must end with a semicolon character.connect "DSN=cg 阅读全文
摘要:
最近发现在视图中使用rownum伪列会使执行改变,可能导致无法正常使用索引,以后要注意rownum的使用了,呵呵现象如下:SQL> create table test as2 select * from dba_objects;Table created.SQL> create index ix_test_object_name on test(object_name);Index created.SQL> set autotrace onSQL> select * from test t2 where t.object_name='EMP';Execu 阅读全文
摘要:
1、在安装向导过程中,出现如下错误:{英文原意如下When you install Microsoft SQL Server 2005, you receive the following error message: There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more information.}2、当我检查C:\Program Files\Microsoft SQL Server90\Setup\ 阅读全文
摘要:
--查询哪个查询阻塞了其他的查询SELECTblocked_query.session_id AS blocked_session_id,blocking_query.session_id AS blocking_session_id,sql_text.text AS blocking_text,waits.wait_type AS blocking_resourceFROM sys.dm_exec_requests blocked_queryJOIN sys.dm_exec_requests blocking_query ON blocked_query.blocking_session_i 阅读全文