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
SolvedPrivate

Help in automating monthly data dump

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

My client has a dictionary table. They're defining a list of standard naming convention. Now, they are requiring my team to provide us a mechanism how to match new incoming data with existing data in their system.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

828 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