Viewing 15 posts - 6,376 through 6,390 (of 8,761 total)
Jeff Moden (12/30/2014)
Eirikur Eiriksson (12/30/2014)
December 31, 2014 at 8:41 am
Michael Meierruth (12/30/2014)
I guess when you need to execute something only once and it takes 900 miliseconds you give it no further thought.
Still, getting anything...
December 31, 2014 at 8:34 am
Quick and slightly hurried example of how to achieve this, mind you it's not a complete solution but should be enough to get you passed this hurdle. (Some) Comments in...
December 31, 2014 at 8:12 am
Quick suggestion, should be enough to get you passed this hurdle
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.myTable') IS NOT NULL DROP TABLE dbo.myTable;
GO
CREATE TABLE dbo.myTable
(
MT_ID INT...
December 30, 2014 at 7:29 am
TomThomson (12/29/2014)
Eirikur Eiriksson (12/29/2014)
TomThomson (12/28/2014)
Nollaig chrìdheil agus bliadhna mhath ùr
Nollaig faoi shéan agus ath-bhliain faoi shonas
Nollick ghennal as blein vie noa
Bonan Kristnaskon...
December 30, 2014 at 5:27 am
Jeff Moden (12/28/2014)
Eirikur Eiriksson (12/27/2014)
OPERATION ...
December 30, 2014 at 12:42 am
mahi123 (12/30/2014)
Thanks for yours reply,I tried ISNULL parameter as per concatenation but still I am getting 0 Result set, means only execute and given that columns headers
That's because of...
December 30, 2014 at 12:28 am
Quite few ways of doing this, here are two quick solutions
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.TBL_SAMPLE_A') IS NOT NULL DROP TABLE dbo.TBL_SAMPLE_A;
CREATE TABLE dbo.TBL_SAMPLE_A
(
COL_A INT...
December 29, 2014 at 11:12 pm
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
Viewing 15 posts - 6,376 through 6,390 (of 8,761 total)