Viewing 11 posts - 61 through 71 (of 71 total)
stewartc-708166 (12/17/2010)
Did you disable all related foreign keys?
No, would that make a difference? There are about twenty auxilliary tables, each with single one-to-many relationship to the main records table. The...
December 17, 2010 at 5:10 am
Sorry, my screw-up - I had a typo in the SQL. But the results are the same. It does drop the constraint now, but the INSERT INTO still works only...
December 17, 2010 at 4:26 am
stewartc-708166 (12/17/2010)
e.g.
-- Disable the constraint.
ALTER TABLE mySampleTable NOCHECK CONSTRAINT FK_SampleTableDetail_SampleTable;
-- Reenable the constraint.
ALTER TABLE mySampleTable...
December 17, 2010 at 4:10 am
Bhuvnesh (12/14/2010)
On safer side i would say create some relevant indexes otherwise you can De-normalize some tables and then put some indexes.
I have such indexes now. My question was whether...
December 14, 2010 at 6:05 am
'Fraid not,:-) I've experienced enough horror shows to know full well just how good I have it here. They buy good equipment, ask for sensible things, listen to me and...
December 3, 2010 at 2:09 pm
'Fraid not,:-) I've experienced enough horror shows to know full well just how good I have it here. They buy good equipment, ask for sensible things, listen to me and...
December 3, 2010 at 2:09 pm
> I think you also need to consider the expense of
> maintaining all of those indexes. Every
> insert/delete will have multiple indexes to update.
> Updates can affect multiple also.
Thank you,...
December 3, 2010 at 9:27 am
> Create targeted indexes for the combinations that
> you know are in use. Once you've done that, consider
> additional indexes for columns that may be used in
> the search but...
December 3, 2010 at 8:57 am
> The point is that SQL won't always chose index
> intersection, it's expensive, it'll only do it if
> there's a fairly large row count.
I would call it medium-sized, around 80,000...
December 3, 2010 at 4:15 am
Hm, thank you, but I'm not sure that I follow this fully. There is discussion of how a properly constructed multi-column index is a better choice than separate column indexes,...
December 3, 2010 at 2:14 am
No parameters, selecting from the 80,000 records in the SQL table is done by joining to a local table. This project started life as an Access database, so there is...
November 16, 2010 at 12:52 pm
Viewing 11 posts - 61 through 71 (of 71 total)