SolvedPrivate

Help in automating monthly data dump

Posted on 2013-01-22
4
22 Views
Last Modified: 2016-02-10
Hi

I have a monthly task to produce a data dump

I have to do the following steps

Truncate a data table

import fresh data from excel

run a select statment to select data from the data tables includimg the data in the table previously refreshed into a sql report.

import the data from the sql report into excel.


I would like to know the best way to automate the above can anyone help please?
0
Comment
Question by:ac_davis2002
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 500 total points
ID: 38805533
Can you use SSIS and a SQL Server Agent job to automate it?  In other words, is you Edition of SQL Server something better than SQL Server Express?
0
 

Author Comment

by:ac_davis2002
ID: 38807017
Yep i can i have SSIS, can i automate using that do you think?
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 38807376
Absolutely.  Well, provided that the Excel data is well-formatted.  Typically you are better off importing from text files.
0
 

Author Closing Comment

by:ac_davis2002
ID: 38810688
Excellent thank you!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSMS Imprt data from Excel 7 20
Star schema daily updates 2 34
SQL server client app 3 26
Assigning Database Principals to Database Roles 3 16
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question