Viewing 15 posts - 6,586 through 6,600 (of 7,600 total)
Lynn Pettis (4/4/2013)
ScottPletcher (4/4/2013)
I...
April 4, 2013 at 3:01 pm
Agree absolutely. Can you not specify any time of date range to help limit the rows to be processed?
And, what the heck, maybe try this first too:
SELECT CASE WHEN...
April 4, 2013 at 1:19 pm
rajarshi_ghosh_05 (4/4/2013)
ScottPletcher (4/4/2013)
April 4, 2013 at 1:06 pm
Sean Lange (4/4/2013)
ScottPletcher (4/4/2013)
SELECT RefNumber
FROM #Data d
GROUP BY RefNumber
HAVING
COUNT(DISTINCT EntryType) = 3 AND
MAX(CASE WHEN EntryType NOT IN ( 0, 2, 11 )...
April 4, 2013 at 12:50 pm
It sounded like one of those types of processes, where you basically just need a temporary "cache" of results / report. Typically those are easy enough for a user...
April 4, 2013 at 12:23 pm
You're vastly more likely to lose a single connection than have the entire instance go down, which would kill a temp table from that connection as well.
I mean, seriously, if...
April 4, 2013 at 12:20 pm
SELECT
LEFT(File, 4) AS File,
MAX(CASE WHEN SUBSTRING(File, 6, 1) = '' THEN Description ELSE '' END) AS Description,
SUM(Points)...
April 4, 2013 at 11:00 am
SELECT RefNumber
FROM #Data d
GROUP BY RefNumber
HAVING
COUNT(DISTINCT EntryType) = 3 AND
MAX(CASE WHEN EntryType NOT IN ( 0, 2, 11 ) THEN 1 ELSE...
April 4, 2013 at 10:49 am
Lynn Pettis (4/4/2013)
ScottPletcher (4/1/2013)
sharky (3/31/2013)
Lynn Pettis (3/29/2013)
SQLRNNR (3/29/2013)
Lynn Pettis (3/29/2013)
ScottPletcher (3/29/2013)
April 4, 2013 at 8:56 am
jasona.work (4/3/2013)
ScottPletcher, Once the SP Admin gets done with clearing out the old audit information, actually reducing the on-disk size of the logs (and as you suggest, setting their...
April 3, 2013 at 10:50 am
Overall that sounds reasonable, given that you are in an emergency situation.
About how long might it be before SQL auto-truncates the logs? Can I "force" it to happen sooner by...
April 3, 2013 at 10:24 am
It's a huge waste to do a separate SELECT from the table for each column.
You can do a MAX(LEN(column_name)) for all columns in one SELECT statement, and hopefully thus do...
April 2, 2013 at 3:37 pm
Yes, additional writes can occur to the log after you start a log backup.
But the log backup itself will contain only logs records up to the time the log backup...
April 2, 2013 at 12:44 pm
SELECT
, segment, value
FROM (
SELECT
, segment, value,
ROW_NUMBER()...
April 1, 2013 at 3:44 pm
asm1212 (4/1/2013)
So is there not a trigger that will allow the transaction to happen and once it completes, a trigger will fire off?
Not in that sense, no.
Triggers are designed to...
April 1, 2013 at 3:38 pm
Viewing 15 posts - 6,586 through 6,600 (of 7,600 total)