SolvedPrivate

Help in automating monthly data dump

Posted on 2013-01-22
4
20 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

My client sends data in an Excel file to me to load them into Staging database. The file contains many sheets that they have same structure. In this article, I would like to share the simple way to load data of multiple sheets by using SSIS.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

809 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