Viewing 15 posts - 6,721 through 6,735 (of 7,636 total)
In all cases (Events) where you have both a starting time and an ending time, it shouldbe true that Duration = EndTime - StartTime.
If not, then something is...
June 8, 2008 at 12:04 pm
natividad.castro (6/5/2008)
Why cursor? cursors seem to do what i need...
Heh.
And, I suppose that walking will get you where you need to go.
However, not as fast or as easily as you...
June 7, 2008 at 8:29 pm
sudhakara (6/5/2008)
is there any way to find out the user name who dropped the particular table in data base ?
heh.
Select victim as [Culprit] From [Witch].[Hunt]
June 7, 2008 at 8:12 pm
I've worked on clusters almost as long as they've existed (over 20 years) and although I have heard many vendors say that when they wanted make an add-on sale, I...
June 7, 2008 at 8:05 pm
And I wouldn't use .NET to do this (at least not based on the requirements so far).
June 7, 2008 at 7:34 pm
How I would do it:
1) Implement DDL triggers/events on MainDB to catch the desired changes.
2) Use Service Broker to SEND the event XML to an EndPoint on LocalDB's server.
3) Use...
June 7, 2008 at 7:31 pm
Well the two previous responses are actually posting the same query, which would have been obvious if not for the unusal formatting of the second one.
Two points:
1) The claims...
June 7, 2008 at 7:16 pm
Have you tried what GSquared suggested? I beleive that this (putting TRY..CATCH in the inner execution) is on the right track.
What I have ended up doing in my toughest...
June 6, 2008 at 8:28 am
It depends on your actual source data constructs and content, but this should be pretty close:
CREATE function dbo.fnGetClassificationRankingByCode(@code varchar(10))
Returns TABLE
AS
RETURN ( Select i.SysID, Code, MAX(Name)
, MAX(Case When...
June 5, 2008 at 11:29 pm
Santiago E. Perez (6/5/2008)
I see your point, but I don't think that's right either.
Sorry, but it is right. I've been using this logic for over 30 years. ...
June 5, 2008 at 10:26 pm
Not sure about the rest, but this is surely wrong:
Mark Shvarts (6/5/2008)
begin catchselect error_number()
select error_message()
end catch
I believe that this should be:
begin catch
...
June 5, 2008 at 8:52 pm
Please post the code that you already have.
June 5, 2008 at 8:28 pm
Viewing 15 posts - 6,721 through 6,735 (of 7,636 total)