if exists(select * from table)
 then ....

букофф меньше

--
Булычев Алексей
http://www.stella-npf.ru

Ответить