SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 parameters to UDF function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Chinni
Yak Posting Veteran

95 Posts

Posted - 07/18/2013 :  19:56:27  Show Profile  Reply with Quote
Hello ....

How do I pass a parameter to udf in SSIS

i tried
Vaibale Inputvar as string

input to function should be datetime

select select count(*) from dbo.udffunction(?) in execute task

parameter mapping : User::date input date Parameter value =0
result set : Outputrowcount user::outputrowcount

getting errors

"An error occurred while extracting the result into a variable of type (DBTYPE_DATE)". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Task failed: Check for Missing Groups


Thank you

tkizer
Almighty SQL Goddess

USA
36941 Posts

Posted - 07/18/2013 :  20:15:26  Show Profile  Visit tkizer's Homepage  Reply with Quote
Duplicate. Please only post once for the same topic.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000