if exists (select 1 from my_table) print 'my_table has at least one row'