SQL Server : Index Part 3 :Explaining the Clustered Table Structure
In SQL server, there are two types of table based on the storage.A table with clustered index is called Clustered...
2013-03-12
2,906 reads
In SQL server, there are two types of table based on the storage.A table with clustered index is called Clustered...
2013-03-12
2,906 reads
In my earlier post, we have discussed about Data,GAM,SGAMand PFS pages. In this post, let us try to understand about...
2013-03-07
7,887 reads
While working with SSRS (SQL Server Reporting Service) it is very common to look into the Execution log to understand...
2013-03-06
2,602 reads
In the earlier post we tried to understand the difference between a table having clustered index and does not have a clustered...
2013-03-06
2,232 reads
In any system, logs are very important to troubleshoot the issue. In the case of windows cluster, cluster logs are...
2012-10-17
1,033 reads
While conducting interviews , I have noticed that, many people does not have clear picture about index.Many of them does not...
2012-10-11
1,394 reads
In my earlier post, we have discussed about GAM and SGAM Page and Data Page. In this postlet us discuss about...
2012-10-10
6,438 reads
As part of our DBA life , we have to configure many alert or statistical mails which gives an idea about...
2012-10-04
1,515 reads
For a DBA, SQL profiler is a great tool to trouble shoot performance issues. It is a pain to configure...
2012-10-02
1,293 reads
Often I used to get request from my business managers to get a list of all subscriptions configured in SSRS...
2012-09-27
14,826 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...
Has anyone ever seen this before? I have sysadmin permission on a server. I...
Comments posted to this topic are about the item Switching Schema II
Comments posted to this topic are about the item A Practical Approach to Automating...
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