Viewing 15 posts - 196 through 210 (of 1,473 total)
vinaypugalia (4/6/2010)
However, we can also achieve the same through -
SELECT CONVERT(DATETIME,DATEDIFF(dd,0,GETDATE()))
This way we can save the time taken to perform DATEADD operation though it would be...
April 7, 2010 at 7:37 am
nakache (4/6/2010)
the fastest way to remove time from datetime is:select CONVERT(datetime,floor(convert(float,getdate())))
Itzik Ben-Gan had a big post on Date Manipulation with benchmarking..(long time ago..)
I believe this is the article you were...
April 7, 2010 at 7:21 am
Tom.Thomson (4/6/2010)
Garadin (4/6/2010)
Tom.Thomson (4/6/2010)
Peter Brinkhaus (3/23/2010)
Do not use @ or @@ or names...
April 6, 2010 at 9:09 pm
I made a very similar one before I re-read it and thought that he needed those numbers to exist in another table. Maybe he does, maybe not.
DECLARE...
April 6, 2010 at 4:10 pm
kunaal desai (4/6/2010)
April 6, 2010 at 3:59 pm
Dave Ballantyne (4/6/2010)
select Date,
Sum(Case when Type ='Debit' then Amount else 0 end) AS Debit,
Sum(Case when Type ='Credit' then Amount else 0 end) AS Credit
From <Table Name>
Group by Date
Is...
April 6, 2010 at 3:30 pm
Tom.Thomson (4/6/2010)
Peter Brinkhaus (3/23/2010)
Do not use @ or @@ or names that begin...
April 6, 2010 at 3:26 pm
Some of it will carry over. Some of it won't. As much as I love that book, I'd personally recommend getting an Oracle Book instead of reading that...
April 6, 2010 at 12:33 pm
kkapferer (4/5/2010)
Thanks for your reply. I reread my original post and I see I was unclear. When I wrote separate instance I was implying that this was a...
April 5, 2010 at 10:11 pm
Steve Jones - Editor (4/5/2010)
If that's the case, you might be surprised what compression does for you.
I know I like what it does to my DB size. From ~75gb down...
April 5, 2010 at 4:59 pm
Steve Jones - Editor (4/5/2010)
April 5, 2010 at 4:57 pm
Steve Jones - Editor (4/5/2010)
April 5, 2010 at 4:45 pm
Jeff Moden (4/5/2010)
Heh... everyone forgot how to eliminate all contention for the table immediately... rename the table. 😛
Not all contention... there's still the procs that scan for all tables containing...
April 5, 2010 at 4:43 pm
John Dempsey
April 5, 2010 at 3:58 pm
Edited the original post to include the following information, thanks to everyone for the great ideas suggested here.
Separate FileGroups on the same Array
Questionable benefit
If there is a benefit...
April 5, 2010 at 3:50 pm
Viewing 15 posts - 196 through 210 (of 1,473 total)