Viewing 15 posts - 56,506 through 56,520 (of 59,067 total)
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
That's a bit, well, insane... why is the trigger there in the first place if you're going to just disable it? Either the trigger is bad or your code is...
April 27, 2007 at 4:47 pm
IF you're going to use an undocumented sproc, why not go all the way and get ALL the filenames at once?
CREATE TABLE #Directory (RowNum INT IDENTITY(1,1),FileName SYSNAME,Depth...
April 27, 2007 at 4:36 pm
Unless they are set based procs... "Death by SQL"... the idea of code reuse to process single records will absolutely kill performance and make more maintanence nightmares than you can...
April 27, 2007 at 4:21 pm
First question would be... Why aren't you using an IDENTITY column to do this along with Scope_Identity.
Next question would be... Please post your SP...
April 27, 2007 at 4:16 pm
Viewing 15 posts - 56,506 through 56,520 (of 59,067 total)