24,413 reputation
34284
bio website blogs.msdn.com/b/sql_pfe_blog
location In the Ocean somewhere...
age
visits member for 3 years, 4 months
seen 3 hours ago

SQL Server Premier Field Engineer at Microsoft.

Twitter: @SQLife
Blog: http://blogs.msdn.com/b/sql_pfe_blog/
Email: sqlsalt [at] outlook [dot] com

Disclaimer
The views expressed on my posts on this site are mine alone and do not reflect the views of my company. All posts of mine are provided "AS IS" with no warranties, and confers no rights.

The following disclaimer applies to all code, scripts and demos available on my posts:

This Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment. THIS SAMPLE CODE AND ANY RELATED INFORMATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. We grant You a nonexclusive, royalty-free right to use and modify the Sample Code and to reproduce and distribute the object code form of the Sample Code, provided that You agree: (i) to not use Our name, logo, or trademarks to market Your software product in which the Sample Code is embedded; (ii) to include a valid copyright notice on Your software product in which the Sample Code is embedded; and (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and against any claims or lawsuits, including attorneys’ fees, that arise or result from the use or distribution of the Sample Code.


Jan
27
answered Why did my transaction log grow so much?
Jan
25
revised Transaction log for SQL Server is too big
added 167 characters in body
Jan
25
revised Transaction log for SQL Server is too big
edited body; edited tags
Jan
25
answered Transaction log for SQL Server is too big
Jan
25
comment How much disk space needed for 100GB of DBs?
It all depends on how often you plan on taking transaction log backups combined with how many logged transactions are happening between backups.
Jan
25
revised Can I retrieve all database objects owned by a particular user?
edited tags
Jan
25
revised Can I retrieve all database objects owned by a particular user?
added 547 characters in body
Jan
25
answered Can I retrieve all database objects owned by a particular user?
Jan
25
comment How to keep history of SQL Server stored procedure revisions
+1 The simplest and native way to do it. My guess is this is the answer the OP was looking for.
Jan
24
comment invalid object on a table that exists
@Marian Oh absolutely, I couldn't agree more. A classic case of IntelliSense not refreshing wouldn't cause that error when running a query.
Jan
24
comment invalid object on a table that exists
I thought your problem was also with a query...?
Jan
24
comment invalid object on a table that exists
Without seeing the exact error text, I can only think of a few things it could be: 1) the object actually doesn't exist 2) wrong database 3) the current principle doesn't have permissions on the object.
Jan
24
comment invalid object on a table that exists
My guess? You're in the context of the wrong database. Regardless, run a SQL Trace or XE session and see what exactly is happening on the database. Then you'll have your answer.
Jan
24
comment Increased RAM, Worse Performance
Here's a good starter to monitoring tempdb usage: msdn.microsoft.com/en-us/library/ms176029(v=SQL.105).aspx. This should give you an idea of what's happening.
Jan
23
revised Splitting TempDB into multiples files equal to number of CPUs
edited tags
Jan
23
comment How should I configure these disks on a SQL Server for a BI configuration?
+1 I like your recommendation. It is worth noting that if he does put tempdb on the OS drive then most definitely cap off max size for the database files. We can all agree that we don't want rogue database files filling that particular drive.
Jan
23
revised Splitting TempDB into multiples files equal to number of CPUs
added 4 characters in body
Jan
23
answered Splitting TempDB into multiples files equal to number of CPUs
Jan
23
comment Best way to index a table with two datetime columns that are equally queried
@MartinSmith Ah good point :-) I blame that on Wednesday morning.
Jan
21
comment Why don't SQL Server queries use more than 7MB/sec of disk I/O
What does sys.dm_os_waiting_tasks say as the wait type for these long duration queries?