Viewing 15 posts - 6,526 through 6,540 (of 13,460 total)
Doesn't the login takes place BEFORE any session is created, and thus before any rows could exist in sys.dm_exec_sessions?
I think you need something testing ORIGINAL_LOGIN() and
APP_NAME() is...
Lowell
October 18, 2011 at 7:26 am
nice Mark! ,because my Tally Table starts at 1 and not Zero, for me it's missing the group that starts with 'A', but it was trivial to change that.
Lowell
October 18, 2011 at 7:08 am
wierd, gotta be an issue i have not seen;
when i scripted your table and index, i get good, clean results.
can you try the latest sp_GetDDLa to be sure, this is...
Lowell
October 18, 2011 at 7:01 am
What i tend to do a lot is to create a view that will allow me to access the trace you created;
then i can simply do something as simple as...
Lowell
October 18, 2011 at 6:34 am
there are a few script contributions here on SSC that folks have done, that will do what you are asking:
http://www.sqlservercentral.com/search/?q=script+jobs&t=s
Lowell
October 18, 2011 at 6:25 am
CREATE INDEX [ CODE ] ...
Lowell
October 18, 2011 at 6:10 am
you'll have to group by the incremental that you want to track.
here's a rough example, where i'm just guessing at your table structure, but assuming all times have millisecodns in...
Lowell
October 17, 2011 at 6:25 pm
Looks a lot like homework, so I'll offere a hint to help you get along.
you need to use GROUP BY employee along with a count(); i think that will get...
Lowell
October 17, 2011 at 2:00 pm
Elliott Whitlow (10/17/2011)
Are you the Lowell who wrote the docs for it from the discussion on there? I just added a tweaked up version as a docx file last week.CEWII
yes,...
Lowell
October 17, 2011 at 1:29 pm
Elliott Whitlow (10/17/2011)
Lowell
October 17, 2011 at 12:28 pm
kbleeker (10/17/2011)
I'm sure you're not expecting a reply so long since you last updated, but here it is. This SP is absolutely fantastic - a work of art -...
Lowell
October 17, 2011 at 11:31 am
i went down this rabbit hole once or twice;
I started building a catch all script that changed everything i could think of...so if a column changed from [SQL_Latin1_General_CP1_CI_AS] to...
Lowell
October 17, 2011 at 11:02 am
perfectly normal;
the SQL server may create temp tables all on it's own to handle things like sorting operations for a dataset to be returned; they don't have to be explicitly...
Lowell
October 17, 2011 at 10:39 am
based ont he exact example Eddie posted above, his example worked and compiled just fine on my machine.
NO EXEC didn't raise any errors at all;
Waht was your exact error?...
Lowell
October 17, 2011 at 9:50 am
i don't believe the index_creation_date / modify date exists(or at least is exposed); i posed a similar question ofn when is a server side trace Creation_date...it's not available eaither...jsut when...
Lowell
October 17, 2011 at 6:21 am
Viewing 15 posts - 6,526 through 6,540 (of 13,460 total)