Eduardo's profileEduardo CastroPhotosBlogListsMore Tools Help

Eduardo Castro

Eduardo Castro

Occupation
Location
Interests
No list items have been added yet.

Blog

Loading...Loading...
There are no music lists on this space.
No list items have been added yet.
Photo 1 of 130
No list items have been added yet.

Custom HTML

July 03

Cómo agregar a un usuario como sysadmin en SQL Server de forma forzada

Si por algún motivo no puedes tener acceso a una instancia de SQL Server 2005 o 2008 y tienes una cuenta que es administrador local del equipo puedes seguir los siguientes pasos para agregarlo al rol de sysadmin

1. Detenga el servicio de SQL Server

2. Habra un command prompt y vaya al directorio

 SQLInstall\Microsoft SQL Server\MSSQL.X\MSSQL\Binn

3. Inicie SQL Server, si es una instancia nombrada ejecute sqlservr.exe -sNombreInstancia -m –c

Si es la instancia por default ejecute

sqlservr.exe -m –c

4. Abra otro command prompt y digite

sqlcmd -SComputerName\NombreInstancia

o lo siguiente es la instancia por default

sqlcmd –SComputerName

5. Ejecute el siguiente comando

sp_addsrvrolemember '<Login>', 'sysadmin'
GO

 

6.Cierre todas las ventanas y reincie SQL Server.

Saludos,

Eduardo Castro – Microsoft SQL Server

http://comunidadwindows.org

Costa Rica

Technorati Tags: SQL Server

LiveJournal Tags: SQL Server

del.icio.us Tags: SQL Server

June 25

KPI creados en cubos de SQL Server muestran etiqueta ERROR en Performance Point

Si se crea un KPI con MDX en un cubo de SQL Server, cuando dicha información se despliega en Performance Point Server 2007, en lugar del valor del KPI se muestra una etiqueta que dice ERROR para las columnas de value y goal tal y como se muestra en la siguiente figura:

image

PAra solucionarlo primero es recomendable instalar el SP2 de Performance Point, más detalles en http://office.microsoft.com/download/afile.aspx?AssetID=AM103381121033, además se debe verificar que el Application Pool del SharePoint y el application pool del Monitoring Server están configurados adecuadamente. Para más detalles consultar http://technet.microsoft.com/en-us/library/bb905547.aspx

 

Saludos,

Eduardo Castro – Microsoft SQL Server

http://comunidadwindows.org

Costa Rica

Technorati Tags: SQL Server

LiveJournal Tags: SQL Server

del.icio.us Tags: SQL Server

June 24

SQL Server en Windows Server 2003 Enterprise 32bits con 32GB de RAM

Si desea configurar un servidor de SQL Server en 32 bits y desea que el sistema operativo reconozca 32GB de RAM, puede tomar en cuenta las siguientes consideraciones.

Si usted desea mantener el sistema operativo en 32 bits, entonces su opción es tener Windows 2003 Enterprise configurado con PAE. Consulte lo siguiente:

PAE Mode http://www.microsoft.com/whdc/system/platform/server/PAE/pae_os.mspx
PAE is the second method supported to access memory above 4 GB; this method has been widely implemented. PAE maps up to 64 GB of physical memory into a 32-bit (4 GB) virtual address space using either 4-KB or 2-MB pages. The Page directories and the page tables are extended to 8 byte formats, allowing the extension of the base addresses of page tables and page frames to 24 bits (from 20 bits). This is where the extra four bits are introduced to complete the 36-bit physical address.

Windows supports PAE with 4-KB pages. PAE also supports a mode where 2-MB pages are supported. Many of the UNIX operating systems rely on the 2 MB-page mode. The address translation is done without the use of page tables (the PDE supplies the page frame address directly).

Para configurar PAE en Windows 2003 puede consultar este artículo http://msdn.microsoft.com/en-us/library/ms791485.aspx

Este es un ejemplo de cómo configurar PAE en Windows 2003

Primer Boot.ini:

[boot loader]

timeout=0

default=multi(0)disk(0)rdisk(0)partition(1)\WINNT

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINNT=” Windows Server 2003, Enterprise” /fastdetect

Cambie el Boot.ini de la siguiente forma:

[boot loader]

timeout=0

default=multi(0)disk(0)rdisk(0)partition(1)\WINNT

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINNT=” Windows Server 2003, Enterprise” /fastdetect /PAE

Si lo desea realizar por medio del commando Bootcfg utilice lo siguiente:

bootcfg /raw "/pae" /A /ID 1

 

Saludos,

Eduardo Castro – Microsoft SQL Server

http://comunidadwindows.org

Costa Rica

Technorati Tags: SQL Server

LiveJournal Tags: SQL Server

del.icio.us Tags: SQL Server

June 22

Guía de consolidación para SQL Server

HP ha publicado una guía sobre recomendaciones para realizar consolidación de servidores SQL Server, los escenarios cubiertos en esa guía son los siguientes:

  • Consolidar múltiples bases de datos dentro un único servidor
  • Consolidar varias instancias de SQL Server en menos servidores físicos
  • Consolidar SQL Server por medio de la virtualización

La guía la pueden bajar de la siguiente dirección

http://windowsitpro.com/essential/index.cfm?fuseaction=show&guid=4a8c98eb-a186-49b1-ab69-cf52f0307c2b&code=EPDedHPBladesEG01_062209

Download Now

 

Saludos,

Eduardo Castro – Microsoft SQL Server

http://comunidadwindows.org

Costa Rica

Technorati Tags: SQL Server

LiveJournal Tags: SQL Server

del.icio.us Tags: SQL Server

June 18

Videos para aprender sobre SQL Server

En esta dirección http://www.jumpstarttv.com/ podrán encontrar una serie de videos para aprender sobre SQL Server.

SQL Server Authentication Modes  

SQL Server Authentication Modes

Date Featured: June 18, 2009

Author: Brian Kelley

Length: 3 Minutes 27 Seconds

Rating: 3.91

Description: Do you know your options for logging in (authenticating) to a SQL Server? Brian discusses the options and in later videos dig...

Using the File System Task in SSIS   

Using the File System Task in SSIS

Date Featured: December 01, 2008

Author: Brian Knight

Length: 4 Minutes 6 Seconds

Rating: 4.30

Description: This video by MVP Brian Knight shows you how to use a File System Task in SSIS to rename, move or delete a file.

 

Saludos,

Eduardo Castro – Microsoft SQL Server

http://comunidadwindows.org

Costa Rica

Technorati Tags: SQL Server

LiveJournal Tags: SQL Server

del.icio.us Tags: SQL Server