Viewing 15 posts - 1,561 through 1,575 (of 10,144 total)
Alan.B (6/1/2016)
ChrisM@Work (6/1/2016)
h.tobisch (6/1/2016)
everything fine, but what's that checksum for ?Currently the fastest known method for converting a bigint to an int.
I learned this technique from Eirikur Eiriksson. One of...
June 2, 2016 at 2:02 am
Evolution at work: here's Alan's excellent solution tweaked to read the source table only once.
;WITH _Tally (n) AS (
SELECT 0 UNION ALL
SELECT ROW_NUMBER() OVER (ORDER BY (SELECT NULL))
FROM (VALUES (1),(1),(1),(1),(1),(1),(1),(1),(1),(1))...
June 2, 2016 at 1:58 am
Nice job Alan.
A few years ago DC and I played with numerous variations of this method as a spinoff of the PatternSplit project. One of the most promising methods was...
June 1, 2016 at 8:57 am
h.tobisch (6/1/2016)
everything fine, but what's that checksum for ?
Currently the fastest known method for converting a bigint to an int.
June 1, 2016 at 8:53 am
Igor Micev (6/1/2016)
Hi,There are differences in the execution plans: Degree of parallelism, Memory Grant, Set options.
Other than arithabort, the remaining differences - as far as I can see - are...
June 1, 2016 at 8:50 am
J Livingston SQL (6/1/2016)
mikes84 (6/1/2016)
.....using a method that does not require a Tally table, CLR, or any functions.
any reason why no Tally or functions?
and does this exclusion apply to inline...
June 1, 2016 at 6:59 am
Your script generates an error.
Text data should be delimited with single quotes, columns should be delimited with commas. Each row should be delimited with ( and ), and you...
June 1, 2016 at 6:54 am
TheSQLGuru (5/31/2016)
June 1, 2016 at 1:39 am
Lowell (5/31/2016)
ChrisM@Work (5/31/2016)
May 31, 2016 at 10:14 am
Google "SQL Fertilization" with the quotes and most of the links appear to relate to a single job advert, something to do with Broadridge. Best guess? A dopey recruiter has...
May 31, 2016 at 9:59 am
Can you post an estimated execution plan for this query please, as a .sqlplan file attachment:
SELECT bo.MedRecReviewID, mrr.MedRecReviewDetailID
INTO #MedRecReviewID
FROM [CPROD1].dbo.TABLE_A bo WITH (NOLOCK)
INNER JOIN [CPROD1].[dbo].[TABLE_B] mrr WITH (NOLOCK)...
May 31, 2016 at 4:14 am
Focus your attention first on constructing something which can be used as a reference query – 24 hours is too long to wait for two queries to run to see...
May 31, 2016 at 3:40 am
Can you confirm that these two queries are logically the same apart from the DISTINCT?
SELECT DISTINCT bo.MedRecReviewID
FROM [CPROD1].dbo.TABLE_A bo WITH (NOLOCK)
INNER JOIN [CPROD1].[dbo].[TABLE_B] mrr WITH (NOLOCK) ON...
May 31, 2016 at 2:58 am
jc85 (5/25/2016)
How should i post the table with data on this forum?How many rows do you need for ann_events_Tech_Details table?
ChrisM@Work (5/25/2016)
May 25, 2016 at 10:30 am
jc85 (5/25/2016)
ChrisM@Work (5/25/2016)
Sorry my bad, missed the correlation:
SELECT
[date] = CAST(b.start_time AS DATE),
[report_item] = (b.[source] + '-' + 'a.report_item'),
[EN] = SUM(CASE WHEN b.lang = 'EN' THEN 1 ELSE 0...
May 25, 2016 at 9:13 am
Viewing 15 posts - 1,561 through 1,575 (of 10,144 total)