1652 ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
0 select GAME_CARD_TYPE.NAME, GAME.NAME GameName, sum(V_SALE_TMP_LOG.GAME_CARD_NUM) as num, sum(V_SALE_TMP_LOG.CITY_AGENT_COST) as sumSalePRice, sum(V_SALE_TMP_LOG.PROVINCE_AGENT_COST) as basePrice, V_SALE_TMP_LOG.SALE_MODE from V_SALE_TMP_LOG, GAME_CARD_TYPE, GAME, RESELLER_BASE, AGENT_BASE c, AGENT_BASE d where (V_SALE_TMP_LOG.SALE_MODE=2 or V_SALE_TMP_LOG.SALE_MODE=3 or V_SALE_TMP_LOG.SALE_MODE=4) and V_SALE_TMP_LOG.GAME_CARD_TYPE_ID=GAME_CARD_TYPE.GAME_CARD_TYPE_ID(+) and GAME_CARD_TYPE.GAME_ID=GAME.GAME_ID(+) and V_SALE_TMP_LOG.RESELLER_ID=RESELLER_BASE.RESELLER_ID and RESELLER_BASE.AGENT_ID=c.AGENT_ID and c.PARENT_AGENT_ID = d.AGENT_ID and V_SALE_TMP_LOG.IS_SUCCESS='Y' and d.AGENT_ID=52080 and V_SALE_TMP_LOG.LOG_TIME>=to_date('2004-05-04 00:00:00','yyyy-mm-dd HH24:MI:SS') and V_SALE_TMP_LOG.LOG_TIME<=to_date('2004-07-04 23:59:59','yyyy-mm-dd HH24:MI:SS') GROUP BY GAME.name, GAME_CARD_TYPE.NAME, V_SALE_TMP_LOG.SALE_MODE ORDER BY -sum(V_SALE_TMP_LOG.CITY_AGENT_COST) DESC,sum(V_SALE_TMP_LOG.GAME_CARD_NUM) DESC
SQL> l 1 select GAME_CARD_TYPE.NAME, 2 GAME.NAME GameName, 3 sum(V_SALE_TMP_LOG.GAME_CARD_NUM) as num, 4 sum(V_SALE_TMP_LOG.CITY_AGENT_COST) as sumSalePrice, 5 sum(V_SALE_TMP_LOG.PROVINCE_AGENT_COST) as basePrice, 6 V_SALE_TMP_LOG.SALE_MODE 7 from V_SALE_TMP_LOG, 8 GAME_CARD_TYPE, 9 GAME, 10 RESELLER_BASE, 11 AGENT_BASE c, 12 AGENT_BASE d 13 where (V_SALE_TMP_LOG.SALE_MODE=2 or V_SALE_TMP_LOG.SALE_MODE=3 or V_SALE_TMP_LOG.SALE_MODE=4) 14 and V_SALE_TMP_LOG.GAME_CARD_TYPE_ID=GAME_CARD_TYPE.GAME_CARD_TYPE_ID(+) 15 and GAME_CARD_TYPE.GAME_ID=GAME.GAME_ID(+) 16 and V_SALE_TMP_LOG.RESELLER_ID=RESELLER_BASE.RESELLER_ID 17 and RESELLER_BASE.AGENT_ID=c.AGENT_ID 18 and c.PARENT_AGENT_ID = d.AGENT_ID 19 and V_SALE_TMP_LOG.IS_SUCCESS='Y' 20 and d.AGENT_ID=52080 21 and V_SALE_TMP_LOG.LOG_TIME>=to_date('2004-05-04 00:00:00','yyyy-mm-dd HH24:MI:SS') and V_SALE_TMP_LOG.LOG_TIME< =to_date('2004-07-04 23:59:59','yyyy-mm-dd HH24:MI:SS') 22 GROUP BY GAME.name, 23 GAME_CARD_TYPE.NAME, 24 V_SALE_TMP_LOG.SALE_MODE 25 ORDER BY -sum(V_SALE_TMP_LOG.CITY_AGENT_COST) DESC,sum(V_SALE_TMP_LOG.GAME_CARD_NUM) DESC 26* SQL>