Viewing 15 posts - 826 through 840 (of 1,473 total)
When we say "script", we aren't referring to the script to solve your problem, although if you would like to show what you've attempted thus far, we can help you...
January 8, 2009 at 4:01 pm
[Edited]
Looks like you've got it. How long does it take to run against your 15M rows?
January 8, 2009 at 3:36 pm
Chris Morris (1/8/2009)
Garadin (1/8/2009)
Think I just found a fitting avatar for myself for that matter.Isn't that Muffin?
My turn to Google! Never heard of Muffin the Mule before... but no,...
January 8, 2009 at 9:14 am
Chris Morris (1/8/2009)
January 8, 2009 at 9:11 am
Think I just found a fitting avatar for myself for that matter.
January 8, 2009 at 9:07 am
Hah! Awesome. By the way, have you considered using that butler from Mr. Deeds as your avatar? Very sneaky :hehe:.
January 8, 2009 at 8:59 am
If they are set up as linked servers, you can just add the name of the server to the reference.
Servername.DatabaseName.Schema.Table .
If you don't want to use linked servers(not sure why...
January 8, 2009 at 8:36 am
john g (1/8/2009)
January 8, 2009 at 8:33 am
See the link in my signature for the standard running totals method. It will solve this no problem, and is the fastest method I've seen to handle these situations....
January 8, 2009 at 8:16 am
I can't think of any benefit of not storing the time information other than making it slightly easier to write queries against the table and not have to worry about...
January 7, 2009 at 9:37 am
Here's an example of what I was talking about with the space padding.
[font="Courier New"]CREATE TABLE A(
Orig VARCHAR(100))
CREATE TABLE B(
Bad VARCHAR(25))
INSERT INTO A(Orig)
SELECT 'This is a string with A E I O...
January 6, 2009 at 9:11 pm
Here's a method. Ordinarily I wouldn't suggest this, but it sounds to me like it may be a one time thing for cleanup, and this is a fairly easy...
January 6, 2009 at 9:07 pm
Was there a question in there somewhere?
January 6, 2009 at 10:30 am
Sure, why not.
Here's three:
Expecting a list to be directly assignable to a variable.
DECLARE @A varchar(50)
SET @A = '1,2,3,4,5'
SELECT *
FROM SomeTable
WHERE SomeField IN @A
Trying to select where something = NULL
SELECT...
December 31, 2008 at 12:41 pm
Average in Excel is Number1, Number2, ... You were giving it a range and then an extra 5, which was bringing down your average.
(7+7+6.5+6.5+364.69+5) / 6 = 66.12
December 31, 2008 at 6:17 am
Viewing 15 posts - 826 through 840 (of 1,473 total)