Viewing 15 posts - 17,206 through 17,220 (of 59,067 total)
randy.moodispaugh (7/19/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 3:12 pm
markoos1 (7/19/2016)
This could also be from lack of instant file initialization. http://mattslocumsql.blogspot.com/2014/02/why-are-my-database-restores-so-slow.html
A similar problem, which "Instant File Initialization" provides no help for is the number of VLFs contained in...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 3:09 pm
gjuarez (7/19/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 3:04 pm
And stats. Small change in stats can make for wildly different executions.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 12:43 pm
John Mitchell-245523 (7/19/2016)
RESTORE is not allowed in an explicit or implicit transaction.
By the way, I don't think you need to switch back...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 12:41 pm
pietlinden (7/18/2016)
-- create a cursor to loop over this result set
/* create a cursor to loop through each table... */
DECLARE @CmdLine AS NVARCHAR(200);
DECLARE @CmdCursor AS CURSOR;
SET @CmdCursor =...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 12:10 am
Marcia J (6/25/2014)
What are some real-life examples of using the While statement that don't involve RBAR code?
Creating dynamic SQL for backups.
The "Bin Fill" and "Load Balancing" problems are classic problems...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2016 at 9:29 pm
If it were me, I'd write a loop to step through the tables to create a BCP command that did a SELECT * from each table and then use xp_CmdShell...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2016 at 9:27 pm
TheSQLGuru (7/15/2016)
SQLBuzz (7/15/2016)
LogicalCPUs on Prod is 32
LogicalCPUs on Dev is 40
MAX DOP Setting on...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2016 at 9:17 pm
This is why you shouldn't install SQL Server on local hard drives like the C: drive.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2016 at 8:52 pm
Do the tables all have the same columns?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2016 at 8:48 pm
Lynn Pettis (7/18/2016)
Michelle-138172 (7/18/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2016 at 8:35 pm
Hi Scott,
A properly formed rCTE will traverse a well formed million node hierarchy in less than a minute on most machines. If it doesn't, with the code is incorrect...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2016 at 7:14 pm
lsalih (7/18/2016)
I am placing it in a package for others to use, not for my own use. Some prefer to run a package than running the script. That is...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2016 at 4:59 pm
CELKO (7/18/2016)
The SQL/PSM was primarily written by a...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2016 at 4:56 pm
Viewing 15 posts - 17,206 through 17,220 (of 59,067 total)