Viewing 15 posts - 511 through 525 (of 3,348 total)
BWFC (4/13/2016)
I've got my name down for the Saturday but it clashes with a family do so it's unlikely I'll make it.
If you can indeed not make it, then please...
April 13, 2016 at 2:27 am
himanshu.sinha (4/12/2016)
April 13, 2016 at 2:14 am
Jason Tontz (4/12/2016)
SELECT COUNT(1) FROM TestTable100 Hun
WHERE Hun.ID IN (
SELECT Nine.ID
FROM TestTable99 Nine
WHERE Nine.ID = Hun.ID)
-- Second Query - Standard Join Syntax
SELECT COUNT(1)
FROM TestTable99 Nine...
April 13, 2016 at 2:03 am
GSquared (4/12/2016)
April 13, 2016 at 1:59 am
Lynn Pettis (4/12/2016)
Looking at the data you posted, some will say the Deal 5 overlaps Deal 1 as it starts on the same day that Deal 1 ends.
I originally had...
April 13, 2016 at 1:58 am
sdownen05 (4/12/2016)
Does anyone have any ideas as to the best way this could be done?
The best way is not to do this at all. Relational databases are designed to work...
April 13, 2016 at 1:48 am
reinhardcilliers (4/13/2016)
April 13, 2016 at 1:44 am
pbo71465 (4/12/2016)
Would you be able to explain the steps?
Sure!
One of the things about CTEs is that they make it easy to disect a query. You can highlight just the text...
April 12, 2016 at 3:18 pm
Peter Shilovich (4/12/2016)
NewID() doesn't matter in this case
Yes, I know. Perhaps I phrased it in a confusing way. What I wanted to say is that (a) there are cases when...
April 12, 2016 at 3:09 pm
I'll be there. Presenting on Friday, and attending sessions on both Friday and Saturday. (I won't there for the precon days, as I am presenting in Copenhagen in the first...
April 12, 2016 at 3:02 pm
You are not rambling at all and your problem is in fact intrigueing. Unfortunately I had a long day and I cannot get my brains to clear out the fog,...
April 12, 2016 at 2:56 pm
GSquared (4/11/2016)
I just ran into this in a query. Can anyone come up with a good explanation for why anyone would do this?
I can, but it will probnably involve...
April 12, 2016 at 2:33 pm
Peter Shilovich (4/12/2016)
--Set Statistics Profile Off
Select
Coalesce ((Select Value From Test Where ID = (Select ABS(CheckSUM(NEWID()) / 100000000))), -1)
--Set Statistics Profile Off
And use the actual plan or statistic...
April 12, 2016 at 2:30 pm
wrightyrx7 (4/12/2016)
John Mitchell-245523 (4/12/2016)
wrightyrx7 (4/12/2016)
Is it possible to make the DepartmentCode the Primary Key?
No, a primary key is a property of the table, not of a particular query that you...
April 12, 2016 at 2:16 pm
Sean Lange (4/11/2016)
April 11, 2016 at 1:22 pm
Viewing 15 posts - 511 through 525 (of 3,348 total)