
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
23.12.2008, 08:00
|
|||
|---|---|---|---|
|
|||
СЕЛЕКТ к ОРАКЛ |
|||
|
#18+
VFP 9 через ODBC делаю запрос к ОРакл: sel="Select a.acctext,o.ddate,o.oprnum,o.pvqt,o.isdb,o.oprcod "+; "from "+shema+".opprov o, "+shema+".opaccounts a where o.klicod=a.klicod and o.conto=a.conto "+; "and o.sconto=a.sconto and o.nnumber=a.nnumber and o.crcod=a.crcod and o.ddate between '"+dat1+"' and '"+dat2+"' " +; "and a.oldcount='"+stracc+"'" так работает... добавляю подзапрос: "Select a.acctext,o.ddate,o.oprnum,o.pvqt,o.isdb,o.oprcod, "+; "(select oprname from nmopr where oprcod=o.oprcod ) as oprn "+; "from "+shema+".opprov o, "+shema+".opaccounts a where o.klicod=a.klicod and o.conto=a.conto "+; "and o.sconto=a.sconto and o.nnumber=a.nnumber and o.crcod=a.crcod and o.ddate between '"+dat1+"' and '"+dat2+"' " +; "and a.oldcount='"+stracc+"'" и уже не работает! В TOAD данные выводятся нормально.. ХЭЛП МИ. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=41&mobile=1&tid=1586934]: |
0ms |
get settings: |
9ms |
get forum list: |
18ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
51ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
41ms |
get tp. blocked users: |
2ms |
| others: | 197ms |
| total: | 342ms |

| 0 / 0 |
