ayuda con openrowset

01/10/2003 - 20:30 por ~Claudio Rios~ | Informe spam
estoy tratando de utilizar en SQL Server 2000 la siguiente:

UPDATE OPENROWSET('SQLOLEDB','servidor';'sa';,'SELECT * FROM
basedatos.dbo.tabla')
SET Data = 0
WHERE Tag = 'DRC20FV1926FW'

pero me da el siguiente error:

Server: Msg 7320, Level 16, State 2, Line 2
Could not execute query against OLE DB provider 'SQLOLEDB'. The provider
could not support a required row lookup interface. The provider indicates
that conflicts occurred with other properties or requirements.
[OLE/DB provider returned message: Multiple-step OLE DB operation generated
errors. Check each OLE DB status value, if available. No work was done.]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ICommandText::Execute
returned 0x80040e21: SELECT * FROM SC1.dbo.tMCS[PROPIDÛPROP_IRowsetLocate
VALUE=True STATUSÛPROPSTATUS_CONFLICTING], [PROPIDÛPROP_BOOKMARKS
VALUE=True STATUSÛPROPSTATUS_CONFLICTING]].



Alguien puede ayudarme porfavor.?
 

Leer las respuestas

#1 Scott
02/10/2003 - 00:34 | Informe spam
Hola Claudio me parece que tu error esta en tu consulta te muestro un dato
SELECT * FROM Servidor.DataBase.dbo.Employees

*

Para las referencias poco frecuentes a un origen de datos, se especifica la
función OPENROWSET con la información necesaria para conectar con el
servidor vinculado. En las instrucciones Transact-SQL, se puede hacer
referencia al conjunto de filas del mismo modo que a una tabla:

SELECT *

FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',

'c:\MSOffice\Access\Samples\Northwind.mdb';'Admin';'';

Employees)

pruebalo y me avisas

"~Claudio Rios~" escribió en el mensaje
news:uvU$
estoy tratando de utilizar en SQL Server 2000 la siguiente:

UPDATE OPENROWSET('SQLOLEDB','servidor';'sa';,'SELECT * FROM
basedatos.dbo.tabla')
SET Data = 0
WHERE Tag = 'DRC20FV1926FW'

pero me da el siguiente error:

Server: Msg 7320, Level 16, State 2, Line 2
Could not execute query against OLE DB provider 'SQLOLEDB'. The provider
could not support a required row lookup interface. The provider indicates
that conflicts occurred with other properties or requirements.
[OLE/DB provider returned message: Multiple-step OLE DB operation


generated
errors. Check each OLE DB status value, if available. No work was done.]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ICommandText::Execute
returned 0x80040e21: SELECT * FROM


SC1.dbo.tMCS[PROPIDÛPROP_IRowsetLocate
VALUE=True STATUSÛPROPSTATUS_CONFLICTING], [PROPIDÛPROP_BOOKMARKS
VALUE=True STATUSÛPROPSTATUS_CONFLICTING]].



Alguien puede ayudarme porfavor.?




Preguntas similares