Posts

Showing posts from September, 2009

Dedicated Administrator Connection in SQL Server

Dedicated Administrator Connection in SQL Server : "Enabling the Remote Dedicated Administrator Connection" USE masterGOsp_configure 'show advanced options', '1' GO RECONFIGURE WITH OVERRIDE GO /* 0 = Allow Local Connection, 1 = Allow Remote Connections*/ sp_configure 'remote admin connections', '1' GO RECONFIGURE WITH OVERRIDE GO

:-) El mejor amigo del hombre

Image

:-) A proposito de Colombianadas... Así es Venezuela..Venezolanadas!!!

Image

Cannot fetch a row using a bookmark from OLE DB provider 'OraOLEDB.Oracle

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

:-) La EX

Mi mujer y yo estábamos sentados a la mesa en la reunión de mis ex compañeros de colegio Yo contemplaba a una mujer sentada en una mesa vecina, totalmente borracha que se mecía con su bebida en la mano Mi mujer me preguntó: - ¿La conoces? - Sí - suspiré - es mi ex-novia, supe que se dedico a la bebida cuando nos separamos hace muchos años y me dijeron que nunca más estuvo sobria - ¡Dios mío! - exclamó mi mujer ¡Quién diría que una persona puede celebrar durante tanto tiempo! MORALEJA: Siempre hay dos maneras de ver las cosas...

:-O y quién se baja a cambiar la llanta....?

Image