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
 General SQL Server Forums
 New to SQL Server Programming
 Running reports off of production server
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Joshrinn
Posting Yak Master

118 Posts

Posted - 05/30/2012 :  14:21:05  Show Profile  Reply with Quote
Hi my manager wants me to run my monthly reports off of production automatically. How do I set it up. What information do I need to get started?

tkizer
Almighty SQL Goddess

USA
35007 Posts

Posted - 05/30/2012 :  14:27:07  Show Profile  Visit tkizer's Homepage  Reply with Quote
You could schedule a report if you are using Reporting Services or similar, or just do it in a SQL Agent job.

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

Subscribe to my blog
Go to Top of Page

Joshrinn
Posting Yak Master

118 Posts

Posted - 05/30/2012 :  14:31:12  Show Profile  Reply with Quote
Yes I am using SSRS but could you give me some info regarding it. Also how do I set up my report or run it off of production DB. What all I need to start this process I mean what all access?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47040 Posts

Posted - 05/30/2012 :  15:39:38  Show Profile  Reply with Quote
quote:
Originally posted by Joshrinn

Yes I am using SSRS but could you give me some info regarding it. Also how do I set up my report or run it off of production DB. What all I need to start this process I mean what all access?


thats known as subscriptions in ssrs
just set a subscription for the report based on schedule and it does delivery automatically. Internally it makes use of sql sgent job for it

You need to make sure you deployed reports as well as dependent objects like datasources to production server first and also set proper credentials.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

Joshrinn
Posting Yak Master

118 Posts

Posted - 05/30/2012 :  22:00:28  Show Profile  Reply with Quote
Thankyou Visakh. And also if they want my reports to run off of production do I need to deploy my SSIS packages to the production server as well since that is what populates the tables for my reports? If yes than how do I copy the dtsx files from my QA folder to the production folder? They need to provide me with the production folder path or no? And what all do I need in order to put my dtsx files in production and Set up a SQL job? I was also planning to put the data source as production server in my report's source source. Is that a good option?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47040 Posts

Posted - 05/30/2012 :  22:22:44  Show Profile  Reply with Quote
quote:
Originally posted by Joshrinn

Thankyou Visakh. And also if they want my reports to run off of production do I need to deploy my SSIS packages to the production server as well since that is what populates the tables for my reports? If yes than how do I copy the dtsx files from my QA folder to the production folder? They need to provide me with the production folder path or no? And what all do I need in order to put my dtsx files in production and Set up a SQL job? I was also planning to put the data source as production server in my report's source source. Is that a good option?


yes you've to deploy SSIS packages as well.
But one question
are you planning to use same server for SSIS and SSRS in production?
For deployment you just need to create deployment utility and give it to your DBA and they can deploy it in production using it. You might also need to send configuration files also if you're using it

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

Joshrinn
Posting Yak Master

118 Posts

Posted - 05/30/2012 :  22:49:14  Show Profile  Reply with Quote
Yes I am planning to use same server for both SSRS and SSIS . And how would I create the deployment utility? Does that also mean that I do not have to deploy the dtsx files myself into production if I create the deployment utility. Can you tell me how to create it please?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47040 Posts

Posted - 05/30/2012 :  22:55:56  Show Profile  Reply with Quote
quote:
Originally posted by Joshrinn

Yes I am planning to use same server for both SSRS and SSIS . And how would I create the deployment utility? Does that also mean that I do not have to deploy the dtsx files myself into production if I create the deployment utility. Can you tell me how to create it please?



see

http://msdn.microsoft.com/en-us/library/ms137952.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

Joshrinn
Posting Yak Master

118 Posts

Posted - 05/31/2012 :  09:56:55  Show Profile  Reply with Quote
Visakh how can I load excel data into report DB? Please asap
Go to Top of Page

Joshrinn
Posting Yak Master

118 Posts

Posted - 05/31/2012 :  12:42:39  Show Profile  Reply with Quote
While changing the destination to the prod I first went into the package configuration and removed it in QA environment which I will add later once I open it up from Production. The only thing on my mind is that I have log files in the package. Do I change them to the new prod folder as well? Or how do I deal with the log files which are now in my QA environment
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47040 Posts

Posted - 05/31/2012 :  15:21:32  Show Profile  Reply with Quote
quote:
Originally posted by Joshrinn

While changing the destination to the prod I first went into the package configuration and removed it in QA environment which I will add later once I open it up from Production. The only thing on my mind is that I have log files in the package. Do I change them to the new prod folder as well? Or how do I deal with the log files which are now in my QA environment


you should not be removing and readding the configurations. That defeats the whole purpose of using them in first place.
The intention behind usuing them itself is to change properties at runtime without editing the package
You should be using indirect configuration method to make sure package deployment works smooth across environments
see an example here
http://akashonly.blogspot.com/2010/04/indirect-configuration-in-ssis.html

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47040 Posts

Posted - 05/31/2012 :  15:24:32  Show Profile  Reply with Quote
quote:
Originally posted by Joshrinn

Visakh how can I load excel data into report DB? Please asap


use data flow task available in SSIS with excel source pointing to file and OLEDB destination to point to your DB

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

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.08 seconds. Powered By: Snitz Forums 2000