Viewing 15 posts - 17,236 through 17,250 (of 59,102 total)
TheSQLGuru (7/19/2016)
Jeff Moden (7/19/2016)
smthembu (7/19/2016)
@Gail, what else to look for?
Can't speak for Gail but my suggestion would be... a small amount of money to at least quadruple memory or spend...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 8:09 pm
smthembu (7/19/2016)
@Gail, what else to look for?
Can't speak for Gail but my suggestion would be... a small amount of money to at least quadruple memory or spend some time fixing...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 7:46 pm
CELKO (7/19/2016)
As an aside, the "parameter versus argument"...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 7:36 pm
Never mind. Post removed.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 7:19 pm
ocean3300 (7/19/2016)
If you want to display sum(omlExtendedPriceBase) as 0 if the value is null, use ISNULL(SUM(omlExtendedPriceBase),0).
That's one of the many reasons why I don't use PIVOT. A good ol'...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2016 at 6:59 pm
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
Viewing 15 posts - 17,236 through 17,250 (of 59,102 total)