Viewing 15 posts - 56,506 through 56,520 (of 59,072 total)
| Remember that the optimizer won't use an index if more than 8-15% of the total rows would be... |
April 30, 2007 at 5:42 pm
Now, there's a plug I can agree with... AND, if you take the time to study it in Books OnLine, you'll find that it's capable of doing such things as...
April 30, 2007 at 6:14 am
Sreemati,
The list isn't what you think... it's a bit sarcastic and starts off with something like "#1. Write good code."
The big key is as I said... think columns, not rows. ...
April 30, 2007 at 6:07 am
Carla,
I just used your query on a million row table and it returned all the columns for 275K rows in less that 6 six seconds... what is the datatype...
April 29, 2007 at 6:29 pm
Problem solved... ALZDBA reminded me of the other collation...
Both of these work (did positive testing instead of negative testing this time, my bad)...
DECLARE @FIND VARCHAR(8000)
SET @FIND...
April 29, 2007 at 4:10 pm
Crud... I can't make COLLATION work anyway shape or form with LIKE (thought I did but was wrong)... it only works with an equates...
This one works though... guaranteed...
April 29, 2007 at 3:51 pm
You mean the second example I posted didn't work? (The first example was how NOT to do it)...
April 28, 2007 at 6:14 pm
Recommend you post the actual trigger code and a bit of information on the schema of the tables...
April 28, 2007 at 5:16 pm
That's because it looks like you're trying to add spaces to a numeric value which has no effect. Convert the street number to VARCHAR and then add the spaces to...
April 28, 2007 at 7:30 am
Sorry, Joe... I misread the post quite badly... thought you were trying to do locked reads.
April 28, 2007 at 7:16 am
I realize this is a really old thread, but I read it with some great interest... not one of the folks that claimed that case sensitivity created that mythical 40%...
April 27, 2007 at 9:58 pm
That requires a change in "COLLATION"... unfortunately, there's a bug in SQL Server that destroys the ability to use collation where a range of letters is included in a LIKE......
April 27, 2007 at 8:39 pm
Then, the trigger is wrong... it should be able to handle both.
April 27, 2007 at 7:34 pm
Allen,
First, there is no reason, whatsoever, to store the "M" in the sequence table. All it does is slow everything down with unneccessary character conversions.
Using the good example that Mr....
April 27, 2007 at 7:21 pm
Depending on how and where the function is used in a WHERE clause, it can drastically and negatively affect performance because it may disable the ability for INDEX SEEKs to...
April 27, 2007 at 5:00 pm
Viewing 15 posts - 56,506 through 56,520 (of 59,072 total)