Viewing 15 posts - 541 through 555 (of 1,170 total)
Hi
Try this
SELECT
DB.name,
SUM(CASE WHEN type = 0 THEN MF.size * 8 / 1024.0 /1024.0 ELSE 0 END) AS DataFileSizeGB,
SUM(CASE...
June 7, 2014 at 3:54 pm
Hi
Try queries like this one for example
--For today
DECLARE @date_start datetime
SELECT @date_start = CONVERT(datetime, CONVERT(date, GETDATE()))
DECLARE @date_end datetime
SELECT @date_end = DATEADD(millisecond, -3, CONVERT(datetime, CONVERT(date, GETDATE()+1))) --SQL server datetime rounds up on...
June 3, 2014 at 3:27 pm
GilaMonster (6/2/2014)
Igor Micev (6/2/2014)
GilaMonster (6/2/2014)
Igor Micev (6/2/2014)
Can you run this set (do it on test)
dbcc dropcleanbuffers
dbcc freeproccache
dbcc freesessioncache
Why?
Sometimes when you run the same query again it uses less physical reads,...
June 2, 2014 at 5:51 am
GilaMonster (6/2/2014)
Igor Micev (6/2/2014)
Can you run this set (do it on test)
dbcc dropcleanbuffers
dbcc freeproccache
dbcc freesessioncache
Why?
Sometimes when you run the same query again it uses less physical reads, since the retrieved...
June 2, 2014 at 5:37 am
You should investigate on how the TempDB is being used. You should be able to make a kind of capacity planning for it.
For example if you're doing heavy operations into...
June 2, 2014 at 5:32 am
Hi,
Data that you posted is not the right statistics data. It's some statistics of the IO (set statistics IO on).
Can you run this set (do it on test)
dbcc dropcleanbuffers
dbcc freeproccache
dbcc...
June 2, 2014 at 5:22 am
Eirikur Eiriksson (6/1/2014)
Igor Micev (6/1/2014)
2312 - http://support.microsoft.com/kb/2801413
Use when running SQL Server 2014 with database compatibility level 110, which is the compatibility level for SQL Server 2012. Trace flag 2312 forces...
June 1, 2014 at 3:10 pm
Confusion!?
2312 - http://support.microsoft.com/kb/2801413
Use when running SQL Server 2014 with database compatibility level 110, which is the compatibility level for SQL Server 2012. Trace flag 2312 forces the query optimizer to...
June 1, 2014 at 9:10 am
vinpes (6/1/2014)
thanks for your reply.
Indeed it is the application that has to assign the purchase order number, the solution you suggest is to create a table with Identity and...
June 1, 2014 at 8:31 am
Easy one like for Friday 🙂
May 30, 2014 at 5:08 am
SQLRNNR (5/23/2014)
Temp tables can be partitioned....
May 23, 2014 at 11:06 am
Sean Pearce (5/21/2014)
Igor Micev (5/21/2014)
Sean Pearce (5/21/2014)
Igor Micev (5/21/2014)
Sean Pearce (5/21/2014)
Your claim that...
May 21, 2014 at 12:18 pm
Sean Pearce (5/21/2014)
Igor Micev (5/21/2014)
Sean Pearce (5/21/2014)
Your claim that Paul says you can't...
May 21, 2014 at 8:25 am
Megistal (5/21/2014)
The question is not quite right. Fragmentation can be removed by running this because the table is rebuilt.
Your claim that Paul says you can't...
May 21, 2014 at 8:06 am
Viewing 15 posts - 541 through 555 (of 1,170 total)