Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Issue Copying Data From Stored Procedure Into Excel

Hi,

 

I am trying to copy data fetched from store procedure (SQL Server) in to Excel file.

 

Here is what I am doing

 

TMSSQLSP > tmap > tFileOutputExcel.

 

On running I get excel generated but only with column names as headers. Getting no data in excel. However if I run the stored procedure in SQL Server it returns the data. I am not sure which setting I am missing.

 

Please help me.

 

Regards

Tarunjit Singh

 

 

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

You can design in this way also,you got all records into output file right?

View solution in original post

9 Replies
TRF
Champion II
Champion II

Can you share your job design?

Anonymous
Not applicable
Author

Hi,

 

Thanks for the reply.

 

I am new to Talend. This is my second day not sure how to share the design. I am attaching a screen shot of the designer. Hope it helps.

 


Issue.png
Anonymous
Not applicable
Author

Can you please tell me how design could be shared? Did you mean i export the job to my hard drive and then zip that folder and upload it?

 

TRF
Champion II
Champion II

Just make a screen capture for the design and for the main components settings if necessary then inclure these captures in your post using the camera on top of the field where you enter your post

Anonymous
Not applicable
Author

Hi,

 

Design screen shot is already shared. Here are the screen shots for main components settings.

 


TMSSQLSP Component Properties.png
Anonymous
Not applicable
Author

Here is the screen shot for Excel file Component Properties.

 

 


ExcelFileOutPutProperties.png
manodwhb
Champion II
Champion II

Since you are not getting data from tMSSqlSP.can you share tMSSqlSP screenshot that the parameters defied in Bassic setting?

Anonymous
Not applicable
Author

Hi,

 

Today changed my job design I added new component tFixedFlowInput from which I passed the parameter of type recordset to tMSSqlSP and it worked.

 

I have attached revised layout of the job for your reference. Please let me know if this fine.

 

Just for your reference I followed url https://community.talend.com/t5/Design-and-Development/How-to-pass-date-value-embedded-within-single...

 

Regards

Tarunjit Singh


JobLayout.png
manodwhb
Champion II
Champion II

You can design in this way also,you got all records into output file right?