$ 0 0 Hi, First check if CASE statement is working or not with select part? not very sure about @where in where section. Amit