Viewing 15 posts - 3,016 through 3,030 (of 6,486 total)
Lynn Pettis (6/5/2008)
June 5, 2008 at 7:53 pm
jim.powers (6/5/2008)
bullcrap420 (6/5/2008)
SELECT a.EmployeeID
FROM HumanResources.EmployeePayHistory AS a
WHERE RateChangeDate <>
...
June 5, 2008 at 3:25 pm
You're still running up against essentially the same problem.
SELECT isn't guaranteed to pull them in physical order, so while you will end up with 5000 rows, some may...
June 5, 2008 at 2:11 pm
The problem you have is that the ROW_NUMBER() you keep hearing about is the row number applied over a specified order, OR a randomized order. Physical order has no...
June 5, 2008 at 2:04 pm
Bull -
Can you give us some specifics on your table? I'm not sure I'm clear on whether you have a row number or not, and if you don't,...
June 5, 2008 at 1:36 pm
Not sure I added anything to your initial question - but thanks for the feedback!
June 5, 2008 at 1:29 pm
Ronnie (6/5/2008)
The customer will not give me access to the sql server cluster, the reason being that it runs other applications to the one I support.
I get information in...
June 5, 2008 at 1:03 pm
Thanks for the feedback folks... Some good comments. I will try to incorporate them next time.
I did have a bit of a hard time wording it. ...
June 5, 2008 at 12:57 pm
June 5, 2008 at 12:45 pm
Your sequence of events in your code is wrong. Let's recap:
-you create cursor and variables.
- you fetch data.
- you enter...
June 5, 2008 at 12:27 pm
As far as I can recall - index reorgs are always fully logged, so switching your recovery model will have no impact on what is logged during a reorg. ...
June 5, 2008 at 11:42 am
Lynn Pettis (6/5/2008)
Matt, could be. Best thing would be for the OP to test both and decide from there. With my very minimal test code, who knows.😎
yup!
June 5, 2008 at 11:32 am
The only thing I could think of is to literally create the SP's with different code if you're on different versions. So use your IF...THEN logic to create different...
June 5, 2008 at 11:22 am
If the two really are exclusive - I can't help but think that a UNION ALL query would be fastest.
Select s.serviceID, s.structureID, s.providerID,p.providerName
from
Service s
...
June 5, 2008 at 11:15 am
I agree with Steve. That is the most common use for transactions I know of. There should be about a zillion examples of that out there, including several in Books...
June 5, 2008 at 11:09 am
Viewing 15 posts - 3,016 through 3,030 (of 6,486 total)