Viewing 15 posts - 2,926 through 2,940 (of 13,461 total)
like SQLSACT said, you need something in place already to get "by hour" counts.
for example, this query gets the # of rows in each table. if you saved the results...
November 19, 2013 at 7:02 am
late response, but here's my advice: switch to using the 2012 SSMS immediately.
the differences are minor, but they are there, and there's no valid reason to be afraid of the...
November 19, 2013 at 6:16 am
Perry Whittle (11/19/2013)
sunny.tjk (11/18/2013)
The steps of the job are(1)start trace
(2)run the trace for 2 mins
(3)stop trace
??
Like Perry, I'm not sure where the question is, but i'll throw out a...
November 19, 2013 at 6:09 am
my first guess is that you ar emissing a GO statement;
you've got the CREATE / ALTER, and then a call of the same proc on the last line...so it calls...
November 18, 2013 at 2:49 pm
raysteve43 (11/18/2013)
November 18, 2013 at 2:45 pm
answering my own question:
found a post that referenced "linked server" along with the error;
it pointed out that toggling this option on the linked server from true to false resolved the...
November 18, 2013 at 12:40 pm
assuming you would join Source_X_Entity to the other two tables ,
i would think that if you create a non clustered index on Entity(NaturalKey), or maybe a non cluster on(Entity(EntityID)...
November 18, 2013 at 9:14 am
benjamin.reyes (11/18/2013)
Sounds like a good use case for a logon trigger.
but a logon trigger would not tell what or when a database was accessed; it only fires at login, and...
November 18, 2013 at 9:03 am
yeah that's one of the problems with a linked server; data gets copied over to tempdb, and then joined to your data locally, so you could see a million+ row...
November 18, 2013 at 8:59 am
ahperez (11/18/2013)
November 18, 2013 at 7:56 am
temp_int_field DOES NOT EXIST in #sub_table, it's a column in #temp.
because you are not aliasing your columns, it isn't obvious that that is the issue at first glance.
--this works, becuase...
November 18, 2013 at 7:46 am
George i have the Redgate SQL Search plugin added, and it searches meta data only: object names from sys.objects, and definition text from sql_modules.
Sean Lange And I have a couple...
November 18, 2013 at 7:16 am
winston, i think one of the built in extended events session templates, along with where you would add a filter on database Id, is probably what i'd look at first.
In...
November 18, 2013 at 6:29 am
i think there is a built in function for that, [&UserID], right?
November 15, 2013 at 2:01 pm
dba schema, or was that a misspelled dbo?
here's my code modified to use your table...if you spelled your tables and columns right, i think this will work as advertised, assuming...
November 15, 2013 at 1:07 pm
Viewing 15 posts - 2,926 through 2,940 (of 13,461 total)