Результаты опроса: Оправдала ли ваши надежды ТС SuperMag+? | |||
да, мы это и искали | 12 | 70.59% | |
да, но можно поискать альтернативы | 4 | 23.53% | |
нет | 0 | 0% | |
нужно искать что-то другое | 1 | 5.88% | |
Голосовавшие: 17. Вы ещё не голосовали в этом опросе |
select t.* from smdoclog t, smdocuments d where t.doctype in ('WI','WO', 'IW') and t.doctype=d.doctype and t.id=d.id and d.createdat<='28.06.2010' and d.docstate>1 and trunc(t.eventtime)>='28.06.2010';
RECID EVENTTIM DO ID ---------- -------- -- -------------------------------------------------- ACTIONCODE OLDSTATE NEWSTATE DOCDATE TOTALSUM EMPLOYEE ---------- ---------- ---------- -------- ---------- ---------- WSNAME -------------------------------------------------------------------------------- USERNAME OSUSER ------------------------------ ------------------------------ 17028 08.07.10 WI ÑÒ-000000000409 14 3 3 25.06.10 21163,68 -3 KSK\SERVER SUPERMAG ? RECID EVENTTIM DO ID ---------- -------- -- -------------------------------------------------- ACTIONCODE OLDSTATE NEWSTATE DOCDATE TOTALSUM EMPLOYEE ---------- ---------- ---------- -------- ---------- ---------- WSNAME -------------------------------------------------------------------------------- USERNAME OSUSER ------------------------------ ------------------------------ 17029 08.07.10 WI ÑÒ-000000000409 10 3 3 25.06.10 21163,68 -3 KSK\SERVER SUPERMAG ? RECID EVENTTIM DO ID ---------- -------- -- -------------------------------------------------- ACTIONCODE OLDSTATE NEWSTATE DOCDATE TOTALSUM EMPLOYEE ---------- ---------- ---------- -------- ---------- ---------- WSNAME -------------------------------------------------------------------------------- USERNAME OSUSER ------------------------------ ------------------------------ 18224 09.07.10 WO ÑÒ- 0000000093 14 3 1 23.06.10 4110 -3 KSK\SERVER SUPERMAG ? RECID EVENTTIM DO ID ---------- -------- -- -------------------------------------------------- ACTIONCODE OLDSTATE NEWSTATE DOCDATE TOTALSUM EMPLOYEE ---------- ---------- ---------- -------- ---------- ---------- WSNAME -------------------------------------------------------------------------------- USERNAME OSUSER ------------------------------ ------------------------------ 18225 09.07.10 WO ÑÒ- 0000000093 14 3 1 23.06.10 4044 -3 KSK\SERVER
select t.* from smdoclog t, smdocuments d, smspec sp where t.doctype in ('WI','WO', 'IW') and t.doctype=d.doctype and t.id=d.id and d.createdat<='28.06.2010' and d.docstate>1 and trunc(t.eventtime)>='28.06.2010' and d.doctype=sp.doctype and d.id=sp.docid and sp.article='020880';