thx for your help.. but I have another way to 'return 0' and '1' .. i do 'select 0' to return 0 and 'select 1' to return 1.. i think there is no drawback with this way.. anyone have a better idea ? pls comment.. cheers, sam Get your FREE Email and Voicemail at Lycos Communications at http://comm.lycos.com