Viewing 15 posts - 6,376 through 6,390 (of 8,753 total)
Quick thought, passing NULL to the @AgentUserID parameter will set the dynamic pivot statement concatenation to NULL, consider this example
😎
DECLARE @PARAM_NULL VARCHAR(8) = NULL;
/* NULL concatenation */
SELECT 'A STRING CONCAT...
December 29, 2014 at 10:55 pm
Quick thought, the property_id values are the same in both sets and therefore it will never hit the NOT MATCHED clause. To fix this, add another column to the criteria.
😎
MERGE...
December 29, 2014 at 10:39 pm
d.carpenter (12/29/2014)
Found the blog post I was after.http://thomaslarock.com/2012/09/does-this-datatype-make-my-column-look-fat/
Quick question, which edition of SQL Server are you using? Reason for asking is that if you are using the Enterprise edition,...
December 29, 2014 at 1:02 pm
dwain.c (12/28/2014)
I've been extremely busy of late so have been...
December 29, 2014 at 12:59 pm
david.gugg (12/29/2014)
DECLARE @OUTPUT VARCHAR(max);
SELECT @Output = @Output + SPECIFIC_SCHEMA + '.' + SPECIFIC_NAME + Char(13) +...
December 29, 2014 at 10:07 am
d.carpenter (12/29/2014)
I know...
December 29, 2014 at 7:13 am
Jeff Moden (12/28/2014)
Eirikur Eiriksson (12/27/2014)
Just brilliant as always Jeff, Chapeau!Quick modification, mainly dropping the ISNULL as the set will not contain any nulls
😎
Thanks, Eirikur. You're the consummate Gentleman and...
December 29, 2014 at 12:55 am
TomThomson (12/28/2014)
Eirikur Eiriksson (12/26/2014)
Merry Christmas and a happy new year!
Buon Natale e felice anno nuovo!
Frohe weihnachten und ein gutes neues jahr!
Glædelig jul og godt nytår
God...
December 29, 2014 at 12:45 am
Kannan Vignesh (12/28/2014)
Nolock doesn't allows to table get lock.
Are you experiencing locking or any other problems and that is why you are using NOLOCK? Or are you using it...
December 28, 2014 at 11:45 pm
Quick suggestion, use the sp_describe_first_result_set (or the equal tvfn) to bring back the details of a result set, see the demo code below, should be enough to get you passed...
December 28, 2014 at 12:13 pm
Just brilliant as always Jeff, Chapeau!
Quick modification, mainly dropping the ISNULL as the set will not contain any nulls
😎
Run results
OPERATION ...
December 27, 2014 at 11:24 pm
Quick(er) suggestion, simplifying the query and loosing the sort required by the parallel execution plan
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @INT_BUCKET INT = 0;
DECLARE...
December 27, 2014 at 9:48 pm
SQLalchemy (12/26/2014)
December 27, 2014 at 3:22 am
Jeff Moden (12/26/2014)
Luis Cazares (12/26/2014)
I wish that you can enjoy quality time with your families and beloved ones and may the new year bring you happiness and...
December 26, 2014 at 2:09 pm
Viewing 15 posts - 6,376 through 6,390 (of 8,753 total)