Viewing 15 posts - 916 through 930 (of 3,348 total)
Yes, you are right. I had overlooked that. Both rewrites of the ORDER BY are incorrect, it needs to be kept as it was (with the ISNULL or with a...
February 5, 2016 at 9:19 am
Does the database have a huge transaction log file? Instant file initialization applies to data files only; log files always have to be zeroed.
Does the create database script from TFS...
February 5, 2016 at 9:14 am
Instead of guessing, I recommend you open the queries and stored procedures (or packages if you use SSIS) used in the ETL process. Looking at the code allows you to...
February 5, 2016 at 6:53 am
Without knowing more about your loading process, it's hard to really comment.
Generally, a staging table is where possibly dirty data is loaded; after that it is cleansed and the clean...
February 5, 2016 at 3:33 am
MMartin1 (2/4/2016)
The problem with assigning an auto-incrementing id as the primary key is that it does nothing. Imagine a data entry typist accidentally leaning on the keyboard for a while,...
February 5, 2016 at 3:15 am
Sergiy (2/4/2016)
Hugo Kornelis (1/21/2016)
Bill Talada (1/21/2016)
Without uniqueness, sql is forced to use rowids to find rows on a page.
Not true. Without a clustered index (i.e., in a heap), SQL Server...
February 5, 2016 at 2:58 am
DBADave (2/4/2016)
Permissions should be limited to the drives that makeup the current database.
The only way to ensure that users with the rights to create databses or create backups stay within...
February 5, 2016 at 2:51 am
Gianluca, how will using this stored procedure be more useful to the OP then just adding a jobstep at the end of each job to start the next job?
February 5, 2016 at 2:39 am
Your question is not clear. And changing midway from TableA to Horses doesn't help either.
Please visit this link: http://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/%5B/url%5D to find out what information we need to help you, and...
February 5, 2016 at 2:30 am
If you already have ten jobs in Agent that work fine, and now you want to make them run sequentially, then use what Michael posted and what I explained:
* First...
February 5, 2016 at 2:27 am
ChrisM@Work (2/5/2016)
ORDER BY MC.TerminationDate, MC.EffectiveDate DESC
I didn't go over all your modifications, but this one just struck my eye.
I think you intended this to be:
ORDER BY MC.TerminationDate DESC, MC.EffectiveDate DESC
February 5, 2016 at 2:23 am
Tuning is never simple, and especially tuning a complex query such as the one you posted can be a challenge.
You say that you want to replace the OUTER APPLY. Why?...
February 5, 2016 at 2:17 am
georgheretis (2/4/2016)
i want in series but i need probably to create an new job in sql server agent in order to run it
so can i create an new job called...
February 4, 2016 at 1:21 pm
PS: Yes, I know that was blunt. Please pass it on unchanged to whoever asked that question of you.
If you give a recommendation and it backfires, it will be your...
February 4, 2016 at 1:12 pm
So the initial size may be anything from 5MB to 200TB?
And the growth can be anything from none at all to 5000 Yottabytes per hour?
And you probably have no information...
February 4, 2016 at 1:09 pm
Viewing 15 posts - 916 through 930 (of 3,348 total)