SQL Server Code,Tips and Tricks, Performance Tuning

A blog about SQL Server, Books, Movies and life in general

Showing posts with label Indexing. Show all posts
Showing posts with label Indexing. Show all posts
Wednesday, October 30, 2019

SQLSTATE 4200 Error 666 and what to do.

›
This morning I was greeted by the following message from a job email The maximum system-generated unique value for a duplicate group wa...
2 comments:
Tuesday, June 11, 2019

Can adding an index make a non SARGable query SARGable?

›
This question came up the other day from a co-worker, he said he couldn't change a query but was there a way of making the same query p...
1 comment:
Friday, November 04, 2016

Are your foreign keys indexed? If not, you might have problems

›
When you add a primary key constraint to a table in SQL Server, an index will be created automatically. When you add a foreign key const...
Sunday, August 17, 2008

Only In A Database Can You Get 1000% + Improvement By Changing A Few Lines Of Code

›
Take a look at this query. SELECT * FROM ( SELECT customer_id, ‘MTD’ AS record_type, COUNT ( * ) , SUM ( … ) , AVG ( … ) FROM payment_t...
Friday, May 23, 2008

Interview With Craig Freedman About Indexing, Query Plans And Performance

›
I interviewed Craig Freedman about Indexing, Query Plans And Performance and more. You can find that interview here: Interview With Craig Fr...
›
Home
View web version
Powered by Blogger.