Viewing 15 posts - 376 through 390 (of 1,825 total)
I think you need to first answer the question:
How do you know what the first sellable item of stock to be sold is ?
If you start from an empty warehouse...
January 28, 2011 at 7:16 am
You will need the techniques described here
January 28, 2011 at 5:00 am
As explained above , & is a bitwise AND operation.
What are you expecting the result to be (and why ) ?
January 28, 2011 at 2:42 am
stewartc-708166 (1/27/2011)
The column will only be logically sorted if said column has a clustered index thereupon.
Nope.
The only way to guarantee order is by using the ORDER BY clause ,...
January 27, 2011 at 11:45 pm
Jeff Moden (1/26/2011)
Ah... sorry. I got a little behind on the thread. I see you already have enough volunteers to help.
Ill Pencil you in for Ver2 😉
January 27, 2011 at 2:02 am
CirquedeSQLeil (1/26/2011)
Dave Ballantyne (1/25/2011)
Any volunteers to read through a draft of an article for me ?Thanks....
Probably too late, but yes.
Yup, got a few people already looking over it now...
January 26, 2011 at 11:48 am
GilaMonster (1/26/2011)
Dave Ballantyne (1/25/2011)
Any volunteers to read through a draft of an article for me ?Thanks....
Topic?
Loop unrolling - ie Cursor removal. Pretty high level stuff.
January 26, 2011 at 1:43 am
Any volunteers to read through a draft of an article for me ?
Thanks....
January 25, 2011 at 2:01 pm
Ok , thanks for clarifying
January 24, 2011 at 1:19 pm
Hmm , not sure if ive understood the problem correctly as im seeing different results...
But , just to add to the discussion ....
A couple of sorts im not to happy...
January 24, 2011 at 12:00 pm
Yes , very sneaky 🙂
Ok , so that shouldn't be a problem....
Getting back to the original issue though , although there may be X millions rows , how many unique...
January 24, 2011 at 5:48 am
Im speaking from a point of pure ignorance about your code, ie i havent run in through, 😉 , but
WHILE @@ROWCOUNT=3
So , you are inserting 3 rows...
January 24, 2011 at 5:13 am
mister.magoo (1/24/2011)
January 24, 2011 at 4:53 am
Ingenious use. 🙂
One word of warning though set MAXDOP 1 , scope_identity can return incorrect results in a parallel query.
January 23, 2011 at 11:52 pm
Viewing 15 posts - 376 through 390 (of 1,825 total)