09/01/2009, 09:56
|
| | Fecha de Ingreso: enero-2009
Mensajes: 3
Antigüedad: 15 años, 10 meses Puntos: 0 | |
Respuesta: Problema con instruccion sql Estoy utilizando SQL Server 2005.
A mi me dieron el script de la base de datos, y lo abri con el sql query analyzer y esto es una parte del script:
USE [Pruebas2]
/****** Object: User [yenic] Script Date: 12/22/2008 21:51:24 ******/
CREATE USER [yenic] WITHOUT LOGIN WITH DEFAULT_SCHEMA=[yenic]
/****** Object: User [xyenic] Script Date: 12/22/2008 21:51:24 ******/
CREATE USER [xyenic] WITHOUT LOGIN WITH DEFAULT_SCHEMA=[xyenic]
/****** Object: User [xsystem] Script Date: 12/22/2008 21:51:24 ******/
CREATE USER [xsystem] WITHOUT LOGIN WITH DEFAULT_SCHEMA=[xsystem]
/****** Object: User [xsrodri] Script Date: 12/22/2008 21:51:24 ******/
CREATE USER [xsrodri] WITHOUT LOGIN WITH DEFAULT_SCHEMA=[xsrodri]
y estos son los errores:
Server: Msg 156, Level 15, State 1, Line 6
Incorrect syntax near the keyword 'USER'.
Server: Msg 170, Level 15, State 1, Line 2
Line 2: Incorrect syntax near 'TYPE'.
Server: Msg 170, Level 15, State 1, Procedure RollbackTransactionSp, Line 4
Line 4: Incorrect syntax near 'TYPE'.
Server: Msg 170, Level 15, State 1, Procedure GetErrorMessageSp, Line 55
Line 55: Incorrect syntax near '('.
Server: Msg 170, Level 15, State 1, Procedure GetErrorMessageSp, Line 116
Line 116: Incorrect syntax near '('.
Server: Msg 156, Level 15, State 1, Procedure GetErrorMessageSp, Line 131
Incorrect syntax near the keyword 'VIEW'.
Server: Msg 170, Level 15, State 1, Procedure LeerUsuarioActual, Line 4
Line 4: Incorrect syntax near 'TYPE'. |