Viewing 15 posts - 166 through 180 (of 851 total)
[font="Verdana"]Might be worth having a look at Gail Shaw's excellent article on performance issues. She goes through how to use trace on the server.
Also, you can use the object_name(id)...
June 18, 2009 at 3:27 pm
Tom Brown (6/17/2009)
Time for a nice Merlot.
[font="Verdana"]I like my merlots, I admit. But I have been more keen on syrahs (shiraz for you aussies) of late.[/font]
June 17, 2009 at 5:46 pm
Jeffrey Williams (6/17/2009)
GSquared (6/17/2009)
June 17, 2009 at 5:35 pm
8kb (6/17/2009)
June 17, 2009 at 5:14 pm
Paul White (6/17/2009)
June 17, 2009 at 5:07 pm
RBarryYoung (6/16/2009)
Lynn Pettis (6/16/2009)
I have noticed that sometimes it will show up in the Active Threads list and at other times it doesn't. Seems really strange.
I've always suspected that...
June 16, 2009 at 6:21 pm
[font="Verdana"]The "type 2 slowly changing dimension" is a good approach for not needing a separate history or audit log table.
You don't actually have to use a dimensional model to use...
June 16, 2009 at 6:17 pm
Digs (6/16/2009)
June 16, 2009 at 3:10 pm
[font="Verdana"]The simple answer is: you can't work with multiple result sets returned from the same stored procedure (yes, I've tried it too.)
You can have a parameter to the stored procedure...
June 16, 2009 at 2:58 pm
GilaMonster (6/12/2009)
Select Col1, Col2, Col3FROM SomeTable
WHERE Col3 = x
AND Coln < DATEADD (HOUR, -24, GETDATE())
[font="Verdana"]I'm wondering whether it's more like this? (So it only filters where Col3...
June 15, 2009 at 8:08 pm
David Webb (6/15/2009)
create unique nonclustered index userkey on tablename (userid, datetime_entered) on PRIMARY
[font="Verdana"]Or:
alter table tablename add constraint userkey unique (userid, datetime_entered);
I'm still struggling to see the value of the bigint...
June 15, 2009 at 6:01 pm
[font="Verdana"]Whew!
In which case, a table variable being passed around would be fine.
[/font]
June 15, 2009 at 4:46 pm
Digs (6/15/2009)
Date time with milliesecound, that create a great chance of uniqueness, would it not !condition: You dont have 1000s inserts in a split second.
[font="Verdana"]Unless you are talking about the...
June 15, 2009 at 4:41 pm
ken.trock (6/15/2009)
June 15, 2009 at 3:32 pm
[font="Verdana"]Aside from issues in design for stored procedures that only accept one "row" of data...
I'd take a copy of what you need to process and put it in a temporary...
June 15, 2009 at 3:09 pm
Viewing 15 posts - 166 through 180 (of 851 total)