Viewing 15 posts - 58,366 through 58,380 (of 59,048 total)
Actually, I believe the smart quotes are CHAR(147) and CHAR(148)... run the following in Query Analyzer and see if you agree...
PRINT CHAR(147)
PRINT CHAR(148)
PRINT CHAR(143)
PRINT CHAR(146)
PRINT ASCII('“')...
February 26, 2006 at 12:40 pm
Howdy Jeff,
You may want to consider using a temp table instead of a table variable here... table variables don't use statistics so they're inherently slower... both temp tables and table variables...
February 25, 2006 at 9:49 pm
Daaaannnngggg.... Guess I'll stick with plain ol' English, SQL, and some pig-latin....
February 23, 2006 at 9:24 pm
Vladan,
Thank you very much for taking the time to explain all this because it's very interesting. I do have to ask... are you a linguist or just really well...
February 23, 2006 at 6:50 pm
That's ok... I guess I'm pretty happy that American English is my native language
except for the fact that words like "Dude" have about 32...
February 22, 2006 at 11:02 pm
Cedar72,
Good find... I'm amazed at how comparitively fast this one is compared to the other methods I've seen (recursion is cool)... returns 10000 records in a little over 3 seconds...
February 22, 2006 at 6:59 am
Even QUOTENAME comes up with the same problem...
When you want to make a single quote part of the text to be inserted, you have to use two of them side...
February 21, 2006 at 7:33 pm
Scott...
What editor are you using? Thanks...
February 21, 2006 at 7:29 pm
Neel,
What is the primary key for the table and... do you have something like a "DateEntered" column or an autonumbering column in the mix? If so, do you want to...
February 21, 2006 at 7:25 pm
"Instead of" triggers require you to do the actual insert/update. That's not a problem but does require some extra effort.
The "after" trigger you tried to make will work with a...
February 21, 2006 at 7:12 pm
Serqiy,
The only problem I see is that there are folks that are over 99 years... just change the VARCHAR(2) to VARCHAR(3) and you're golden because you accounted for everything else...
February 20, 2006 at 7:43 pm
Jennifer,
I agree with Serqiy...
SELECT STR(yourcolumn,10,4)
FROM yourtable...
February 20, 2006 at 6:59 pm
Not quite true... table variables are also connection sensitive...
February 16, 2006 at 10:07 pm
Jesper... I don't believe your formula works correctly...
February 16, 2006 at 10:03 pm
Ya just gotta love what Microsoft did with their execution plans
... I absolutely agree that both execution plans came out the same for...
February 16, 2006 at 6:30 pm
Viewing 15 posts - 58,366 through 58,380 (of 59,048 total)