MDF, ayuda

15/10/2004 - 20:57 por Montar un MDF | Informe spam
Agradecere ayuda para montar una base de datos solamente con el MDF.

Ya probe con:EXEC sp_attach_single_file_db @dbname = 'Base',
@physname = 'e:\Directorio\archivo.mdf' y me arroja el siguiente error

Server: Msg 945, Level 14, State 2, Line 1
Database 'GASATA' cannot be opened because some of the files could not be
activated.
Server: Msg 1813, Level 16, State 2, Line 1
Could not open new database 'GASATA'. CREATE DATABASE is aborted.

Gracias

Francisco Díaz
 

Leer las respuestas

#1 MAURICIO
15/10/2004 - 21:30 | Informe spam
Prueba con Sp_Attach_DB

EXITOS

Agradecere ayuda para montar una base de datos solamente


con el MDF.

Ya probe con:EXEC sp_attach_single_file_db @dbname


= 'Base',
@physname = 'e:\Directorio\archivo.mdf' y me arroja


el siguiente error

Server: Msg 945, Level 14, State 2, Line 1
Database 'GASATA' cannot be opened because some of the


files could not be
activated.
Server: Msg 1813, Level 16, State 2, Line 1
Could not open new database 'GASATA'. CREATE DATABASE is


aborted.

Gracias

Francisco Dà­az
.

Preguntas similares