SQL Server: DBCC CHECKDB Command with Complete Explanation
SQL Server is used widely for the management of database. It is possible that the data gets corrupt due to...
2017-03-17
2,558 reads
SQL Server is used widely for the management of database. It is possible that the data gets corrupt due to...
2017-03-17
2,558 reads
This is hardly breaking news, but it’s important to know: when using NOLOCK table hints in SQL Server, it can...
2017-03-17
3,144 reads
Please join the PASS Excel Business Intelligence Virtual Group onn March 22nd 11AM Eastern for Microsoft’s Program manager Alexander Lahuerta....
2017-03-17
525 reads
As this is being posted I’m on my way up to Dublin Airport to catch my flight to Iceland ready...
2017-03-17
303 reads
I wrote a short article on enabling and disabling trace flags. You can read it, but I didn’t really discuss...
2017-03-31 (first published: 2017-03-16)
1,951 reads
Recently, I was tasked with “enhancing” a third party application. This third party application (TPA) outputs a bunch of files...
2017-03-30 (first published: 2017-03-16)
2,296 reads
Compressing your backups has very few downsides. It’s usually faster (the additional time for compression is less than the time...
2017-04-03 (first published: 2017-03-16)
1,691 reads
It's been 2.5 years since I last spoke atSQLSaturday Birmingham, and I'm eager to make a return, this time with...
2017-03-16
295 reads
By Chris Gibson
This is the debut blog post of Chris Gibson. Chris is in expert in Microsoft Windows and is...
2017-03-16
1,490 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-03-15
612 reads
By Steve Jones
I was experimenting with CHOOSE() recently after I was asked a question. In a...
By DesertDBA
I did not expect 27 responses to my T-SQL Tuesday #204 invitation, but it...
Should you adopt an off-the-shelf AI tool, partner with a specialist, build in-house, or...
Jl. Zainul Arifin No.78, Sukoharjo, Kec. Klojen, Kota Malang, Jawa Timur 65118
Jl. Thamrin No.8, Lawang, Kec. Lawang, Kabupaten Malang, Jawa Timur 65211
Has anyone ever seen this before? I have sysadmin permission on a server. I...
I run this query:
SELECT s.name AS schemaname , o.name AS objectname FROM sys.objects o INNER JOIN sys.schemas s ON s.schema_id = o.schema_id WHERE o.name = 'Beer'I get two rows back for the objects, named dbo.beer and etl.beer. Both the tables have identical schemas and are not partitioned. There are 25 rows in dbo.beer and 0 rows in etl.beer. I run this code:
ALTER TABLE dbo.beer switch TO etl.beerWhat happens? See possible answers