|
|
|
Paradox, ошибка "Insufficient memory for this operation" при выполнении запроса
|
|||
|---|---|---|---|
|
#18+
Занимаюсь сопровождением программы, база на Paradox, программа написана на 5-ом Делфи. Программа работает с 2003 года и в последнее время, при выполнении нескольких запросов на выборку вываливается ошибка "Insufficient memory for this operation", посоветуйте в чем может быть причина и что можно сделать. В Database Desktop запросы выполняются а в программе валятся... Запросы вида: select distinct (select count (cd)as vsego from lkard where (dtprrab<:dt) and (dtuvol is null or dtuvol>:dt)), (select count (cd)as vsego_29 from lkard left join sprPGr s on s.cdPGr=lkard.cdPgr where (dtprrab<:dt) and (dtuvol is null or dtuvol>:dt) and s.PgrType in(1,2,3)), (Select count (cd)as vsego30_39 from lkard left join sprPGr s on s.cdPGr=lkard.cdPgr where (dtprrab<:dt) and (dtuvol is null or dtuvol>:dt) and s.PgrType=1), (Select count (cd)as vsego40_49 from lkard left join sprPGr s on s.cdPGr=lkard.cdPgr where (dtprrab<:dt) and (dtuvol is null or dtuvol>:dt) and s.PgrType=2), (Select count (cd)as vsego50_59 from lkard left join sprPGr s on s.cdPGr=lkard.cdPgr where(dtprrab<:dt) and (dtuvol is null or dtuvol>:dt) and s.PgrType=3), (Select count (cd)as vsego60 from lkard left join sprPGr s on s.cdPGr=lkard.cdPgr where (dtprrab<:dt) and (dtuvol is null or dtuvol>:dt) and s.PgrType=4), (select count (cd)as vsego from lkard where (dtprrab<:dt) and (dtuvol is null or dtuvol>:dt) and pol='женский') from lkard т.е. выборка из основной таблицы плюс данные из справочников ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.12.2007, 10:54 |
|
||
|
|

start [/forum/topic.php?fid=56&msg=35027750&tid=2016034]: |
0ms |
get settings: |
11ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
40ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
25ms |
get tp. blocked users: |
1ms |
| others: | 228ms |
| total: | 337ms |

| 0 / 0 |
