Viewing 15 posts - 4,381 through 4,395 (of 7,191 total)
Paul, there's also the possibility that he's backing up to the same file without using WITH INIT, which is why I asked him to run RESTORE HEADERONLY. This is...
August 24, 2012 at 8:51 am
Well, if this hasn't been working for two months, chances are that you really do have a log file that's so large that you can't fit the backup on your...
August 24, 2012 at 8:22 am
Point taken, Drew - I should have phrased it better and said "your code would be clearer if" rather than "you need to". You're right that there's no syntactical...
August 24, 2012 at 8:15 am
You need to handle all eventualities once and once only in your case expression - something like this:
...
CASE WHEN Interval < 1 THEN 'X'
WHEN Interval >= 1 AND Interval <...
August 24, 2012 at 4:49 am
Something like this?
DECLARE @Years nvarchar(12)
SELECT @Years = CASE @@LANGUAGE
WHEN 'us_english' THEN N'years'
WHEN 'Français' THEN N'ans'
WHEN 'Español' THEN N'años'
-- etc
-- etc
END
John
August 24, 2012 at 1:50 am
Horses for courses. I use INFORMATION_SCHEMA views because, in many situations (such as the one in this thread), they expose all the information I need in one view, without...
August 23, 2012 at 5:07 am
As Chris says, nobody's laughing or joking - just trying to talk you out of what would be a bad idea.
Is the "Lead" you refer to a technical lead? ...
August 23, 2012 at 4:52 am
Thanks Gail. If anyone else is reading this and is struggling with it as much as I was, here's a full discussion:
http://www.sqlskills.com/BLOGS/KIMBERLY/post/UnderstandingDuplicateIndexes.aspx
John
August 23, 2012 at 3:40 am
GilaMonster (8/23/2012)
"Each index row contains the nonclustered key value, a row locator and any included,...
August 23, 2012 at 2:30 am
opc.three (8/22/2012)
August 23, 2012 at 1:46 am
GilaMonster (8/22/2012)
August 22, 2012 at 9:43 am
Juanita
Can I just clarify - are both indexes on the same single column?
To answer your question, I think you need to assume that one of the indexes was created unique...
August 22, 2012 at 9:17 am
You won't get any performance improvement from doing this, and will just end up with a load of objects you don't need. I advise you not to do it.
If...
August 22, 2012 at 1:49 am
Don't use Profiler. Set up a server-side trace. It uses less resource than Profiler.
John
August 21, 2012 at 8:11 am
Did you restart the Integration Services service after making the change? Is the SQL Browser service running? Do you have a named instance, or a default instance? ...
August 21, 2012 at 7:37 am
Viewing 15 posts - 4,381 through 4,395 (of 7,191 total)