Viewing 15 posts - 18,376 through 18,390 (of 59,102 total)
SQLRNNR (2/19/2016)
Luis Cazares (2/19/2016)
TomThomson (2/19/2016)
Luis Cazares (2/19/2016)
Hugo Kornelis (2/19/2016)
Jeff Moden (2/19/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 7:04 pm
ramana3327 (2/19/2016)
Those are hypothetical indexes. Is it better to keep or drop those hypothetical index?
Google is your friend here...
https://www.google.com/?gws_rd=ssl#q=deleting+hypothetical+indexes+and+statistics
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 6:44 pm
jacqueline.trent (2/19/2016)
Is it in Simple recovery mode or Full recovery mode or bulk logged recovery mode?And ... do you know how to check this?
That and a whole lot...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 6:06 pm
ben.brugman (2/19/2016)
Jeff Moden (2/18/2016)
ben.brugman (2/18/2016)
This is a very sensible remark, but why not use 9000-01-01. This contains more 'zero's' so to me it is more logical :-).
Only because SQL Server...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 12:05 pm
SQLRNNR (2/19/2016)
BL0B_EATER (2/19/2016)
GilaMonster (2/19/2016)
Google down? 😉First search results: http://www.investopedia.com/terms/s/stump-the-chump.asp
Yup I should know better! anyways yeah that would make for an awkward interview.
Yeah. They are trying to prove to somebody that...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 11:57 am
sushantkatte (2/17/2016)
Jeff Moden. this is not a homework question. This questions were asked to me in an interview. i have created the table definition from the question itself. so...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 11:07 am
Hugo Kornelis (2/19/2016)
ScottPletcher (2/19/2016)
You should cluster this table on upsrt_dttm instead.
How can you possibly determine that this should be a good clustering key based on seeing only one single query...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 10:22 am
mansur.azam (2/19/2016)
Thanks. This works!
Not sure what you're referring to. I'm thinking that it's Orlando's code that worked (seems like it should just from reading it).
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 8:39 am
The only two indexes that I see that come close to supporting the particular query you posted (provided that I've interpreted the differences between your original post and your CREATE...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 8:34 am
Never mind. This is taking too long. (and sorry, posted this before I saw your post with the table info so my column names match your original post instead...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 8:21 am
Loner (2/19/2016)
I just look at the table, it has 12 FK and 1 PK and 11 non unique non cluster index.
I don't need the FK's. Just the CREATE TABLE...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2016 at 8:01 am
Ed Wagner (2/18/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 18, 2016 at 10:07 pm
Loner (2/18/2016)
The table has 2357880092 number of records.
I still need the CREATE TABLE statement and the indexes for the table so that I can build a large test table to...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 18, 2016 at 8:35 pm
Gstar1224 (2/18/2016)
...calculate the number of concurrent users every hour...
What does that actually mean? Do you mean, for example, if someone were logged in from 1:30AM until 4:30AM, they...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 18, 2016 at 8:32 pm
No need to pile on (in fact, please don't) but the post below reminds me of the interviews that I've conducted over the last decade. The problem is, it's...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 18, 2016 at 1:37 pm
Viewing 15 posts - 18,376 through 18,390 (of 59,102 total)