First is it possible to create a view from stored procedure?If it is possible how can I create itCreate View View1 ASusp_dts_tempexportCreate View View1 AsExec usp_dts_tempexport
usp_dts_tempexport is a stored proc which looks something like thisselect col1,col2,col3 from tblaunion all select col1,col2,col3 from tblbunion allselect col1,col2,col3 from tblb
The other option I see is to store these datas in a temp table and drop the temptable at the end of process. Any other suggesstions?How does a #temptable and temptable differs?Karunakaran___________It's better to be loved and lost, than ever to be loved...