Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to replace a value into a cell in excel

$
0
0

Hi All,

I have a sql query which gives me an output 

Select Year, Count(Retruned) As Returned,Count(Onsite) AS Onsite from dbo.test

where Year = 2018

The output would be 2018,6432,5800 , next month when i run this the count may be increased because of new rows, now i have to copy this value and update in an excel file.Below is the sample of my excel file

Now when i run the same query next month the count for 2018 will be changed for both returned & onsite so i need to create a package so that when i run the package the cell should automatically be updated.

I hope i am clear, can someone please help me on any suggestions with this.

Thanks



Viewing all articles
Browse latest Browse all 24688

Trending Articles