SQL Database File Wise Disk Space Monitoring
As a DBA, you get alerts many times regarding the database file space issue. To address the issue, you may...
2017-04-21
1,211 reads
As a DBA, you get alerts many times regarding the database file space issue. To address the issue, you may...
2017-04-21
1,211 reads
I’m very pleased and delighted to share that I have been awarded Microsoft Most Valuable Professional (MVP) award 2017. This...
2017-04-14
457 reads
DMV: sys.dm_db_stats_histogram (object_id, stats_id)
For a long time, the DBCC SHOW_STATISTICS command was the only way to get information about statistics....
2017-02-22
1,020 reads
If you are dealing with a SQL Server which got a lot of memory, you may encounter the out of...
2017-02-20
1,304 reads
Recently, I experienced an interesting issue where I found SQL Server wait type PageLatch_UP went up drastically after migration. Let’s...
2017-02-06
548 reads
DMV: sys.dm_server_services
Microsoft SQL Server 2008 R2 SP1 and SQL Server 2012 has a new set of DMVs. One of them...
2017-01-11
401 reads
DMV : sys.dm_os_volume_stats
Being a SQL Server database administrator, you may often receive alerts or asked by Senior DBAs to check, if...
2017-01-09
18,057 reads
As SQL developer, you must have often come across a scenario where you need to remove the empty spaces at...
2017-01-06
2,090 reads
In this blog post. Let us learn about how to retrieve date and time when the SQL Server was installed. To retrieve...
2017-01-04
13,988 reads
HAPPY NEW YEAR 2017!!
I hope you all had a good Christmas and New Year. I always try to review my...
2017-01-01
13,334 reads
By Steve Jones
A bit of a photo dump, but a few fun memories for me from...
By ReviewMyDB
Part 2 of my What's New in SQL Server for the Developer series. STRING_SPLIT,...
Note: This is more of a note to myself than an attempt to preach...
Comments posted to this topic are about the item Black Friday Gadgets
Comments posted to this topic are about the item Protecting Multi-Step Data Changes with...
Comments posted to this topic are about the item Switching Schema III
I run these queries:
SELECT COUNT(*) FROM dbo.Beer SELECT COUNT(*) FROM etl.beerI get 25 as the result for dbo.beer and 1 for the result for etl.beer. Both tables have identical sructures and both of these are nonpartitioned tables. I run this code:
ALTER TABLE dbo.beer switch TO etl.beer go SELECT COUNT(*) FROM dbo.Beer SELECT COUNT(*) FROM etl.beerWhat happens? See possible answers