Viewing 15 posts - 7,591 through 7,605 (of 14,953 total)
I've only had to do it once, and that was almost a year ago, so I'd pretty much have to dig through MSDN and online searching to do it. ...
December 2, 2009 at 9:56 am
Cursors are just a tool. The problem with them is misuse.
Lots of devs seem to want to use a drill press to cut plywood sheets. Can...
December 2, 2009 at 9:44 am
al_kessler (12/2/2009)
Tool: Hammer, Resource: Screw
Hmm?
Yeah, it will work but not the best. However, if you are out of other options (no nails and all the...
December 2, 2009 at 9:37 am
Let me guess, you upgraded to a 64-bit system from a 32-bit system?
If so, it's pretty much just a matter of downloading and registering the necessary drivers.
December 2, 2009 at 9:31 am
Join the table with itself on ID.
Would look something like:
select *, datediff(day, EventA.Time, EventB.Time) as Days
from dbo.MyTable EventA
full outer join dbo.MyTable EventB
on EventA.ID = EventB.ID
...
December 2, 2009 at 9:00 am
Brandie Tarvin (12/2/2009)
GSquared (12/2/2009)
December 2, 2009 at 8:56 am
Brandie Tarvin (12/2/2009)
December 2, 2009 at 8:34 am
Denying insert and datawriter doesn't override the permission on the proc. If you grant execute rights on the proc, the assumption by the security engine is that you are...
December 2, 2009 at 8:22 am
Personally, I'd cache the query results in a table, and have a job periodically check the table and send any results it finds. That way, you're not slowing down...
December 2, 2009 at 8:15 am
Microsoft has a set of steps you have to take to install SQL 2005 or 2008 on Vista. 2005 needs SP 2 if I remember correctly.
I have both 2005...
December 2, 2009 at 7:09 am
Best and worst are both imaginary concepts with no real-world existence. They can only be defined as "best I've seen yet" or "best that I know of in this...
December 2, 2009 at 7:06 am
BaldingLoopMan (12/1/2009)
--Lynn and I are agreeing with you. john scott miller is the one making odd statements about hair, good guys, and disagreeing with Lynn that cursors have any use...
December 1, 2009 at 3:08 pm
If the reads are that different, then either the table is different, or the data is different, or it's a different query. I'm not sure that's related to the...
December 1, 2009 at 3:05 pm
Yes, you can manipulate the data in a temp table in ways you can't in a cursor.
However, in 9 years of SQL, I've never yet run into a situation where...
December 1, 2009 at 3:02 pm
Individual joins and union statements is how I'd initially go too. Easier and more performant than case statements in join clauses.
December 1, 2009 at 1:55 pm
Viewing 15 posts - 7,591 through 7,605 (of 14,953 total)