Viewing 15 posts - 6,586 through 6,600 (of 7,597 total)
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
"FOR" was used before SQL allowed BEFORE or INSTEAD triggers; there were only AFTER triggers, and the syntax used the word "FOR" instead of "AFTER".
After other trigger types were added,...
April 1, 2013 at 2:52 pm
sharky (3/31/2013)
Lynn Pettis (3/29/2013)
SQLRNNR (3/29/2013)
Lynn Pettis (3/29/2013)
ScottPletcher (3/29/2013)
The advantage to tempdb is that there is less overhead writing data there since SQL "knows" it never has to recover tempdb.
Really? ...
April 1, 2013 at 9:14 am
The advantage to tempdb is that there is less overhead writing data there since SQL "knows" it never has to recover tempdb.
March 29, 2013 at 4:13 pm
Viewing 15 posts - 6,586 through 6,600 (of 7,597 total)