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.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Package validation error

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 error

my SP is some thing like this

create proc fields @feildid
as
create table #temp(,,,,,)
insert into select * from originaltable where id = @fieldid
drop table # temp

when i used my proc like

create proc fields @feildid
as
select * from originaltable where id = @fieldid

i could execute properly with no errors in data flow

but 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 error

my SP is some thing like this

create proc fields @feildid
as
create table #temp(,,,,,)
insert into select * from originaltable where id = @fieldid
drop table # temp

set @result = select col1 from #temp
select @result
when i used my proc like

create proc fields @feildid
as
select col1 from originaltable where id = @fieldid

i could execute properly with no errors in data flow

but 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
Go to Top of Page

karuna
Aged Yak Warrior

582 Posts

Posted - 2008-08-26 : 15:00:52
duplicate post
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=109519
Go to Top of Page
   

- Advertisement -