It depends what kind of error you are thinking this select will generate (typically zero rows returned). So to test that, just check the row count in VB after you execute the stored procedure.