Oracle 9201下connect by的bug
原來在對含有connect by子句的多表關聯的檢視做查詢時(以某個欄位為條件進行查詢),也碰到過問題——結果記錄顯示不正確(比如直接在檢視裡看到滿足條件的記錄就兩個,可用sql去查卻能查出多了好些)
c是含有connect by子句的多表關聯查詢語句
程式碼:
select count(*) from c -->結果為15
select count(*) from c where field1='123'-> 結果為27
。。。。。。。。。
後來改成含connect by的子句不做多表關聯查詢,只做單表查詢,再將查詢的結果做多表關聯。這樣就解決了問題。
具體模擬例項有空再貼
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29867/viewspace-810586/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Transparent GateWay connect to MYSQL fix BUGOracleGatewayMySql
- win下oracle9201當前日誌組損壞的修復過程Oracle
- Oracle connect byOracle
- Oracle 9201升級到9207 (for winnt)Oracle
- oracle的connect by語句Oracle
- dbms_random在Oracle 10.2.0.4下的bugrandomOracle
- grant debug connect session to db_test;Session
- Laravel connect oracleLaravelOracle
- Oracle “CONNECT BY” 使用Oracle
- oracle connect by用法Oracle
- Oracle Start with ....Connect ByOracle
- oracle 9207在AIX下安裝的bugOracleAI
- Solaris10上安裝64位Oracle9201Oracle
- START WITH and CONNECT BY in Oracle SQLOracleSQL
- Oracle groupby的bugOracle
- ORA-0131:debugging requires the debug connect session system privilegeUISession
- oracle中start with connect by priorOracle
- 【函式】Oracle “CONNECT BY” 使用函式Oracle
- Oracle Connect By Prior 詳解Oracle
- oracle bugOracle
- Oracle的SYS_CONNECT_BY_PATH函式Oracle函式
- 【PL/SQL】Oracle--樹的使用(Connect By)SQLOracle
- Oracle中的Connect、session、process的區別OracleSession
- oracle的一個bugOracle
- Oracle srvctl的小bugOracle
- oracle的兩個bugOracle
- Soloaris 10上9201的SILENT安裝
- DEBUG : Eclipse Debug 時出現 Cannot connect to VM select failed錯誤EclipseAI
- Oracle Debug ---- oradebugOracle
- Linux Use ODBC Connect OracleLinuxOracle
- Oracle start with connect by PostgreSQL recursive cteOracleSQL
- Oracle Connect by 單行變多行Oracle
- Oracle Easy Connect Naming methodOracle
- [轉載] Oracle:start with...connect by子句的用法Oracle
- Oracle bug的手工修復Oracle
- oracle ucm 的嚴重bugOracle
- Oracle10.2.0.1的bugOracle
- Oracle的又一巨型bugOracle