Viewing 15 posts - 3,556 through 3,570 (of 10,144 total)
rodjkidd (3/6/2014)
ChrisM@Work (3/6/2014)
Are you working in Maidenhead, Rod?Chris,
Work in Bracknell, stay near Bray in Maidenhead at the moment.
Rodders...
Not much of a hike then. Bray, home of the Fat Duck. I...
March 6, 2014 at 6:21 am
Are you working in Maidenhead, Rod?
March 6, 2014 at 4:44 am
dwain.c (3/6/2014)
OK thanks. My head was spinning like Linda Blair's in The Exorcist trying to work out the possibilities. 😛
My head was spinning like Dwain Camps's in a sweetshop...
March 6, 2014 at 4:34 am
dwain.c (3/4/2014)
ChrisM@Work (3/4/2014)
SELECT DATEDIFF(dd,0,GETDATE())-1SELECT DATEADD(dd,DATEDIFF(dd,0,GETDATE())-1,0)
SELECT DATEADD(hh,18,DATEADD(dd,DATEDIFF(dd,0,GETDATE())-1,0))
Use q3. q1 and q2 help explain the algorithm.
I can do it with just two date function calls:
SELECT DATEADD(dd,DATEDIFF(dd,0,GETDATE())-1,'18:00')
I can also name that tune in...
March 6, 2014 at 2:11 am
This is an estimated parallel plan - estimating over 600 million rows output.
Are your stats up to date?
Any chance of an actual plan please? - just the SELECT. Ensure your...
March 5, 2014 at 9:27 am
I don't see the full plan when I load it here, it gets chopped at this point:
INNER JOIN Database_107.dbo.tblDatabase_107ExchangeRate AS XR WITH (NOLOCK)
ON O.Column_39 = XR.XRateCurrID
AND XR.XRateTypeID = 1
AND XR.XrateColumn_5...
March 5, 2014 at 9:14 am
IIRC SQL Sentry Plan Explorer has an "obfuscation" option designed with you in mind, Pete. It would help us a ton if you can do it.
March 5, 2014 at 6:56 am
GilaMonster (3/5/2014)
ChrisM@Work (3/5/2014)
GilaMonster (3/5/2014)
ChrisM@Work (3/5/2014)
March 5, 2014 at 6:54 am
Can you post the estimated execution plan as a .sqlplan attachment please? And when you get the opportunity, the actual plan too.
March 5, 2014 at 6:35 am
GilaMonster (3/5/2014)
ChrisM@Work (3/5/2014)
March 5, 2014 at 6:23 am
SSISDB incorporates cascaded deletes and MS release it without including indexes for the fk's in the child tables. As a result, heaps of people (we don't have clustered indexes) saw...
March 5, 2014 at 5:37 am
GilaMonster (3/5/2014)
ChrisM@Work (3/5/2014)
GilaMonster (3/5/2014)
A column cannot be present in an index twice.Yes I know but...
Not 'cannot be specified twice', actual 'cannot be present twice', so precluding SQL putting a...
March 5, 2014 at 5:32 am
GilaMonster (3/5/2014)
ChrisM@Work (3/5/2014)
- The size stats of the two ordinary indexes is virtually the same.Exactly.
A column cannot be present in an index twice.
Yes I know but...
If a column is...
March 5, 2014 at 4:16 am
GilaMonster (3/5/2014)
CREATE TABLE ReallyStupidTable (ID CHAR(100),
OtherID INT
)
GO
CREATE UNIQUE CLUSTERED INDEX idx_Silly ON ReallyStupidTable (ID)
GO
INSERT INTO ReallyStupidTable (ID, OtherID)
SELECT ANumber, ANumber FROM (
SELECT TOP (5000000) ROW_NUMBER() OVER (ORDER...
March 5, 2014 at 3:59 am
GilaMonster (3/5/2014)
ChrisM@Work (3/5/2014)
March 5, 2014 at 3:28 am
Viewing 15 posts - 3,556 through 3,570 (of 10,144 total)