Blog : "Cannot fetch a row using a bookmark from OLE DB provider 'OraOLEDB.Oracle' for linked server" I had this problem that any update statment using a linked server to oracle would give the above error message. After a lot of googleing I finally found this blog with the following solution: The statement that caused the error was: UPDATE [MyOraLinkedServer]..[XYZ].[TABLE]SET [DAT_COL] = cast (getdate() as smalldatetime) The destination table contained just one single row. The update should change the column DAT_COL to the current date and time. A solution for that problem is to use EXEC('...') AT MyOraLinkedServer instead of the UPDATE-statement I showed above: declare @NewValue smalldatetimeset @NewValue = cast(getdate() as smalldatetime) exec( 'update XYZ.TABLE set DAT_COL = ?', @NewValue ) at MyOraLinkedServer To make this possible you have to enable RPC on the linked server
> ********** VERSION EN ESPAÑOL************ UN MILLON DE VOCES CONTRA LAS FARC Necesitamos hacer escuchar nuestra voz. No callemos más, que todo el mundo nos escuche; que cada guerrillero y guerrillera nos escuche: Repudiamos a las FARC - EP (Fuerzas Armadas Revolucionarias de Colombia - Ejército del Pueblo). NO queremos más lucha armada. Las FARC una vez mas nos han engañado, negándose a entregar a los secuestrados que tienen en su poder, y acudiendo a toda clase de engaños y evasivas. El secuestro es el peor de los atentados contra la dignidad humana que se puedan cometer, y las FARC han mantenido privadas de la libertad a mas de 3000 personas durante muchos años, mientras se dedican a delinquir y a aumentar su negocio del narcotráfico y terrorismo, trayendo pobreza y miseria a nuestra patria, que ha sufrido por mas de 40 años esta plaga y esta tragedia humanitaria. Colombia, Colombianos, y amigos en todo el mundo, gritemos unidos: NO MAS! NO MAS SECUESTROS! NO MAS MENTIRAS! NO
Comments