Posts

Showing posts from May, 2010

Best Practices for SQL Server in the cloud

The SQLCAT team and the SQL Azure team have been working closely together with a number of interesting customers and have captured a number of great learnings in these best practice documents and can be downloaded from:   SQL Azure vs. SQL Server http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=86f12b41-1eba-4567-9ac8-02eaa7d12034   Microsoft SQL Azure FAQ http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ffc9536c-c548-453a-92b8-c6614c63a26e   Regards,   Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.com http://mswindowscr.org/blogs/sql/default.aspx http://citicr.

Introduction to SQL Server Stream Insight

In this presentation we review the basics about SQL Server Stream Insight.   SQL Server 2008 R2 StreamInsight View more presentations from Eduardo Castro . Regards,     Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.com http://mswindowscr.org/blogs/sql/default.aspx http://citicr.org/blogs/noticias/default.aspx http://sqlserverpedia.blogspot.com/ Note: Cross posted from Eduardo Castro . Permalink

Webcast MSDN: "¡Petabytes para Peanuts! Tiene Sentido Datos Fuera de "Ambiente""

Este el webcast impartido el 21 mayo sobre SQL Server Stream Insight https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032443837&Culture=es-AR   Idiomas: Español. Productos: Windows Azure. Audiencia(s): Programador/desarrollador de programas. Duración: 60 Minutos Información general del Evento Hoy en día, la llave para tener éxito con datos ya no es sobre cómo puede pagar para adquirir, almacenar y procesar datos en forma efectiva. Esa es la parte económica y fácil. El reto ahora es desarrollar formas para utilizar mejor datos que su competencia para que pueda tener sentido todos los datos que tiene. Aprenda cómo el procesamiento algorítmico, a una escala modesta y extrema, esta cambiando completamente la forma en cómo creamos sistemas de información. Escuche cómo Microsoft está tratando como este cambio y utiliza estos conceptos emergentes en sus servicios en línea. También vea ejemplos de cómo parte de esta tecnología está comenzando a aparecer en la corriente de p

SQL Server 2008 R2 Training Kit

If you want to start working with the new features in SQL Server 2008 R2, you need to download the SQL Server 2008 R2 Update for Developers Training Kit, is avaiable at http://www.microsoft.com/downloads/details.aspx?familyid=FFFAAD6A-0153-4D41-B289-A3ED1D637C0D&displaylang=en The training kit offers the following benefits: Learn how to build applications that exploit the unique features and capabilities of SQL Server 2008 and SQL Server 2008 R2. Provides a comprehensive set of videos, presentations, demos and hands-on labs Contains new content for developers who are new to SQL Server. Contains new content for SQL Server 2008 R2. Contains all of the existing content from the SQL Server 2008 Developer Training Kit. Easy to download and install.   Contents The training kit includes the following content: Presentations (22) SQL Server 2008 R2 Update for Developers Overview Part I - SQL Server 2008 Review SQL Server 2008 R2 Update for Developers Overview Part II - Introdu

Access SQL Server with WCF Kerberos and allow double hop impersonation

If you need to access SQL Server from a WCF Service using kerberos (in order to pass credentials and enable impersonation), first you need to configure SQL Server to run with an Domain Account, set the SQL Computer and the user account to be trusted for delegation in the Active Directory, and you must run the setspn commands:   setspn –a MSSQLServer/machinename Domain\ServiceUserName setspn –a MSSQLServer/machinenameFQDN Domain\ServiceUserName setspn –a MSSQLServer/machinename:1433 Domain\ServiceUserName setspn –a MSSQLServer/machinenameFQDN:1433 Domain\ServiceUserName   A sample code of the WCF Service can be as follows:     public class MyWCFService: ServiceBase     {         private ServiceHost serviceHost = null ;           protected override void OnStart( string [] args)         {             if (serviceHost != null )             {                 serviceHost.Close();             }               serviceHost = new ServiceHost( typeof (MyWCFService));

Bases de datos SQL Azure Bajo el Toldo

En este video vemos la arquitectura de SQL Azure y el funcionamiento interno de su infraestructura de aprovisionamiento y manejo de seguridad.   SQL Azure Bajo el toldo from Eduardo Castro on Vimeo .   Saludos, Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.com http://mswindowscr.org/blogs/sql/default.aspx http://citicr.org/blogs/noticias/default.aspx http://sqlserverpedia.blogspot.com/ Note: Cross posted from Eduardo Castro . Permalink

Introduccion a SQL Azure Bases de datos en la nube

En este video vemos una introducción a las bases de datos en la nube con SQL Azure.   Introduccion a SQL Azure Bases de datos en la nube from Eduardo Castro on Vimeo .     Saludos, Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.com http://mswindowscr.org/blogs/sql/default.aspx http://citicr.org/blogs/noticias/default.aspx http://sqlserverpedia.blogspot.com/ Note: Cross posted from Eduardo Castro . Permalink

SQL Azure Database Under the Hood

In this presentation we review the SQL Azure architecture, provisioning process and security fundamentals.   SQL under the hood View more presentations from Eduardo Castro . Regards, Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.com http://mswindowscr.org/blogs/sql/default.aspx http://citicr.org/blogs/noticias/default.aspx http://sqlserverpedia.blogspot.com/ Note: Cross posted from Eduardo Castro . Permalink

Webcast MSDN: "SQL Azure Database: Bajo el Toldo"

Estaré impartiendo este webcast sobre SQL Azure: bases de datos en la nube. http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032443830&Culture=es-AR   Idiomas: Español. Productos: Windows Azure. Audiencia(s): Programador/desarrollador de programas. Duración: 60 Minutos Fecha de Inicio: miércoles, 12 de mayo de 2010 12:00 a.m. Bogotá Información general del Evento SQL Azure Database es un servicio de base de datos relacional altamente disponible y seguro que ofrece a los clientes una interfaz de provisión libre de fricción mientras mantiene un modelo de programación compatible con SQL Server. Esta sesión se enfocará en la tecnologías subyacentes de SQL Azure para que pueda entender cómo aprovechar mejor la bases de datos SQL Azure.   Saludos, Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecast

Podcast sobre Instalación de SQL Server 2008

Image
En este podcast analizamos los factores a considerar durante una instalación de SQL Server 2008 o SQL Server 2008 R2.   Listen now or go to http://ecastrom.podbean.com/2010/05/10/instalacion-de-sql-server-2008/ Powered by Podbean.com   Standard Podcasts: Play in Popup | Download   También lo pueden descargar desde http://cid-bf30da8b3fc2e667.skydrive.live.com/self.aspx/Comunidad%20Windows%20Costa%20Rica/Pod%20Cast%20SQL%20Server/InstaSQL2008.mp3   Saludos, Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.com http://mswindowscr.org/blogs/sql/default.aspx http://citicr.org/blogs/noticias/default.aspx http://s

Podcast de Introducción a SQL Azure

En este podcast http://podcast.com/show/217514/ hacemos una introducción a las bases de datos en la nube con SQL Azure. Puedes descargarlo desde esta dirección http://cid-bf30da8b3fc2e667.skydrive.live.com/self.aspx/Comunidad%20Windows%20Costa%20Rica/WebCast/IntroSQLAzure.mp3   Saludos, Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.com http://mswindowscr.org/blogs/sql/default.aspx http://citicr.org/blogs/noticias/default.aspx http://sqlserverpedia.blogspot.com/ Note: Cross posted from Eduardo Castro . Permalink

Podcast de Introducción a SQL Azure

En este podcast http://podcast.com/show/217514/ hacemos una introducción a las bases de datos en la nube con SQL Azure. Puedes descargarlo desde esta dirección http://www.simsasys.com/IntroSQLAzure.mp3   Saludos, Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.com http://mswindowscr.org/blogs/sql/default.aspx http://citicr.org/blogs/noticias/default.aspx http://sqlserverpedia.blogspot.com/

Error en SQL Server Reporting Services configurado para Team Foundation Server 2010

Si está instalando SQL Server Reporting Services 2008 R2 para que sea utilizado por TFS 2010, podría encontrar este error: TFxxxxxx: SQL Server Reporting Services is configured to require a secure connection, however no HTTPS URL is configured with a valid certificate Si desea utilizar certificados, lo cual es recomendando, proceda con su configuración. Si por el contrario no desea utilizar SSL, entonces siga estos pasos para evitar este mensaje de error:   Remueva los SSL bindings del servidor de reportes utilizando el Reporting Services Configuration Manager Vaya al directorio  MSRS10.MSSQLSERVER\Reporting Services\ReportServer, abra el archivo rsreportserver.config y busque la entrada SecureConnectionLevel y cambie el valor por 0 Ahora puede volver a ejecutar la instalación y deberá proceder sin problemas.   Saludos,   Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Tech

Error en SQL Server Reporting Services configurado para Team Foundation Server 2010

Si está instalando SQL Server Reporting Services 2008 R2 para que sea utilizado por TFS 2010, podría encontrar este error: TFxxxxxx: SQL Server Reporting Services is configured to require a secure connection, however no HTTPS URL is configured with a valid certificate Si desea utilizar certificados, lo cual es recomendando, proceda con su configuración. Si por el contrario no desea utilizar SSL, entonces siga estos pasos para evitar este mensaje de error:   Remueva los SSL bindings del servidor de reportes utilizando el Reporting Services Configuration Manager Vaya al directorio  MSRS10.MSSQLSERVER\Reporting Services\ReportServer, abra el archivo rsreportserver.config y busque la entrada SecureConnectionLevel y cambie el valor por 0 Ahora puede volver a ejecutar la instalación y deberá proceder sin problemas.   Saludos,   Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server L

Error on SQL Server Reporting Services for Team Foundation Server 2010

If you are installing a Reporting Services 2008R2 instance that is going to be used as report repository for TFS 2010, you may find this error: TFxxxxxx: SQL Server Reporting Services is configured to require a secure connection, however no HTTPS URL is configured with a valid certificate If you want to use certificates, just request a new one an configure it, but if you don’t want to use SSL you can follow these steps to get over this error:   First remove the SSL binding from the report server using the Reporting Services Configuration Manager Navigate to your report server folder (by default MSRS10.MSSQLSERVER\Reporting Services\ReportServer), open the rsreportserver.config file and locate the entry named SecureConnectionLevel and set its value to 0 Now you can run the configuration checker and the error will be gone.   Regards,   Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQ

Introduction to SQL Azure: database in the cloud

In this presentation we introduce the basic SQL Azure concepts. SQL Azure the database in the cloud View more presentations from Eduardo Castro . Regards,   Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.com http://mswindowscr.org/blogs/sql/default.aspx http://citicr.org/blogs/noticias/default.aspx http://sqlserverpedia.blogspot.com/ Note: Cross posted from Eduardo Castro . Permalink

Error al instalar SQL 2008 SP1 en Windows 7 o Windows 2008 R2

Si se presenta el siguiente error cuando se está instalando el SQL 2008 SP1 en Windows 7 o Windows 2008 R2   Invoke or BeginInvoke cannot be called on a control until the window handle has been created   Este es un problema ya conocido y usted tiene dos opciones: 1. Volver a ejecutar el instalador del SP1 y debería instalarse sin ningún problema 2. El instalador crea un directorio temporal C:\{GUID} usted puede copiar ese directorio (contiene el setup.exe y los archivos del SP1) en el escritorio u otro directorio temporal y ejecutar el instalador desde ahí.     Saludos, Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.c

Error installing SQL 2008 SP1 in Windows 7 or Windows 2008 R2

If you receive the following error when installing SQL 2008 SP1 in Windows 7 or Windows 2008 R2   Invoke or BeginInvoke cannot be called on a control until the window handle has been created   This is a known issue with the installer and you have two options: 1. Rerun the service pack and you should be able to install it 2. The installer creates a directory  C:\{GUID} you can copy that folder (that contains setup.exe and the supporting files) to your desktop or a temporary folder and then install the service pack.   Regards,   Saludos, Ing. Eduardo Castro Martínez, PhD – Microsoft SQL Server MVP http://mswindowscr.org http://comunidadwindows.org Costa Rica Technorati Tags: SQL Server LiveJournal Tags: SQL Server del.icio.us Tags: SQL Server http://ecastrom.blogspot.com http://ecastrom.wordpress.com http://ecastrom.spaces.live.com http://universosql.blogspot.com http://todosobresql.blogspot.com http://todosobresqlserver.wordpress.com http://mswindowscr.org/blogs/s

Problemas con las DMV de Indices

Image
Deseo compartir con ustedes este excelente artículo publicado por Paul Randall, http://www.sqlskills.com/BLOGS/PAUL/post/Missing-index-DMVs-bug-that-could-cost-your-sanity.aspx Existe un detalle con las DMV de índices no existentes que podría causarle muchos problemas cuando está analizando consultas con el plan de ejecución. Este es el problema: el código de índice faltante podría recomendar un índice non clustered que ya existe, una y otra vez. Además podría recomendar un índice que no ayuda en la consulta. Este caso ya ha sido reportado  ( Connect item #416197 ) y será corregido en SQL11 pero no en versiones anteriores. Este es un ejemplo utilizando SQL Server 2008 SP1. Estos son los pasos para reproducirlo: CREATE TABLE t1 (     c1 INT IDENTITY,     c2 AS c1 * 2,     c3 AS c1 + c1,     c4 CHAR (3000) DEFAULT 'a'); GO CREATE UNIQUE CLUSTERED INDEX t1_clus ON t1 (c1); GO SET NOCOUNT ON; GO INSERT INTO t1 DEFAULT VALUES; GO 100000 Esto crea una tabla con muchas filas, y

Missing index DMVs bug that could cost your sanity

Image
Just want to share with you this excelent post from Paul Randall, http://www.sqlskills.com/BLOGS/PAUL/post/Missing-index-DMVs-bug-that-could-cost-your-sanity.aspx   Here's yet another reason to be very careful when using the missing index DMVs... There's a bug in the missing index DMVs that could end up causing you to knock your head against a brick wall and question your sanity. I know I did. The bug is this: the missing index code may recommend a nonclustered index that already exists. Over and over again. It might also recommend an index that won't actually help a query. Yes, I'm surprised by this too - as the missing index code is in the query optimizer too. However, it will continue to recommend you create the already-existing index - which is terribly annoying. This is a little-known bug ( Connect item #416197 ) which is fixed in SQL11 but won't be fixed in earlier versions. I experienced this on SQL Server 2008 SP1 this weekend and I wanted to blog abou