Viewing 15 posts - 46 through 60 (of 147 total)
Do you really need to shrink TempDB at all?
It has grown because the SQL Server database engine needs to use, either because of explicit temporary objects or because of implicit...
July 15, 2009 at 11:22 pm
If the other 3 "indices" are named "_WA_Sys..." then they're auto-generated statistics that SQL Server has created on non-indexed columns.
When the AutoCreateStatistics is turned on for a database the presence...
July 9, 2009 at 7:21 pm
You have to have done the full restore with NORECOVERY (or STANDBY) before you will be able to append any log or differential backups to the restored database. If...
July 9, 2009 at 7:08 pm
The first thing I'd do is to rebuild all the indices on all tables, or at a minimum the tables you've deleted data from. You may have many free...
July 9, 2009 at 5:11 pm
I'm always amazed by how passionate people are about different naming/case standards.
Personally I tend to use "prefixed Camel notation" (eg. tblMyTable or fnMyFunction) for my personal development activities, but I'm...
July 8, 2009 at 7:47 pm
I'm always amazed by how passionate people are about different naming/case standards.
Personally I tend to use "prefixed Camel notation" (eg. tblMyTable or fnMyFunction) for my personal development activities, but I'm...
July 8, 2009 at 7:46 pm
When you rebuild an index, SQL Server "populates" a new copy of the index, then deletes the old version once the new one has been created (this way there's no...
June 29, 2009 at 12:54 am
G'day Badra.
You should omit the log truncate and log shrink steps.
If the system falls over during your full backup but you've truncated the log you will not be able to...
June 24, 2009 at 10:50 pm
In itself it won't make any difference to performance. The performance for an nvarchar(1) (not that there should be such a thing) and and nvarchar(1000) will be identical if...
June 23, 2009 at 7:58 pm
Without an ORDER BY clause there is no guarantee that SQL Server will return the same row every time.
As a very simplistic example, say someone has just done a query...
June 18, 2009 at 6:08 pm
There appears to be some confusion here around what is stored in the transaction log and the database and what a log backup does.
Writes to the SQL database (inserts, updates...
June 18, 2009 at 4:41 pm
Have a look in Books Online regarding "String Functions". There's one there that does exactly what you want.
June 17, 2009 at 12:23 am
Don't forget that the underscore character is treated as a a single-character wildcard, not an explicit character.
June 17, 2009 at 12:08 am
Using AWE will be slower than using "natively-addressed" memory, especially if you are churning those AWE "pages".
Have you included the /3GB switch in your boot.ini? That will give SQL...
June 16, 2009 at 11:45 pm
There's very few systems that are purely transactional: there's nearly always some sort of reporting being done on them. If you're lucky that's done in an out-of-hours batch window,...
June 14, 2009 at 6:26 pm
Viewing 15 posts - 46 through 60 (of 147 total)