Viewing 15 posts - 33,136 through 33,150 (of 59,099 total)
To add to BitBucket's answer... it takes two bytes to represent 1 character in NVARCHAR which is really "Unicode" of sorts. The first byte indicates the "country code" (or...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2011 at 10:44 am
So... enquiring minds want to know... did the latest code fix things for you or not? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2011 at 10:09 am
MuchLearnSoLittleTime (7/23/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2011 at 10:06 am
VERY interesting. Thanks, Orlando, especially for the datatype match reminder.
What's really interesting (interesting as in "very odd") is that the changes to the code actually made the table variable...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2011 at 9:47 am
bddupree (7/22/2011)
The workaround is to set the InteractiveHeight =...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 5:28 pm
Would you do me a favor then? Would you run my code example and post the results? I'm always curious as to what any given piece of code...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 5:20 pm
Ya know, Remi... I thought you were just joking.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 5:12 pm
opc.three (7/23/2011)
Bah! SELECT INTO! 😀
😛
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 3:37 pm
I just tried both of the following on my machine and they both work just fine. You don't need the double quotes after all. You do, however, need...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 3:15 pm
I don't know what others may get, but I'm seeing that a Temp Table solution is about half the CPU intensity and about 2/3'rds the duration of a Table Variable...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 3:00 pm
Sridoc2020 (7/23/2011)
those are not real file names, they are edited for privacy. Just they are not real. But real file names also consists these kind of characters. They are done...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 2:26 pm
Yep... I know. My apologies... Since you're doing relatively advanced work, I made the bad assumption you might know about the "REPLACE" function. Here's how to do it.
REPLACE(@FileName,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 2:24 pm
hxkresl (7/22/2011)
TBLANIMAL (as T)
animal varchar(40)
haveit bit
name varchar(30)
ANIMAL (as A)
animal varchar(40)
haveit bit
name varchar(30) Primary Key
I am merging on T.animal = A.animal. The source table (T) has...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 2:03 pm
Not quite what I had in mind. You put the double quotes on the wrong side of the single quotes. I believe you want to end up with...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 1:56 pm
{sorry, duplicate post removed}
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2011 at 1:52 pm
Viewing 15 posts - 33,136 through 33,150 (of 59,099 total)