Viewing 15 posts - 22,951 through 22,965 (of 59,102 total)
If you run the following code...
sp_help 'sys.objects'
... and look at the "Collation" column has in it, you'll see why the problem exists. You'll need to use the COLLATE clause...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 13, 2014 at 8:22 pm
pawana.paul (8/13/2014)
Hello Ed,Looks like this session is to attend inperson. Is it available online by any chance?
Regards,
Attending in person would be seriously beneficial, but it's not necessary. I just...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 13, 2014 at 8:14 pm
pawana.paul (8/12/2014)
Is it possible to share 2 hours lecture you written on this topic? Please send me on pawana.paul@gmail.com, if possible.
Thanks...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 13, 2014 at 8:11 pm
dwilliscp (8/13/2014)
Do the strings always end with a dash, space, numeric value?
If so, using the setup from Sean, look at the code for the second column.
declare @Table table (someString varchar(25))
insert...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 13, 2014 at 7:44 pm
mqbk (8/13/2014)
Recently, I partitioned one of my largest tables into multiple monthly field groups.
Now that you have your answer, I'm curious as the "How" you partitioned the table...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 13, 2014 at 7:18 pm
Before we get to your problem, be advised that your trigger is written to handle only one row even if the StateCompletion table is made to suffer an update on...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 13, 2014 at 7:03 pm
N_Muller (8/13/2014)
Jeff Moden (8/13/2014)There's nothing preventing a non-partitioned index from doing this quickly. Index on the event as the lead column and add the partitioning column and it should...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 13, 2014 at 6:11 pm
N_Muller (8/13/2014)
Jeff Moden (8/12/2014)Why is it non-partitioned? Is it because it needs to be truly unique?
Events are received and stored in the partitioned table by date. Most of...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 13, 2014 at 11:34 am
KoldCoffee (8/13/2014)
I have a percent column that displays like this: 0.51%, 0.36%Desired format: 51.00%, 36.00%
I am using this formula =Format(Fields!CUL1.Value,"F2")
what do I need to change to get the desired format?
Multiply...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 13, 2014 at 11:20 am
N_Muller (8/12/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 12, 2014 at 11:39 pm
Just some extra info just in case you're thinking about it...
It's not such a hot idea to use a Clustered Index on NEWSEQUENTIALID either. From BOL 2014... (http://msdn.microsoft.com/en-us/library/ms189786.aspx)
Creates a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 12, 2014 at 11:37 pm
It's even "worse" than that, although it works exactly as advertised. Please see the following article.
http://www.sqlservercentral.com/articles/ISNUMERIC()/71512/
--Jeff Moden
Change is inevitable... Change for the better is not.
August 12, 2014 at 10:59 pm
Fun problem. Guess I'll throw my hat into the ring, as well.
I took a slightly different tack. Rather than calculating all of the dates in the range and...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 12, 2014 at 10:21 pm
...and if the target table is designed properly and the trigger is written properly, they can be nasty fast.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 12, 2014 at 7:20 pm
Different file groups aren't so bad. If they're on different files, you might end up with a lot of wasted space, though. When you rebuild an index for...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 12, 2014 at 7:06 pm
Viewing 15 posts - 22,951 through 22,965 (of 59,102 total)