Viewing 15 posts - 3,226 through 3,240 (of 14,953 total)
timscronin (9/29/2011)
Would everyone agree to rebuild all stats at least on a weekly basis?
Nope. Should be hanlded based on what's actually needed, not on some blanket expectation that weekly...
September 29, 2011 at 12:23 pm
According to the error message, the filename is invalid. Have you made sure the file is where the package expects it to be?
September 29, 2011 at 11:35 am
Something else is accessing the index at the same time, and it can't just wait for it to finish.
Dropping a clustered index in a production database is usually something you'd...
September 29, 2011 at 11:33 am
The way most RDBMSs do this is with a sub-query, or Merge.
UPDATE dbo.MyTable
SET MyColumn1 =
(SELECT MyColumnA
FROM dbo.MyOtherTable
...
September 29, 2011 at 11:26 am
Your maximum rowsize with that set up is 35,000 characters. SQL Server really doesn't support that.
Why such a huge table? What possible use is 350 columns of 100...
September 29, 2011 at 11:19 am
Rebuild redoes the stats. Reorganize doesn't. That's documented behavior.
So, if you rebuild, you already have a stat update, and doing another one (which a lot of people do)...
September 29, 2011 at 11:17 am
First, permissions. Does the SQL service account have access to the UNC path?
Second, is the file open in another process? I've seen that error when I accidentally left...
September 29, 2011 at 7:23 am
The only way I can think of to do it would be to insert the value into a table column defined in such a way that it would give a...
September 29, 2011 at 7:20 am
I have virtual junk drawers full of database scripts and notes from old projects, but when it comes to hardware, I tend to throw things away pretty aggressively.
September 29, 2011 at 6:47 am
No, the other query formats were just to see what the SQL engine is doing behind the scenes in building it's execution plans. No need to do anything more...
September 29, 2011 at 6:37 am
Elliott Berkihiser (9/28/2011)
September 29, 2011 at 6:29 am
GilaMonster (9/29/2011)
Wooooooooot!!!!!!!!!!!!!!!!!!2 years, many, many weekends, late nights and a mad rush to the end (and I'm not even counting the ones Jonathan did), it's here
Awesome!
September 29, 2011 at 6:21 am
select *
from dbo.MyTable
order by case Users when 'ALL' then 1 else 2 end, Users ;
That avoids even things like entries that begin with low-ASCII-value punctuation coming before "ALL".
September 28, 2011 at 1:44 pm
Simply put, we as a society put too much value on money.
September 28, 2011 at 1:41 pm
Try master.dbo.sysdatabases. I think that's what it was called in SQL 2000. It's sys.databases in 2005 and beyond.
You can query that, and it has the recovery model in...
September 28, 2011 at 1:39 pm
Viewing 15 posts - 3,226 through 3,240 (of 14,953 total)