Viewing 15 posts - 1,336 through 1,350 (of 10,144 total)
Thanks for the generous feedback KR - do pop by if you need further assistance with this.
August 4, 2016 at 7:11 am
BWFC (8/4/2016)
Jack Corbett (8/3/2016)
Lynn Pettis (8/3/2016)
August 4, 2016 at 5:05 am
drew.allen (8/3/2016)
AND NOT EXISTS (
SELECT 1
FROM AIRGBS.vLCExtract AS lc2
WHERE...
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
,...
August 3, 2016 at 8:16 am
Northern Monkey (8/3/2016)
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...
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?
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...
August 3, 2016 at 2:17 am
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...
August 2, 2016 at 8:54 am
Adi Cohn-120898 (8/2/2016)
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...
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...
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...
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?
August 1, 2016 at 8:56 am
Viewing 15 posts - 1,336 through 1,350 (of 10,144 total)