Viewing 15 posts - 721 through 735 (of 1,193 total)
Yes, nesting does make things a bit more complicated, as you have to be sure to use that logging technique at each level if each level has something you need...
December 26, 2015 at 1:57 pm
You could write whatever you want to write to the logging table to a table variable within the transaction, and then write from the table variable to the logging table...
December 26, 2015 at 1:13 pm
mpdillon (12/23/2015)
Thank you for your efforts. So that other who read this will have a better understanding without having to recreate the tables and queries, I have added a Identity...
December 24, 2015 at 2:00 pm
You can use the backup_size column in the backupset table in msdb to look at size for backups you don't still have in the file system.
Cheers!
December 24, 2015 at 1:46 pm
Some DDL for the tables and some sample data would help us more certainly answer that.
Having said that, unless something got lost in copy/paste translation, it looks like there are...
December 24, 2015 at 1:16 pm
Eric M Russell (12/23/2015)
Yeah, but could you reproduce the non-blocking behaviour?
Heh, got wrapped up in trying to explain all the results and left out that fairly important part. :hehe: Yes,...
December 23, 2015 at 2:39 pm
Eric M Russell (12/23/2015)
December 23, 2015 at 1:37 pm
If I understand the requirements correctly, something like this should work:
CREATE TABLE #test (filemonth int, startmonth int, frequency int);
INSERT INTO #test
VALUES (5,10,6),
...
December 22, 2015 at 10:08 am
You need to figure out why the log is growing first. If the log is actively growing then you likely won't be able to shrink it anyway.
Check the log_reuse_wait_desc in...
December 22, 2015 at 9:47 am
MadAdmin (12/22/2015)
Jacob Wilkins (12/22/2015)
CREATE TABLE #test (some_string varchar(max));
INSERT INTO #test
SELECT TOP 1000000 ac1.name
FROM ...
December 22, 2015 at 9:39 am
In addition to what Eric said, it's not altogether uncommon for some queries to exhibit decreased performance after adding processors or cores.
Sometimes SQL Server thinks a parallel plan is a...
December 22, 2015 at 9:31 am
Eirikur Eiriksson (12/22/2015)
ScottPletcher (12/21/2015)
December 22, 2015 at 8:46 am
Caspian Canuck (12/21/2015)
December 21, 2015 at 3:30 pm
If you literally mean just sending to multiple email addresses, those recipient parameters all accept semicolon-delimited lists, like so:
@recipients='email1@someprovider;email2@someprovider;email3@someprovider;email4@someprovider',
Cheers!
December 21, 2015 at 10:27 am
The fact that a column-level statistics object gets created for the RowNum column means nothing more nor less than that you have auto_create_statistics on for database in question.
When that is...
December 21, 2015 at 9:02 am
Viewing 15 posts - 721 through 735 (of 1,193 total)