Viewing 15 posts - 8,506 through 8,520 (of 9,643 total)
Michael,
I don't know why SQL Server treats them differently, but changing my code to use a specifically named primary key constraint does cause the error, but using the Create Unique...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
June 2, 2008 at 7:12 am
Check to see if the Databases have the autoclose option is on.
Select DATABASEPROPERTYEX('model', 'IsAutoClose')
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 7:31 pm
Jeff solution will work if you do not have any duplicates in the column where you want the unique index. I have never seen the issue you are describing....
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 3:12 pm
I don't know why the cache would clear other than either a small cache size or activity. You could check the buffer cache hit ratio counter.
Did you try the...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 2:54 pm
I think Matt covered it very well. Another way to explain it that the included columns should be columns that you don't search on, but will return. I...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 1:06 pm
You can see that in the slower queries you had more physical reads on the ENQUIRY table which means something else happened that caused it to be flushed from the...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 12:58 pm
You are getting Clustered Index Scans (basically table scans) on your CaseEvents tables which will cause the query to be slower. Depending on the use of the tables and...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 9:02 am
I'm not sure what you mean by excessive joins. If you are working from an OLTP database proper normalization is going to create the need for many joins, so...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 8:52 am
JumpStartTV has a decent one here, http://www.jumpstarttv.com/Media.aspx?vid=76
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 8:46 am
Duplicate post also at http://www.sqlservercentral.com/Forums/Topic509060-323-1.aspx
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 8:44 am
Is the structure of the temporary table the same in each case? If it is explicitly define the temp table and then do Insert Into instead of select into.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 7:45 am
The first thing I would recommend is checking to see if your statistics are being updated. Check the DB to see if autoupdate stats is on.
Second in...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 7:26 am
Yes you can use case in the join. A simpler solution would be to use a data out in the future for an end date instead of an...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 30, 2008 at 7:02 am
I agree with Matt that there is not a lot of advice that can be given with the generality of the question. Steve also makes an accurate point, that...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 29, 2008 at 8:18 am
I have only been in one position where I was able to specialize other than specializing in MS development (Windows, SQL Server, VB, .NET). The one position where I...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 29, 2008 at 7:55 am
Viewing 15 posts - 8,506 through 8,520 (of 9,643 total)