Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL Server 7.0

Posted on 2013-11-01
14
Medium Priority
?
326 Views
Last Modified: 2013-11-01
Hello i need help migrating SQL 7.0 Dbase to SQL 2005 then to SQL 2012

I am unable to upgrade SQL 7.0 to 2005 because its on a windows NT machine and i've been trying everything with what i've been reading online to do this but every option given i've run into brick walls

so can someone give me a clear way to do this
0
Comment
Question by:akuss
  • 8
  • 6
14 Comments
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 39616679
Back the database up.

On a new machine, install SQL 2012.

Patch SQL 2012 to latest Service Pack.

Restore database.

You may need to manage the migration of the SQL users to the new server.
0
 

Author Comment

by:akuss
ID: 39616684
I was under the impression the SQL 2012 was not able to accept an sql 7.0 dbase without a go between like sql 2005?
0
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 39616685
One thing to note is that when you restore the database the compatibbility level will still be on the previous version of SQL. This may be necessary though.
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 25

Expert Comment

by:Lee Savidge
ID: 39616703
Ahh, yes you are quite right. I totally forgot that :)

How big is the physical database?
0
 

Author Comment

by:akuss
ID: 39616722
1.65 gb
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 1500 total points
ID: 39616749
There is no reason then why you can't install SQL Express and restore the database to that and then perform another backup.

You should be able to put SQL Express 2005 on any machine and restore you current database to it.
0
 

Author Comment

by:akuss
ID: 39616769
ok i will install express and let you know is there a specific tool i use like dts wizard?
0
 
LVL 25

Assisted Solution

by:Lee Savidge
Lee Savidge earned 1500 total points
ID: 39616782
No. Just do a database backup in the old one.

In the new SQL isntall create a new database with the same name as the one in the old SQL install. Restore your database over the top. Ensure that the paths are correct. Then once you have restored it you can back it up again from SQL 2005 and then restore onto SQL 2012.
0
 

Author Comment

by:akuss
ID: 39616862
I will let you know if it works
0
 

Author Comment

by:akuss
ID: 39617097
I received error message it gets to 100% done then throws error see below

System.Data.SqlClient.SqlError: DDL statement is not allowed. (Microsoft.SqlServer.Smo)
0
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 39617128
Do you have any DDL triggers? Try disabling them.
0
 

Author Comment

by:akuss
ID: 39617159
I dont think i have any DDL triggers how would i go about finding them and disabling them?
0
 

Author Comment

by:akuss
ID: 39617393
any ideas? i have no ddl triggers
0
 

Author Comment

by:akuss
ID: 39617683
well after installing sql express 2005 on three computers i guess third time is a charm it finally worked dont know what was going on.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
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

782 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