Top "Sql-server-2008-r2" questions

Use this tag for questions specific to the 2008 R2 version of Microsoft's SQL Server.

cross apply xml query performs exponentially worse as xml document grows

What I Have I have a variable size XML document that needs to be parsed on MSSQL 2008 R2 that looks …

sql-server performance sql-server-2008-r2 sqlxml cross-apply
SSRS IIF Syntax with Multiple Datasets

I have a report with 2 data sets and would like to perform a SUM operation in a textbox expression. The …

reporting-services sql-server-2008-r2 expression iif
sp_send_dbmail - formatting row in table as red for an alert

I'm using something similar to example C on this MSDN page: http://msdn.microsoft.com/en-us/library/ms190307.aspx DECLARE @…

html tsql sql-server-2008-r2 sp-send-dbmail
Latest recommendations for Import\Export of SQl Server bacpac files

I'm trying to get up and running with Windows Azure but finding the database side extremely frustrating. I need to …

sql sql-server-2008-r2 azure-sql-database bacpac
How to create setup file in visual studio 2010 with .log file

I want to create setup file for my project with all prerequisites like framework,sqlserver and .log file/db script. …

visual-studio-2010 c#-4.0 sql-server-2008-r2 visual-studio-setup-proje visual-studio-setup
define a computed column reference another table

I have two database tables, Team (ID, NAME, CITY, BOSS, TOTALPLAYER) and Player (ID, NAME, TEAMID, AGE), the relationship between …

sql-server-2008-r2 calculated-columns
Returning Output Paramters or Variables From SSIS Script Task / Script Component

Is it possible to return output parameters from a SSIS "Script Task" that has been called by a stored procedure …

ssis sql-server-2008-r2 xp-cmdshell
sql query to show results vertically

How to transform this: ID Name Description 1 Test1a TestDesc1a 1 Test1b TestDesc1b 2 Test2a TestDesc2a 2 Test2…

sql sql-server-2008-r2 pivot pivot-without-aggregate
SQL: select all rows if parameter is null, else only select matching rows

I have a variable coming into a stored procedure. This variable can either have a value or be null. If …

sql sql-server-2008-r2 isnull