baan999
26th January 2011, 11:03
i am developing sql query
for ticpr007.ltcp field

i want to select ticpr008.ltcp is blank

i tried to define as where ticpr007.ltcp = ' ' , no report appearing, i checked in the table there is blank record is available.

please suggest. what is to be define in where clause (sql query)

Juergen
26th January 2011, 16:01
field ticpr007.ltcp is of type date, so the correct syntax should be

where ticpr007.ltcp = 0

regards,
Juergen

bdittmar
26th January 2011, 16:17
i am developing sql query
for ticpr007.ltcp field

i want to select ticpr008.ltcp is blank

i tried to define as where ticpr007.ltcp = ' ' , no report appearing, i checked in the table there is blank record is available.

please suggest. what is to be define in where clause (sql query)

Hello,

in LN ticpr001.ltcp is a utc field (last calulation date)

No date set is "0" zero : where ticpr007.ltcp = 0

-----------
Sorry Juergen, you're faster ;-)

Regards