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.
Author |
Topic |
Chinni
Yak Posting Veteran
95 Posts |
Posted - 2008-08-26 : 11:26:00
|
i need to execute a stored procedure with one input parameter in SSIS data flow.I executed well before,but after i created temp table inside a stored procedure it showing vs_neednewmetadata,validation errormy SP is some thing like thiscreate proc fields @feildidascreate table #temp(,,,,,)insert into select * from originaltable where id = @fieldiddrop table # tempwhen i used my proc likecreate proc fields @feildidas select * from originaltable where id = @fieldidi could execute properly with no errors in data flowbut when i created a temp tabel i could not,as my procedure need a temp tabel i need to create that.Thanks for you help |
|
Chinni
Yak Posting Veteran
95 Posts |
Posted - 2008-08-26 : 11:34:07
|
need to execute a stored procedure with one input parameter in SSIS data flow.I executed well before,but after i created temp table inside a stored procedure it showing vs_neednewmetadata,validation errormy SP is some thing like thiscreate proc fields @feildidascreate table #temp(,,,,,)insert into select * from originaltable where id = @fieldiddrop table # tempset @result = select col1 from #tempselect @resultwhen i used my proc likecreate proc fields @feildidasselect col1 from originaltable where id = @fieldidi could execute properly with no errors in data flowbut when i created a temp tabel i could not,as my procedure need a temp tabel i need to create that.Thanks for you help |
 |
|
karuna
Aged Yak Warrior
582 Posts |
Posted - 2008-08-26 : 15:00:52
|
duplicate posthttp://www.sqlteam.com/forums/topic.asp?TOPIC_ID=109519 |
 |
|
|
|
|
|
|