Hi, guys - looking for a bit of help/advice on moving a database from
SQL 7 to SQL 2000.
We've a third party application which currently uses a SQL7 database.
This database has a number of views which are owned by user
INFORMATION_SCH EMA and are set as system tables. This user doesn't
actually have a login on the SQL server.
We've tried the following to recreate the database on SQL2000, but
whatever we try, the views owned by INFORMATION_SCH EMA won't copy over
from SQL7:
(1) We tried the "Copy Database" wizard in SQL2000, but were getting
errors when trying to actually copy the database (other steps worked
fine).
(2) We tried a restore to SQL2000 from our Legato Networker backup of
the SQL7 database, but the views didn't come across.
(3) We tried a backup from SQL7 and restore to SQL2000, but got the
message that the backup file contained a database other than the one
we wanted (it didn't - we checked the backup file several times by
restoring it to another SQL7 server).
(4) We tried to import/export data from SQL7 to SQL2000, but the views
owned by INFORMATION_SCH EMA weren't showing to add to the list of
objects to take across.
(5) We created the INFORMATION_SCH EMA login on SQL2000, and tried all
restores again, but still the views wouldn't go across.
(6) We generated the SQL for all views in SQL7 and ran these on
SQL2000, setting the owner to INFORMATION_SCH EMA, but wasn't sure
where to set the type to "system" (as opposed to "user).
We're having problems running the third party application with a
connection to SQL2000, and want to rule out the lack of views, or view
ownership, as the problem. Our third party vendor isn't coming up
with any solution in a hurry. Can anyone think of any reason why the
views are coming across when the database is restored to SQL2000?
Thanks for your help. 1 3344
There is no need to transfer these views to sql2000 (if not a
possibility) , because they are already there. Just like system tables
there are also system views. These views are based on the sql-92
standard. When you connect to a sql2000 database and open the query
analyzer type this statement and run it on the northwind database (or
any other if you want):
select * from information_sch ema.columns
You will get to see a list of all the columns for all the tables in
that specific database. Notice that there you cannot see these view
but CAN execute a select on them.
to be short:
There is no need (and no way) to transfer these information views.
Here is the text form the BOL (sql2000)
Information Schema Views
Microsoft® SQL Server™ 2000 provides two methods for obtaining meta
data: system stored procedures or information schema views.
Note To obtain meta data, use system stored procedures, system
functions, or these system-supplied views only. Querying the system
tables directly may not provide accurate information if system tables
are changed in future releases.
These views provide an internal, system table-independent view of the
SQL Server meta data. Information schema views allow applications to
work properly even though significant changes have been made to the
system tables. The information schema views included in SQL Server
conform to the SQL-92 Standard definition for the INFORMATION_SCH EMA.
SQL Server supports a three-part naming convention when referring to
the current server. The SQL-92 standard also supports a three-part
naming convention. However, the names used in both naming conventions
are different. These views are defined in a special schema named
INFORMATION_SCH EMA, which is contained in each database. Each
INFORMATION_SCH EMA view contains meta data for all data objects stored
in that particular database. This table describes the relationships
between the SQL Server names and the SQL-92-standard names.
SQL Server name Maps to this equivalent SQL-92 name
Database catalog
Owner schema
Object object
user-defined data type domain
This naming convention mapping applies to these SQL Server
SQL-92-compatible views. These views are defined in a special schema
named INFORMATION_SCH EMA, which is contained in each database. Each
INFORMATION_SCH EMA view contains meta data for all data objects stored
in that particular database This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Timothy Williams |
last post by:
I am trying to move a database created in ms sql7 Desktop on a win nt4
workstation, to a ms sql7 server on a win nt4 server. All service packs
are the same.
I have tried backing up the database and restoring to the sql7 server.
The restore aborts, because it recognizes the database is not from that
server. I have tried exporting, but everything does not get moved. I
have yet to try sp_detach db, I will try it this weekend.
I am...
|
by: Peter L.S. Trevor |
last post by:
I just got Visual Studio 6 Enterprise which includes SQL Server
7. However, when I try to install SQL7 (Standard Edition ?) on
Windows XP Home it only installs the client components and not
the server component. The install routine claims this is because
of the version of Windows I am using.
Now I know that IIS isn't supposed to be installable on Windows
XP Home but it is with a fairly straight forward hack, so what I
was...
|
by: John Gill |
last post by:
We are trying to import data from a sql 7 machine into sql 2000 using
import wizard in DTS. One of the tables has in excess of 80 million
rows.
The first time we did this it worked fine no problems. However we had
to recreate the database, and it has not worked since.
The error message is reported as ' the log file for 'dbname' is full'.
This happens regardless of the fact that there is 100GB free on disk,
and that the database data...
|
by: Nick |
last post by:
Im trying to access a sql200 database from a sql7 hosted stored
procedure and this is not working. I know that SQL7 is not compatible
with the MDAC for SQL 2000. Does anyone know if this is what is
causing me my problems and if so is it possible to upgrade the SQL7
MDAC without breaking it?
Thanks
|
by: Jeff |
last post by:
I have a SQL7 database that was installed as case-insensitive.
/* Sort Order = 52, Case-insensitive dictionary sort order. */
This database contains a table that has a varchar column which contains
data such as:
'JUDICIARY; EDUCATION; Subcommittee on Justice and Judiciary'
'Subcommittee on Justice and Judiciary; TRANSPORTATION'
'Subcommittee on Cities; JUDICIARY; TRANSPORTATION'
| |
by: PointMan |
last post by:
i make a project in vs2005 that use ASPNETDB.MDF
and use <asp:LoginView ID="LoginView1" runat="server" > server control for
vs2005
in this case , i'd like to use hosting service but this hosting company does
not support sql2005
that's why i have to use sql2000
so my quetion is how can i migration this for sql2000??
|
by: FAS |
last post by:
HOW can I create an SQL7 database by creating a file size and location first. I remember creating an SQL7 database by first creating a file size and location a while back. I am trying to do the same again, but can not remeber how I did it?
:(
|
by: FAS |
last post by:
My C: drive crashed, I have my SQL7 data and file in F: Drive. Now I have replaced my C: drive, but not able to reconnect SQL7 to the files in F drive.
Please can some one help?
:mad:
|
by: @sh |
last post by:
Guys, we want to use the Replication features (or something similar) to
backup our primary SQL database, the primary DB is using SQL 7 and our
secondary server is SQL 2000 - is this possible?
p.s. I know it would be more suited to use the SQL2000 server as the
primary, but thats a later plan...
Appreciate your help
Cheers, @sh
|
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...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |