Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


how to run SP which internally conatain Temp tables in ssis


how to run SP which internally conatain Temp tables in ssis

Author
Message
mvenkatareddy06
mvenkatareddy06
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 13
Hi,

I have one sp which internally using 10 temp tables.

I need to load the result set from sp into one new table using SSIS

I tried delay validation=true and retain same connection=true properties also

Please help me.

Thanks in Advance
michal.lisinski
michal.lisinski
SSChasing Mays
SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)

Group: General Forum Members
Points: 636 Visits: 1090
Hi

There's no problem run sp, you have to do a few steps:
1. Create a new Data Flow Task.
2. Add OLE DB Source in DFT.
3. Put EXEC "your_sp_name" in SQL Command text.
4. Mark output columns.
5. Add OLE DB Destination and join with new table.
6. Join OLE DB Source with OLE DB destination.

If there are more then one select statements in your sp, it will show columns from the first one, but
it's not a big case.

Br.
Mike
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search