Viewing 15 posts - 9,361 through 9,375 (of 14,953 total)
The first thing to do is to select all rows where the parent ID is equal to the node ID. Eliminate/fix those, then add a constraint that blocks that...
June 4, 2009 at 8:11 am
It's definitely one of those things that looks complicated till you've done a few, and then it suddenly "clicks" and becomes very simple to understand. (Not necessarily simple to...
June 4, 2009 at 7:23 am
I think the only time I've had a table be faster because of a lack of PK has been in bulk-import situations. It is faster to import multi-million-row text...
June 4, 2009 at 7:13 am
Try it on a dev/test server first. Definitely don't mess around with the production server unless you have to.
June 3, 2009 at 1:08 pm
FelixG (6/3/2009)
bugop (6/3/2009)
At the same time, primary key creates the clustered index automatically if no clustered index already exists
That is not rigorously correct...
As many people has said, the primary key...
June 3, 2009 at 12:51 pm
jcrawf02 (6/3/2009)
GSquared (6/3/2009)
I don't have a cat. I have two dogs, and one of them is still dopey from being sedated by the vet yesterday (teeth cleaning). Does...
June 3, 2009 at 12:05 pm
RedGate has a product that will do that for you.
So does ApexSQL.
Those are your best bets for getting it done fast and right.
June 3, 2009 at 11:59 am
That's the kind of thing that data warehouses are used for.
Simplest version of that for you would be to have a table that you populate daily, that has the counts...
June 3, 2009 at 11:58 am
Since you can't control where the files go, physically, on the actual disks, there's no gain to be had from multiple filegroups. Doesn't matter whether it's actually one disk,...
June 3, 2009 at 11:52 am
Do you have the installation media (DVD, most likely)? If so, you should be able to reinstall the client tools pretty easily from that.
June 3, 2009 at 11:44 am
First, costs in execution plans aren't really all that useful a datum. They are often enough dead-wrong that they can be treated as virtually meaningless.
Second, the probable reason is...
June 3, 2009 at 11:42 am
jcrawf02 (6/3/2009)
GSquared (6/3/2009)
I hate to sound so quantum (reference to today's cartoon from the front page), but I think the principle of publishing even when there are problems with it,...
June 3, 2009 at 11:04 am
Does the table really have columns with those names? I hope that's just you annonymizing it.
As mentioned, hot spots are only very, very rarely going to be an issue....
June 3, 2009 at 9:35 am
Try rebooting.
Corrupt memory or other causes of attempted access to protected memory usually means some application didn't clean up after itself correctly. Possibly you had some app...
June 3, 2009 at 9:08 am
steve.neumann (6/3/2009)
do you ever read what you write? 3 more simple mistakes today... not to mention to daily misuse of commas...
The irony of a post complaining about misuse of commas,...
June 3, 2009 at 9:03 am
Viewing 15 posts - 9,361 through 9,375 (of 14,953 total)