dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

Execute stored procedure or SQL task from script. - sqlserver-dts

This is a discussion on Execute stored procedure or SQL task from script. - sqlserver-dts ; Hi Ive been searching everywhere on how to do this, but with no luck. Basically I have a SQL function that determines whether or not a row must be copied. It takes 1 parameter and returns another. Can I call ...


Home > Database Forum > Microsoft SQL Server > sqlserver-dts > Execute stored procedure or SQL task from script.

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 11-13-2008, 03:32 PM
Database Newbie
 
Join Date: Nov 2008
Posts: 1
jasond22 is on a distinguished road
Default Execute stored procedure or SQL task from script.

Hi
Ive been searching everywhere on how to do this, but with no luck.
Basically I have a SQL function that determines whether or not a row must be copied.
It takes 1 parameter and returns another.

Can I call this function from within my transformation script?

I tried adding the function to a 'Execute SQL Task' like this : 'Execute MyFunction ?' which seems to work fine (I will use global parameters for input and output) but how do I execute this SQL tasl from my script?

Any help will be greatly appreciated.

Thanks
Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 03:40 AM.