This is a custom designed SP.
SET NOCOUNT ON is already there.
I will try the work around and see if it works and then post back.
Main Topics
Browse All TopicsI have a Microsoft SQL Server 2005 stored procedure that returns a result set of 1 or more rows that uses a Unique ID as and input parameter. I have another table that contains the unique ID's. I am using Informatica as a tool to extract the data from the stored procedure and load it into another table on the SQL server. A management decision dictates the use of Informatica instead of SSIS to perform this task. When I try to import the Stored Procedure via the Transformation designer, it does not display the columns in the result set. Since I can't see the columns, I can't map them to the target table. How do I work around this problem?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
That is correct. I DO se data and columns in Management Studio and I DON'T see columns when I import the Stored Proc into Informatica's Transformation control. However, if I define Output Parameters in the Stored Proc, they will show up as columns in the Transformation control.
I don't know if I can produce multiple rows, like a result set, using the Output Parameters. So, I would prefer a better solution.
>> I don't know if I can produce multiple rows, like a result set, using the Output Parameters
No you can't.
So it looks like informatica will only accept SP output parameters.
User defined functions in SQL 2005 can be used exectly like a table.
i.e.
SELECT C1, C2, C3, C4 FROM f_UserDefinedFunction(1,2,
is valid syntax for a UDF, but not for a SP.
Can informatica use UDF's?
Business Accounts
Answer for Membership
by: nmcdermaidPosted on 2008-03-25 at 16:11:49ID: 21207347
Is this a custom designed SP, or is it in a thrid party app?
If the SP does not start with SET NOCOUNT ON, then these kind of tools (not to mention VB etc.) can get very confused, as the first 'recordset' that it returns is a rowcount, rather than the data that you are expecting.
here's a work around...... alter the stored procedure and hard code it to return the result set that you want, then call it from informatica to get the meta data.
Than alter it back to the way its meant to work and run informatica.