Viewing 15 posts - 991 through 1,005 (of 6,036 total)
ben.brugman (1/6/2017)
Jason A. Long (1/5/2017)
If I'm understanding correctly, the objection is that the "obliterated" rows are displaying the "MaxPrevEnd" values in the NewBeg & NewEnd columns, rather than the original...
_____________
Code for TallyGenerator
January 10, 2017 at 8:11 pm
KGJ-Dev (1/9/2017)
thanks for the reply and i would like to put my requirement in detail. please note i have updated my sample on the first post.
select * from...
_____________
Code for TallyGenerator
January 10, 2017 at 6:29 pm
MMartin1 (1/9/2017)
You forgot the NOT.
SELECT CASE WHEN NULL IS NOT NULL THEN NULL ELSE NULL END;
How about
SELECT CASE WHEN NULL IS NOT NULL THEN NOT NULL ELSE NULL END
?
same...
_____________
Code for TallyGenerator
January 9, 2017 at 10:11 pm
Newbi (1/4/2017)
USE [Invoice]
GO
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[uspInvoiceLines]
( @InInvoiceNbr int
,@InLinesPerPageint
)
AS
DECLARE @TotalRows int
DECLARE @Remainder int
DECLARE @NumPages int
DECLARE @NextPageRows int
set @TotalRows=...
_____________
Code for TallyGenerator
January 8, 2017 at 7:43 pm
Eirikur Eiriksson (1/5/2017)
😎
DECLARE @Text VARCHAR(256) = 'Generic="abcde" Generic="fghij" Generic="sdfsdfasdf"';
SELECT
...
_____________
Code for TallyGenerator
January 8, 2017 at 6:40 pm
TheSQLGuru (1/1/2017)
Sergiy (1/1/2017)
Every index has statistics on it, and statistics could suggest optimiser that the date selection is ultimately selective.
I'm sorry Sergiy, but that is absolutely not the case. The...
_____________
Code for TallyGenerator
January 1, 2017 at 2:30 pm
TheSQLGuru (12/31/2016)
"If the NCI had a leading column of the TrackingNumber and there's only one of each tracking number in the table, how do you figure that would result in...
_____________
Code for TallyGenerator
January 1, 2017 at 6:57 am
lmarkum (12/30/2016)
However, I need to solve the deadlock issue,
Then you need to fix the code.
Look what people told you:
Jeffrey Williams 3188 (12/29/2016)
CONVERT(datetime,PackageActivityDateTime,...
_____________
Code for TallyGenerator
December 30, 2016 at 10:27 pm
TheSQLGuru (12/30/2016)
lmarkum (12/30/2016)
Sergiy (12/30/2016)
lmarkum (12/23/2016)
_____________
Code for TallyGenerator
December 30, 2016 at 4:56 pm
lmarkum (12/23/2016)
_____________
Code for TallyGenerator
December 30, 2016 at 3:43 pm
When you're talking to the developer, on a side note, ask them - have they ever heard about data normalization?
That boring concept really helps in preventing deadlocks.
_____________
Code for TallyGenerator
December 29, 2016 at 9:04 pm
chuck.forbes (12/28/2016)
We're in the midst of an application upgrade, and part of the vendor instructions after the database pieces are upgraded is to rebuild all indexes, for improved performance.
Feel...
_____________
Code for TallyGenerator
December 28, 2016 at 8:55 pm
I've got mine removed 15 month ago.
3 days in hospital, 1 of them because the operation was delayed.
Was quite painful for a week - one of the holes did...
_____________
Code for TallyGenerator
December 23, 2016 at 4:23 am
ben.brugman (12/22/2016)
And the data within the rows (newFromValue) does not make sense to me.
Because of the group by data gets 'lost'.
So...
_____________
Code for TallyGenerator
December 22, 2016 at 6:35 pm
ben.brugman (12/22/2016)
Sergiy (12/20/2016)
SELECT ID, FromValue, ToValue
INTO #Periods
FROM (
SELECT 1, 2.1, 8.0
UNION
SELECT 2, 3., 4.5
UNION
SELECT 3, 4., 10.
UNION
SELECT 4, 9., 20.
) I (ID,...
_____________
Code for TallyGenerator
December 22, 2016 at 6:23 pm
Viewing 15 posts - 991 through 1,005 (of 6,036 total)