Viewing 15 posts - 1,336 through 1,350 (of 10,143 total)
Thanks for the generous feedback KR - do pop by if you need further assistance with this.
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
August 4, 2016 at 7:11 am
BWFC (8/4/2016)
Jack Corbett (8/3/2016)
Lynn Pettis (8/3/2016)
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
August 4, 2016 at 5:05 am
drew.allen (8/3/2016)
AND NOT EXISTS (
SELECT 1
FROM AIRGBS.vLCExtract AS lc2
WHERE...
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
August 3, 2016 at 9:18 am
Sean's nailed the real problem - the indexing is a proper mess.
You might get a little better mileage with this alternative query:
;WITH FirstQuery AS (
SELECT
lc.DownLoad
, lc.AccountNum
, lc.PolicyNum
--, splitLC.SplitPolicyNumLmt
, splitLC.SplitPolicyNumLmt
,...
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
August 3, 2016 at 8:16 am
Northern Monkey (8/3/2016)
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
August 3, 2016 at 7:54 am
regan.wick (8/2/2016)
I am using an in-line TVF and joining to base tables. Sample code below.
The...
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
August 3, 2016 at 3:45 am
mizan700 (8/3/2016)
Hi Experts,How can i run my stored procedure inside select statement?
example:
Select Username, exec @myproc from userinfo
Regards,
Mizan
Can't you add UserName to the output of the stored procedure?
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
August 3, 2016 at 3:16 am
Sergiy (8/2/2016)
ChrisM@Work (8/2/2016)
Sergiy (8/1/2016)
ben.brugman (7/21/2016)
spaghettidba (7/21/2016)
Dates have no format when they are stored in the databaseDates definitively have a format when they are stored in the database.
Dates do not have...
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
August 3, 2016 at 2:17 am
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
August 2, 2016 at 9:44 am
Sergiy (8/1/2016)
ben.brugman (7/21/2016)
spaghettidba (7/21/2016)
Dates have no format when they are stored in the databaseDates definitively have a format when they are stored in the database.
Dates do not have format stored...
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
August 2, 2016 at 8:54 am
Adi Cohn-120898 (8/2/2016)
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
August 2, 2016 at 6:46 am
yujinagata72 (8/1/2016)
Hi,I use the below code, I can get the duration as hh:mm:ss.0000000.
CONVERT(TIME, DATEADD(SECOND, DATEDIFF(SECOND, last_request_end_time, GETDATE()), 0), 114) AS DurationBut how I can get the format like dd:hh:mm:ss?
Thanks,
You...
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
August 2, 2016 at 2:04 am
TheComedian (8/2/2016)
Eirikur Eiriksson (8/2/2016)
Quick thought, datetime does not have any time zone awareness and only assumes UTC, convert into a time zone aware data type such as datetime2 instead.😎
SELECT CONVERT(DATETIME2,'2016-08-01T07:04:24+01:00',127)
So...
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
August 2, 2016 at 1:47 am
Scubba-Steve (8/1/2016)
Actually I am on 2008. I just asked the question on the first SQL forum that I found. Did I post in the wrong place?
Yes but it's no big...
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
August 1, 2016 at 9:07 am
Scubba-Steve (8/1/2016)
Wow. I didnt catch that. Thanks for the help. Works like a charm.
Cool.
Are you really on SQL Server 7 or 2000?
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
August 1, 2016 at 8:56 am
Viewing 15 posts - 1,336 through 1,350 (of 10,143 total)