473,699 Members | 2,666 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Attach Database

Hallo allerseits

Ich habe diese Testversion Trial: DB2 Universal Database (DB2 UDB
Enterprise Server Edition
Version 8.2 auf einem Windows Server 2003 installiert, habe die Sample-DB
erstellt und kann darauf mit ODBC
zugreifen.

Nun möchte ich eine bestehende Datenbank, deren Version ich nicht genau
kenne, attachen. Wie mache ich das am besten?

Ich habe es bereits via Steuerzentrale -> Alle Datenbanken -> Datenbank
hinzufügen -> Suchen probiert, dort wird allerdings immer nur meine
Sample-DB gefunden.

Für Hinweise wäre ich sehr dankbar.

Beste Grüsse
Mario

Nov 12 '05 #1
2 2896
Hallo Mario,

das hier ist eine englischsprachi ge Gruppe. Mit Englisch kommst du hier
sicher viel weiter!

Mario Adelbrecht schrieb:
Hallo allerseits

Ich habe diese Testversion Trial: DB2 Universal Database (DB2 UDB
Enterprise Server Edition
Version 8.2 auf einem Windows Server 2003 installiert, habe die Sample-DB
erstellt und kann darauf mit ODBC
zugreifen.

Nun möchte ich eine bestehende Datenbank, deren Version ich nicht genau
kenne, attachen. Wie mache ich das am besten?


catalog tcpip node <nodename> remote <hostname> server <port>
where standard port is 50000. You can use a name, which must be in
services (don't know where in Windows, in UNIX it is /etc/services).

Then
catalog database <db name> at node <nodename>
connect to <db name> user <user> using <password>

HTH

Grüße,
--
Burkhard Schultheis
Tele Data Electronic, Wagnerstr. 10, D-76448 Durmersheim
Email: sc********@tde-online.de
Phone: +49 7245 9287-21
Nov 12 '05 #2
Burkhard Schultheis wrote:
Hallo Mario,

das hier ist eine englischsprachi ge Gruppe. Mit Englisch kommst du hier
sicher viel weiter!

Mario Adelbrecht schrieb:
Hallo allerseits

Ich habe diese Testversion Trial: DB2 Universal Database (DB2 UDB
Enterprise Server Edition
Version 8.2 auf einem Windows Server 2003 installiert, habe die Sample-DB
erstellt und kann darauf mit ODBC
zugreifen.

Nun möchte ich eine bestehende Datenbank, deren Version ich nicht genau
kenne, attachen. Wie mache ich das am besten?

catalog tcpip node <nodename> remote <hostname> server <port>
where standard port is 50000. You can use a name, which must be in
services (don't know where in Windows, in UNIX it is /etc/services).


c:\windows\syst em32\drivers\et c\services
or
c:\winnt\system 32\drivers\etc\ services

N. Shamsundar
University of Houston
Nov 12 '05 #3

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

Similar topics

1
4300
by: NF | last post by:
Hey gang, I've been trying to restore a DB from it's MDF and LDF all morning; the catch? The LDF appears to be corrupt. When I first started the SQL Server, the db in question was marked as "Suspect'. I did some research on this and it has caused me to attempt detaching, backing up, deleting the LDF, using ATTACH DB and even sp_attach_single_file_db, and sp_add_data_file_recover_suspect_db.
7
2753
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at below). Please help me get through this!!! I'm having some serious problems attaching a .mdf file and accessing it. I have a WroxUntied.mdf that I want to attach and then run the website that uses it. This is a .mdf file from wrox books. This file...
0
3790
by: Parv | last post by:
hi all can i attach a read only restored database. I restored a database Test in Stand by Mode. After that i detached that database and while restoring i m getting msg "Cannot attach a database that was being restored.". Is it o that i can not attach a readonly restored detached database ? Parveen Beniwal
2
2050
by: prajeeshv | last post by:
Hi Everyone, Have a nice day... I've a problem in SQL Server... I've detached my database from server. But I didn't remember the location of its .mdf (database) file. Now I'm unable to attach the database. Is there any way to locate the mdf file for a detached database, so I can attach it again... Any help on this will be appreciated... Thanks in Advance... Praji
1
8500
by: RP | last post by:
I am using SQL Server 2005 with C# 2005. I want to programmatically Detach a database, then copy its files from the data folder to another location and then Attach the database back. Can it be done using C# ? If yes, please illustrate.
4
3435
by: time management | last post by:
Here's the scoop, I got a generic-purpose database (in the form of *.mdb and *.ldf) from a 'reputable' source on the net. But when I attempted to attach it to my sql server 2000 with SP3 with EM, it failed complaining "Could not find row in sysindexes for database ID 10, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes." Then, I attempted to command line attach (thought it may have some option...), same outcome. Then, ran a...
0
2515
by: Lexxzy | last post by:
Hi to all, I've a problem about to attach a recovered database file in the enterprise manager. My problem goes this way, I want to attach a recovered database file. So when I followed this steps: 1.) Open enterprise manager. 2.) All task and then attach database.
0
1371
by: aboutjav.com | last post by:
Hi, How do I attach the .mdf and .ldf with the SQL Server Management Studio Express? Do I attached all 4 files? MyWebSiteName_log.LDF MyWebSiteName.mdf ASPNETDB.MDF aspnetdb_log.ldf
1
5601
by: ziycon | last post by:
I'm getting this error when i try to attach a DB:
9
7808
by: dpatel75 | last post by:
I am trying to copy a database from a SQL 2000 SP3 Windows 2000 server to a 2005 SP2 Windows 2003 server. I am trying to use detach and attach method (have tried both within Management Studio and T-SQL) and experience an error when attaching to the 2005 server: "CREATE FILE encountered operating system error 5 (error not found) while attempting to open or create the physical file 'xxxxxxxxxxxx' (Microsoft SQL Server, Error: 5123)" I have...
0
8704
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
8623
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,...
0
9054
jinu1996
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...
1
8940
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,...
1
6546
isladogs
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...
0
4637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3071
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
2362
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2015
bsmnconsultancy
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...

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.