Viewing 15 posts - 12,676 through 12,690 (of 14,953 total)
It depends on the logging options you use. If, for example, you just do a heap-dump (all-column-insert) from "inserted" in triggers, you get really fast, really simple logging. ...
July 22, 2008 at 2:45 pm
Run a trace (or Profiler, I guess), and find out what query or queries are causing the long waits.
You might also take a look at the growth options on the...
July 22, 2008 at 2:18 pm
You can change that in the connection options in Access. File -> Connection
July 22, 2008 at 2:15 pm
Jack Corbett (7/22/2008)
GSquared (7/22/2008)
Manually modifying that kind of stuff in system databases always...
July 22, 2008 at 2:14 pm
I recommend against messing around with the code in msdb. Don't change the trigger, don't add one.
Manually modifying that kind of stuff in system databases always bothers me.
July 22, 2008 at 1:53 pm
CrazyMan (7/22/2008)
the View has to check on this 2 conditions and then return the 2 values and...
July 22, 2008 at 12:30 pm
If there's a trigger-based audit log, that's the place to check. It's not a standard feature, you'll have to find out how it's set up in your particular database.
Otherwise,...
July 22, 2008 at 12:27 pm
With the little you've given, all I can really say is "make sure you have enough drive space".
July 22, 2008 at 12:18 pm
The first one looks like it needs a Sum() function in it. Look up aggregate functions, and "SUM" specifically, in Books Online. That should give you what you...
July 22, 2008 at 12:16 pm
As a side comment, from the original post on this thread, don't name your procs with "sp_" at the start of the name. Reduces database performance, because that makes...
July 22, 2008 at 12:08 pm
Since you're not passing any parameters to the proc/view, it should be possible with a view.
I don't have your tables, so here's a generic version:
create view RowExists
as
select (cast 1 as...
July 22, 2008 at 12:03 pm
You can add a column to the final select with an inline count of the CTE's rows. But if you're doing anything that complex, temp tables is probably a...
July 22, 2008 at 11:57 am
Thank you for the compliment on my posts. I try to do my best on them.
No matter how one exposes a server, or what software it's running, if it's...
July 22, 2008 at 11:55 am
Viewing 15 posts - 12,676 through 12,690 (of 14,953 total)