Regenerar Base de Datos

25/06/2009 - 18:33 por Rodrigo | Informe spam
Person por insistir tanto, pero he cambiado la pregunta para ver si existe
otra alternativa a mi pregunta anterior.

¿ Es posible regenerar una base de datos a partir solamente del archivo
base.mdf ?

Habra algun software que me regenere las tablas o el contenido del archivo
.mdf para anviarselo a SQL Server 2000

El archivo base.mdf fue creado en SQL Server 2000

Gracias por la paciencia.
 

Leer las respuestas

#1 Ele
25/06/2009 - 19:57 | Informe spam
checa la siguiente instruccion. este ejemplo sube el archivo a una base de
datos con status detached si aun no la tienes: 1.- tienes que crear la base
de datos (con el mismo nombre del archivo) 2.- seleccionar la opcion detach
para que este libre del archivo mdf 3.- sustituir el archivo( ponerle el
mismo nombre) que se genero por default cuando creaste la bd (paso 1) 4.-
attach
To attach a database
1.. In SQL Server Management Studio Object Explorer, connect to an
instance of the Microsoft SQL Server Database Engine and then expand that
instance.

2.. Right-click Databases, point to Tasks, and then click Attach. The
Attach Databases dialog box appears.

3.. To specify the database to be attached, click Add, and in the Locate
Database Files dialog box, select the disk drive where the database resides
and expand the directory tree to find and select the .mdf file of the
database; for example:

C:\Program Files\Microsoft SQL
Server\MSSQL.1\MSSQL\DATA\AdventureWorks_Data.mdf

Important:
This example assumes that the AdventureWorks database has previously
been detached. For information on detaching a database, see How to: Detach a
Database (SQL Server Management Studio).


4.. Optionally, to specify a different name for the database to attach as,
enter the name in the Attach as column of the Attach Databases dialog box.

5.. Optionally, change the owner of the database by selecting a different
entry in the Owner column.

6.. When you are ready to attach the database, click OK.

Note:
A newly attached database is not displayed in the Databases node of
Object Explorer until the view is refreshed. To refresh the view at any
time, click in Object Explorer, and then click Refresh on the View menu.


"Rodrigo" escribió en el mensaje
news:
Person por insistir tanto, pero he cambiado la pregunta para ver si existe
otra alternativa a mi pregunta anterior.

¿ Es posible regenerar una base de datos a partir solamente del archivo
base.mdf ?

Habra algun software que me regenere las tablas o el contenido del archivo
.mdf para anviarselo a SQL Server 2000

El archivo base.mdf fue creado en SQL Server 2000

Gracias por la paciencia.




begin 666 collapse.gif
M1TE&.#EA"0`)`)$``/?W_X2"A ```````"'Y! ``````+ `````)``D```(1
3C(^@"\; 6#MEEO&A'Q0`.P``
`
end

begin 666 note.gif
M1TE&.#EA"@`*`+,)`/\$`/]=6L;#QM;3UO_/`(2&A(R.C ```/__SO___P``
M`````````````````````"'Y! $```D`+ `````*``H```0HT,@Y1 `&Z7T(
AWEIW)!E'C.16G$.2(L-1((5;%+HH>@,.B*```[
`
end

Preguntas similares