Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Data import from sql 2000

Author  Topic 

netjam
Starting Member

37 Posts

Posted - 2009-11-11 : 00:57:46
Hi,

I am trying to import data from sql 2000 to sql 2005 using sql 2005 import function. The issue I am having is that views become tables on destination 2005 database!

Can someone explain why this is happening, please.

So, basically I am trying to make old 2000 sql data compatible with sql 2005. Can I achieve this by restoring bak file and setting compatibility level to 90?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-11-11 : 01:01:38
Yes just perform backup/restore and make the compatibility level change if that's what you want to do. The import wizard is buggy.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-11-11 : 01:02:01
You could also use detach/attach method if the 2000 database can be taken offline.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

netjam
Starting Member

37 Posts

Posted - 2009-11-11 : 01:10:22
Thanks.

That is what I did.. restored backup and changed compatibility level to 90.

But I was not sure if this is enough, because I am upgrading SAP and new ver does not support sql 2000.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-11-11 : 01:20:40
I don't know much about SAP, but if you restored the database to SQL Server 2005 and changed the compatibility level to 90 then the database is no logner SQL 2000 at all so you should be good.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2009-11-11 : 01:29:18
You should still check with your SAP vendor on any other requirement or steps required.


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -