Viewing 15 posts - 21,256 through 21,270 (of 26,484 total)
Okay, took a bit of thinking, and it is possible someone else may have a better idea but this works with your test data. You need to test further...
April 30, 2009 at 1:31 pm
pdb DBA (4/30/2009)
Sure, I know it *returns* the same value,...
April 30, 2009 at 1:05 pm
pdb DBA (4/30/2009)
Yeah, that did it. Odd, though. Seems to me that the function should anticipate something like that.
the AVG returns the same type as entered. Since...
April 30, 2009 at 12:29 pm
Nope, just would have written it with a CTE instead of a derived table.
April 30, 2009 at 10:59 am
John Deupree (4/30/2009)
Lynn Pettis (4/29/2009)
April 30, 2009 at 10:43 am
Yes, Barry, glad to see you back! Take it easy for a few days.
April 30, 2009 at 10:41 am
trans54 (4/30/2009)
If any record in the orderid group has unit 89 then completly skip this orderid from purging...
April 30, 2009 at 10:27 am
I was spending a month with a friend in California the summer I graduated from high school and saw it the first time there. I saw several times again...
April 30, 2009 at 10:14 am
WayneS (4/29/2009)
John Deupree (4/29/2009)
April 29, 2009 at 9:52 pm
The quick and easy answer is that the full backup you restored was not the base full backup for that particular differential backup.
When I have to restore a database, usually...
April 29, 2009 at 9:39 pm
trans54 (4/29/2009)
I understand, but this is not what i was asking.Thanks anyway for your help!
If that isn't what you were asking, how about clarifying the question? You asked how...
April 29, 2009 at 9:26 pm
greatheep (4/29/2009)
Andy DBA (4/27/2009)
Obviously this will not help for cases where you have concurrency issues because you can't screen for that.
And that would make up the second most common of...
April 29, 2009 at 7:08 pm
trans54 (4/29/2009)
How can i completly eliminate from delete orderid = 2765 if it has UnitID = 89 and UnitID = 4 in this case...
April 29, 2009 at 6:56 pm
It could be that the SUM of the values is greater than the maximum value for an INT data type. Try casting it as a BIGINT:
select AVG(cast(ActivityID as bigint))...
April 29, 2009 at 4:32 pm
karthikeyan (3/17/2009)
Politely saying, Since i visited our site more no of times(1370 visits from the joining date) and scored 1385 (comparing me with my related named...
April 29, 2009 at 4:22 pm
Viewing 15 posts - 21,256 through 21,270 (of 26,484 total)