473,888 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using DTS to migrate Access ot SQL Server

When I try to import from Access, the DTS wizard only allows me to
import tables and queries. OK, I'm not surprised the "macros" and
reports don't come over.

But it executes each query, and created a _table_ to hold the results.

The sensible thing would be that SELECT queries become views
and the others become stored procedures. But I find no way
controls I can select to do that.

I have to manually create the views/procedures and paste in the SQL.
And then I still have to translate it into standard SQL.

--
Wes Groleau

Beware of the man who works hard to learn something, learns
it, and finds himself no wiser than before ... He is full of
murderous resentment of people who are ignorant without having
come by their ignorance the hard way.
-- Kurt Vonnegut
Feb 3 '07 #1
15 2891
Wes Groleau wrote:
When I try to import from Access, the DTS wizard only allows me to
import tables and queries. OK, I'm not surprised the "macros" and
reports don't come over.

But it executes each query, and created a _table_ to hold the results.

The sensible thing would be that SELECT queries become views
and the others become stored procedures. But I find no way
controls I can select to do that.

I have to manually create the views/procedures and paste in the SQL.
And then I still have to translate it into standard SQL.
Have you tried using the Upsize wizard?

Jonathan
Feb 3 '07 #2
Jonathan Roberts (gr*******@diyn ics.com) writes:
Wes Groleau wrote:
>When I try to import from Access, the DTS wizard only allows me to
import tables and queries. OK, I'm not surprised the "macros" and
reports don't come over.

But it executes each query, and created a _table_ to hold the results.

The sensible thing would be that SELECT queries become views
and the others become stored procedures. But I find no way
controls I can select to do that.

I have to manually create the views/procedures and paste in the SQL.
And then I still have to translate it into standard SQL.

Have you tried using the Upsize wizard?
I have never worked with Access myself, but from people that hold
expertise in both Access and SQL Server, I have heard strong recommendations
of staying away from the wizard.

Migrating from Access to SQL Server is quite an undertaking, and there
are many differences. Not the least since Access since is more or less
all-in-one, while with SQL Server you get a client/server setup.
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Feb 3 '07 #3
Jonathan Roberts wrote:
Wes Groleau wrote:
>When I try to import from Access, the DTS wizard only allows me to
import tables and queries. OK, I'm not surprised the "macros" and
reports don't come over.

[snip complaint details].

Have you tried using the Upsize wizard?
The upsize Wizard does not work. On the third or fourth
page, it pops up a box saying nothing but "Overflow"
Nothing happens in SQL Server.

--
Wes Groleau
"Lewis's case for the existence of God is fallacious."
"You mean like circular reasoning?"
"He believes in God. Therefore, he's fallacious."
Feb 4 '07 #4
Erland Sommarskog wrote:
Migrating from Access to SQL Server is quite an undertaking, and there
are many differences.
This is very true. But as flawed as it is, importing via DTS
and then "fixing it" is less of an undertaking than building
the whole thing manually from nothing.

And in any case, when the application you wrote or inherited
gets big enough to make Access become unstable, migrating to
SOMEthing becomes imperative.
--
Wes Groleau

Expert, n.:
Someone who comes from out of town and shows slides.
Feb 4 '07 #5
Wes Groleau wrote:
[snip extraneous comments and non-extraneous stuff full of typos].
I guess those flaws sort of obscured my question.

Access upsizing wizard does not work.

DTS in SQL Server 2000 has a wizard that DOES work.

But does there exist any form of automation that will
take all Access QUERIES into SQL Server views and/or sprocs
INSTEAD OF into tables containing the results of the queries?

--
Wes Groleau

Even if you do learn to speak correct English,
whom are you going to speak it to?
-- Clarence Darrow
Feb 4 '07 #6
Erland Sommarskog wrote:
>Have you tried using the Upsize wizard?

I have never worked with Access myself, but from people that hold
expertise in both Access and SQL Server, I have heard strong recommendations
of staying away from the wizard.

Migrating from Access to SQL Server is quite an undertaking, and there
are many differences. Not the least since Access since is more or less
all-in-one, while with SQL Server you get a client/server setup.

Erland,

You're right; it isn't perfect by any stretch. However, it can be a
start. I did it a few years back when an app was breaking due to
Access' problematic use of file locks and networking. There are some
gotchas, but it saved me some time. Once upsized, you can create an ADP
fairly quickly to get your forms up and running (assuming you were using
Access forms in the first place as your interface).

Jonathan
Feb 4 '07 #7
Wes Groleau wrote:
Jonathan Roberts wrote:
>Wes Groleau wrote:
>>When I try to import from Access, the DTS wizard only allows me to
import tables and queries. OK, I'm not surprised the "macros" and
reports don't come over.

[snip complaint details].

Have you tried using the Upsize wizard?

The upsize Wizard does not work. On the third or fourth
page, it pops up a box saying nothing but "Overflow"
Nothing happens in SQL Server.
Glad you mentioned it. You have hit the number one common problem with
the wizard. It does work but you have to overcome this issue. Google
it to find many pages of info. One KB is here:
http://support.microsoft.com/kb/272384. I don't remember the exact fix,
but it wasn't hard to resolve.

If you don't want to go that route, you can certainly pull out all your
queries manually and create views in SQL Server. I don't know of an
automated way to do this. If you have a lot of queries, this way may
not be practical.

Good luck and keep posting if you need help.

Jonathan
Feb 4 '07 #8
On Feb 3, 12:24 pm, Wes Groleau <groleau+n...@f reeshell.orgwro te:
When I try to import from Access, the DTS wizard only allows me to
import tables and queries. OK, I'm not surprised the "macros" and
reports don't come over.

But it executes each query, and created a _table_ to hold the results.

The sensible thing would be that SELECT queries become views
and the others become stored procedures. But I find no way
controls I can select to do that.

I have to manually create the views/procedures and paste in the SQL.
And then I still have to translate it into standard SQL.

--
Wes Groleau

Beware of the man who works hard to learn something, learns
it, and finds himself no wiser than before ... He is full of
murderous resentment of people who are ignorant without having
come by their ignorance the hard way.
-- Kurt Vonnegut
Did you try the SQL Server Migration Assistant for Access?
http://www.microsoft.com/sql/solutio...s/default.mspx

Feb 4 '07 #9
Jonathan Roberts wrote:
Wes Groleau wrote:
>The upsize Wizard does not work. On the third or fourth
page, it pops up a box saying nothing but "Overflow"
Nothing happens in SQL Server.

Glad you mentioned it. You have hit the number one common problem with
the wizard. It does work but you have to overcome this issue. Google
it to find many pages of info. One KB is here:
http://support.microsoft.com/kb/272384. I don't remember the exact fix,
but it wasn't hard to resolve.
"Obtain the latest service pack" You're right--that's not hard.
I didn't bother to look because my predecessor said that the only
fix was to install Access 2003. Installing a new version--or installing
a service pack--is not something our I.S. department will do on demand.
If you don't want to go that route, you can certainly pull out all your
queries manually and create views in SQL Server. I don't know of an
automated way to do this. If you have a lot of queries, this way may
not be practical.
It's not all that bad. Shift to SQL view. select, copy, "New View",
paste, save. But still, automation would be nice.
--
Wes Groleau
http://freepages.rootsweb.com/~wgroleau/Wes
Feb 5 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3282
by: Phil Powell | last post by:
I've read some online resources that utilize various MySQL command-line actions to migrate data from Access to MySQL. The situation is this: a group of co-workers of mine will be using an Access db in a shared source (for now, a directory.. ???) to be able to generate reports on the fly. What they want to do is to be able to migrate that data to a MySQL db instance that currently exists on a different server. What would be the best...
2
7326
by: Yves Touze | last post by:
Hi All, I'm trying to migrate from SQL Server 7.0 to SQL Server 2000. I've got some ASP page which call VB components that retrieve shaped recordsets from SQL Server using the MSDATASHAPE provider. Precisely, here is the code i have Dim Cmdobj As New ADODB.Command Cmdobj.ActiveConnection = oconn Cmdobj.CommandType = adCmdStoredProc
5
2141
by: JM | last post by:
I need to take all the user/groups and permissions and migrate them to SQL Server, how can this be done easily?
0
1525
by: Gee | last post by:
To migrate the VSAM files to SQL server 2000 I need to load 'OLE DB provider for AS/400 and VSAM'. To load the provider I've to install Host Integration Server. But the cost is too high. Please anyone let me know, how to migrate the VSAM files to SQL server 2000 without HIS? or is there any freeware available to migrate the VSAM files? Thanks, Geetha
1
1787
by: RedStain | last post by:
CONTENTS summary setup error messages compensation attempts comment SUMMARY I have an IIS6.0 server which has recently been upgraded to ASP 2.0 as a result of some of the patch requirements of some products I have installed
0
1696
by: wingtong | last post by:
Our Deltek accounting software will be migrating from a Jet database to a SQL express database. In the past, when using the Jet database, I have been able to make a copy of the JET database to my local c-drive, manipulate the database outside of the Deltek accounting software by using MSAccess,and copy the JET database file back onto the server (while no one is working on it) (this is a requirement for various reasons) Once we migrate the Jet...
13
3568
by: justinasz | last post by:
Hi, I am currently using MS Access + VBA to build reporting applications and also do adhoc reports in the company. However, from 2008 we are planning to change the way the source database is organised and the information in it will be drilled down a bit deeper. This will cause the size of the database to increase rather dramatically and it is quite likely that I will have few tables with 5M+ of rows. I am worried that Access will not be able...
6
1208
by: =?Utf-8?B?UmFzaGVlZA==?= | last post by:
Hi, We have an ASP.NET 1.1 application which uses .NET framework 1.1. The application is hosted in IIS 5.0 win 2000. We want to write a .NET 2.0 component (which leverages .NET 2.0 Framework, Ex: Dataset Bulk Update feature) and access it from ASP.NET 1.1. Is this possible? If so, please provide inputs on how this can be done or direct me to the appropriate resources? Note: We have both the framework installed in the web server.
6
6232
by: Mark | last post by:
Currently using MS Access 2000 and SQL Server Express. Using the current DAO OpenRecordset code listed below, however I keep getting the error message.... 3254: ODBC --Cannot lock all records The code below runs in a MS Access frontend while the table is linked using an ODBC connected to an SQL Server (backend). The table (located in SQL) only has one row and one column within it . I want to try and stop any other request (other...
0
9961
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9800
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10886
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10439
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9597
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7148
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6014
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4642
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4245
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.