Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
exec ManatronWheelerCustom..sp_CrossTab'select property_id, tax_year, value_type, initial_value from AscendWheelerMain..val_component',NULL,NULL,value_type,initial_value,SUM,NULL
and it returns exactly what I desire. I would like to create a table using this stored procedure. Ideas?TIAEducation is what you have after you've forgotten everything you learned in school
khalik
Constraint Violating Yak Guru
443 Posts
Posted - 2009-10-29 : 12:22:16
If you wnat to data in a table then try thisselect ...... into table-name from========================================Project Manager who loves to code.===============Ask to your self before u ask someone
doco
Yak Posting Veteran
77 Posts
Posted - 2009-10-29 : 12:37:59
Thanks.I am aware of that process but really do need to create the result set using the sp_CrossTab stored procedure as I do not want to create a select query with 56+/- joins to the val_component table...Education is what you have after you've forgotten everything you learned in school