Viewing 15 posts - 2,431 through 2,445 (of 5,504 total)
GSquared (12/14/2010)
LutzM (12/14/2010)
Another option not using any of the ROUND/FLOOR/CEILING functions:
PRINT (CAST(12307.96 AS INT)/1000 + 1)*1000Does it make sense to use it? I don't think so.
That won't "round" correctly if...
December 14, 2010 at 11:01 am
Right now I have a rather old-standard cell phone (no iPhone, pretty much all I can do is make and receive phone calls 🙂 ) and a laptop. That's the...
December 14, 2010 at 10:38 am
Stefan Krzywicki (12/14/2010)
GilaMonster (12/14/2010)
Want some entertainment? I give you Gus's reply here http://www.sqlservercentral.com/Forums/FindPost1034345.aspx, nominated for comment on the week.
It almost...
December 14, 2010 at 9:46 am
Alvin Ramard (12/14/2010)
LutzM (12/14/2010)
Alvin Ramard (12/14/2010)
I'd prefer a picture of the horse stepping on the iPad. 😀But I hope you'll allow Jeff to let the iPad go before....
Sure. ...
December 14, 2010 at 9:38 am
Another option not using any of the ROUND/FLOOR/CEILING functions:
PRINT (CAST(12307.96 AS INT)/1000 + 1)*1000
Does it make sense to use it? I don't think so.
December 14, 2010 at 9:33 am
Alvin Ramard (12/14/2010)
I'd prefer a picture of the horse stepping on the iPad. 😀
But I hope you'll allow Jeff to let the iPad go before....
December 14, 2010 at 9:18 am
Craig Farrell (12/13/2010)
December 13, 2010 at 4:34 pm
Here's an example of the concept I mentioned in my previous post:
CREATE TABLE #temp
(
id INT IDENTITY(1,1),
val INT,
grp AS val-id persisted
)
INSERT INTO #temp (val)
SELECT 0 UNION ALL
SELECT 2...
December 13, 2010 at 4:23 pm
Paul White NZ (12/13/2010)
Craig Farrell (12/13/2010)
As I'm wrapping my head around this, your comment above concerns me. This approach is as valid in 2k5 as well, right?
Yes :laugh:
All things...
December 13, 2010 at 10:06 am
Hi Paul,
that really is a very interesting approach to deal with large volume tables. I guess the partition sturcture of some of our archive tables might change soon! (We're currently...
December 13, 2010 at 9:33 am
Based on your sample data, what is your expected result?
And what have you tried so far?
December 13, 2010 at 7:51 am
Steve Bergkamp (12/13/2010)
December 13, 2010 at 7:48 am
I'd recommend you use a grouping concept like
Id-ROW_NUMBER OVER(ORDER BY Id)
So you Batches would be -1,0 and 1.
December 13, 2010 at 5:56 am
petervdkerk (12/12/2010)
December 12, 2010 at 9:06 am
If your ReallyComplicatedCode is based on columns of the same row in the same table you could add a computed (persisted) column to the table and use that in your...
December 12, 2010 at 7:34 am
Viewing 15 posts - 2,431 through 2,445 (of 5,504 total)