$ 0 0 IF EXISTS (SELECT * FROM MyTable) BEGINSELECT FieldA, FieldB FROM MyTableENDELSEBEGINSELECT "A", "B"END