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 |
Bhavika18
Starting Member
4 Posts |
Posted - 2011-04-13 : 09:24:28
|
Hi,1) Can anyone let me know how to pass paremeters in SSIS packages. 2) I have a function. I want to write that function using SSIS .Please let me know how to do that . Below is the function: ALTER FUNCTION [dbo].[GetReportingPeriodID]( @ReportingFrom datetime, @ReportingTo datetime)RETURNS INTASBEGIN DECLARE @RepALTER FUNCTION [dbo].[GetReportingPeriodID]( @ReportingFrom datetime, @ReportingTo datetime)RETURNS INTASBEGIN DECLARE @ReportingPeriodID INT Select @ReportingPeriodID=ReportingPeriodID from ReportingPeriod where FromDate=@ReportingFrom And ToDate=@ReportingTo RETURN @ReportingPeriodIDENDortingPeriodID INT Select @ReportingPeriodID=ReportingPeriodID from ReportingPeriod where FromDate=@ReportingFrom And ToDate=@ReportingTo RETURN @ReportingPeriodIDENDThanks & Regards,Bhavika |
|
|
|
|