To publish data using Transact-SQL statements that you create, select the option that allows you either to select data using Transact-SQL statements or to execute external stored procedures.