SELECT * FROM smcashz WHERE closedate='01.01.06'
select * from smcashz t where t.closedate='010106' and t.doccreated=0
LOCID DESKNUM ZNUM CLOSEDAT Z D ---------- ---------- ---------- -------- - - 28 5 772 02.08.06 1 1 28 1 605 02.08.06 0 1 28 2 697 02.08.06 1 1 28 3 766 02.08.06 1 1