Hi Wen Lie,
Select * from trans_stock where
(pack_no = '') or (pack_no is null)
in case pack_no contains space(s), you may do this ....
Select * from trans_stock where
(ltrim(rtrim(pack_no)) = '') or
(pack_no is null)
Does it help ?
Regards
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |