View Single Post

   
  #4 (permalink)  
Old 02-29-2008, 07:07 AM
Rodusa
 
Posts: n/a
Default Re: Convert variable into dynamic select

David, The Sales Report is composed of several SQL statements. The
Stored procedure processes each row which contains a sql and places the
result in a temp table, in this case, SalesReport. I then use a asp.net
datagrid to view the results and export them to excel. The reason for
why I use the sql statetements separated is because the marketing dept.
should be able to update and add additional sql statements.

Rod

Reply With Quote