Principales respuestas
Error al cargar base de datos en SQL Estrella 1

Pregunta
-
Saludos a todos!!!!
He estado tratando de cargar la base de datos de ejemplo que esta en los archivos que se descargan de la estrella 1, pero cuando ejecuto el .bat me da los siguientes errores; como hago para que funcione.....gracias!!!
C:\Documents and Settings\Moises\Escritorio\5Stars Developer\1st Star\Samples1\E
J1\db>mkdir c:\dce05
Ya existe el subdirectorio o el archivo c:\dce05.C:\Documents and Settings\Moises\Escritorio\5Stars Developer\1st Star\Samples1\E
J1\db>osql -S .\SQLEXPRESS -E -i "script_datos.sql"
1> 2> 3> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> Msg 1803, Level 16, State 1, Ser
ver MOISESHOME1\SQLEXPRESS, Line 2
CREATE DATABASE failed. Primary file must be at least 3 MB to accommodate a
copy of the model database.
1> 2> 3> Msg 911, Level 16, State 1, Server MOISESHOME1\SQLEXPRESS, Line 2
Could not locate entry in sysdatabases for database 'dce05_ejemplos_estrella1'.
No entry found with that name. Make sure that the name is entered correctly.
1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> Msg 2714,
Level 16, State 6, Server MOISESHOME1\SQLEXPRESS, Line 3
There is already an object named 'Productos' in the database.
1> 2> 3> 4> 5> (0 rows affected)
(0 rows affected)
(13 rows affected)
1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> Msg 1779, Level 16, S
tate 1, Server MOISESHOME1\SQLEXPRESS, Line 3
Table 'Productos' already has a primary key defined on it.
Msg 1750, Level 16, State 1, Server MOISESHOME1\SQLEXPRESS, Line 3
Could not create constraint. See previous errors.
1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> (1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
1>
C:\Documents and Settings\Moises\Escritorio\5Stars Developer\1st Star\Samples1\E
J1\db>pause
Presione una tecla para continuar . . .
Respuestas
-
Qué tal, en este vínculo encontrarás la solución a tu inconveniente:
http://forums.microsoft.com/msdn-es/ShowPost.aspx?PostID=843672&SiteID=11
Saludos!!
Todas las respuestas
-
Qué tal, en este vínculo encontrarás la solución a tu inconveniente:
http://forums.microsoft.com/msdn-es/ShowPost.aspx?PostID=843672&SiteID=11
Saludos!!
-
-
-
-
-
-
-