Solved

MS SQL Scheduled ODBC import

Posted on 2011-09-21
1
326 Views
Last Modified: 2012-05-12
I've been trying to use Crystal Reports to provide some Business Intelligence.

I have been running reports on our main company database which is an odd bespoke DBMS with little support and only an ODBC interface for me to talk to it with.

Although it has been working in principal, the process of running some of the more complex reports I've been designing has proved to be unbelieveably slow. Even a relatively simple report on two linked tables can take all afternoon.

On experimenting it seems that a report that just pulls out the entire table is actually quite quick, so I've decided to set up a SQL server (MSSQL2008 because it is what I'm used to) and I now want to pull about a dozen tables into a blank database every night (overwriting the existing ones) and then run the reports on the SQL database, which will be nice and quick and won't affect the users of the main system.

How can I set up the SQL server to automatically drag the tables I nominate out of the OBDC connection every night and dump them in this temporary database ready for reporting on? Also, can I set up stored procedures that run at scheduled times to do a bit of processing on the data once it has arrived?

I'm pretty good with T-SQL and Crystal Reports, but the actual guts of SQL server are not my strongest point.

Thanks in advance.
0
Comment
Question by:silent_waters
[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
1 Comment
 
LVL 23

Accepted Solution

by:
Ido Millet earned 500 total points
ID: 36575144
Learn and use SSIS

An alternative is to use one of the 3rd-party Crystal Reports desktop schedulers (see list at http://kenhamady.com/bookmarks.html).  That scheduler can export a Crystal report to a table via ODBC.  It can append or replace records in the target table.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

688 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