The following example generates a web page using the sp_makewebtask system stored procedure: execute sp_makewebtask @outputfile = 'c:\inetpub\wwwroot\solweb\sql_cust.htm', @query = 'select custid, name from customer order by name', @fixedfont = 1, @webpagetitle='SP_MakeWebTask Example', @resultstitle='DemoPremierApp10 Customer Listing', @dbname='demopremierapp10', @whentype=1, @rowcnt=500