Viewing 15 posts - 1,501 through 1,515 (of 10,143 total)
SELECT *,
[Duration] = DATEDIFF(SECOND, c.TakenDate, c.CompletedDate),
[Response Time] = DATEDIFF(SECOND, c.CreatedDate, c.TakenDate)
FROM #CONSULTATION c
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 20, 2016 at 3:49 am
ganapathy.arvindan (6/17/2016)
CREATE...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 17, 2016 at 7:06 am
nilknarf (6/17/2016)
static number (12345) + ID number
What does the 12345 represent?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 17, 2016 at 6:40 am
DECLARE @FromDate DATE = CONVERT(DATE,'01.05.2016',104);
WITH Table1 (ItemNr, FromDate) AS (
SELECT 1 , CONVERT(DATE,'01.01.2016',104) UNION ALL
SELECT 1 , CONVERT(DATE,'01.02.2016',104) UNION ALL
SELECT 2 , CONVERT(DATE,'01.01.2016',104) UNION ALL
SELECT 2 , CONVERT(DATE,'01.02.2016',104) UNION ALL
SELECT...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 17, 2016 at 5:16 am
dudekula.kareemulla (6/17/2016)
I have a table 'AAA'
Structure:
CREATE TABLE AAA (ID BIGINT PRIMARY KEY CLUSTERED,Name VARCHAR(225) NULL,UAN BIGINT NOT NULL)
Assume that this Table Having 75 million of records.
Here I am going to...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 17, 2016 at 3:56 am
eleduke (6/16/2016)
When I query the entityname table with a value copied from the namefile table I get the results I was looking...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2016 at 9:09 am
This remains unanswered:
ChrisM@Work (6/16/2016)
eleduke (6/16/2016)
I checked the raw file and did not see any extra special chr that would cause a LF/CR.. I was using Notepad++ to check it
Choose a...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2016 at 8:51 am
eleduke (6/16/2016)
This works fine select * from EntityName e where e.EntityName = '17L-52W7 KVAR'
But this returned nothing select * from namefile n where n.Listname = '17L-52W7 KVAR'
So there seems...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2016 at 8:14 am
eleduke (6/16/2016)
I checked the raw file and did not see any extra special chr that would cause a LF/CR.. I was using Notepad++ to check it
Choose a single value from...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2016 at 7:57 am
Check your column names.
What does the staging table contain? select * from namefile.
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2016 at 7:11 am
Terje Hermanseter (6/16/2016)
Both tests should produce the same results, are you 100% sure you executed the statements in the same order as listed in your post?
Unable to repeat OP's results...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2016 at 4:34 am
jasona.work (6/15/2016)
/me jiggles door handle.../me knocks softly, tries to open door...
/me pokes head into room, quietly calls out "hello? Anybody here?"
/me leaves when no one answers...
Is this you testing...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2016 at 2:13 am
astrid 69000 (6/15/2016)
Hi 🙂I am trying to build a procedure that given a table name will do a select from that table...
Just curious...since EXEC DailyReport_sp 'MyTablename' is exactly equivalent to...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 15, 2016 at 5:52 am
;WITH MyOne AS (yada yada yada)
INSERT INTO #dummy1
(tqm_call_data_id, std_questions_selected, Dept, call_reference_no)
SELECT tqm_call_data_id, std_questions_selected, Dept, call_reference_no
FROM MyOne
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 15, 2016 at 2:00 am
llouw1 (6/14/2016)
I have read the article...and I really cannot see the link between my question and the article.
Kingston's link doesn't work for me either.
Find section [Figure 22: Testing Functionality]...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 14, 2016 at 7:51 am
Viewing 15 posts - 1,501 through 1,515 (of 10,143 total)