Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling Function with parameter using DTS

Status
Not open for further replies.

VenkatSQL

Technical User
Nov 6, 2007
14
IN
Hi Experts

I want to execute function which is going to use as table

like
( In Transform Data task properties - SQl Query as)

select * from testven(?,?)

It shows error message as

Error Source: Microsoft OLE DB Provider for SQL Server
Error Description: Syntax error or access violation



Thanks in advance

regards

venkat


 
is testven a user-defined function?

If so, try

Code:
select * from [b]dbo.[/b]testven(?,?)

(Assumes your function owner is dbo, and it really should be if its not)

Hope this helps,

Alex

[small]----signature below----[/small]
You can't fit a square data in a round table
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top