Does the SQL Server Database Filename Matter?
Do you know the basics of how to create a database? Hopefully you do and can do so without the...
2013-01-17
2,826 reads
Do you know the basics of how to create a database? Hopefully you do and can do so without the...
2013-01-17
2,826 reads
Page Verify = Checksum is one option which I like all my servers to be compliant. By default all the new...
2013-01-17
1,063 reads
After installing SP1 to SQL Server 2012 (11.0.3000) on one of our servers, I noticed higher than normal CPU loads due to...
2013-01-17
1,245 reads
Thanks for agreeing to do this James; I know as you run your own company your time is billable!
Before we...
2013-01-17
1,544 reads
From time to time, you might have caught yourself in a conversation similar to the following:
Fred: Hey folks, we have...
2013-01-17
1,282 reads
For those who has the privilege of being in the technology consulting industry for some time and started out in...
2013-01-17
403 reads
Back in November 2012, I shared a story about checking the last known good checkdb in the boot page of a database. You can read that story here. This...
2013-01-17
17 reads
Back in November 2012, I shared a story about checking the last known good checkdb in the boot page of...
2013-01-17
1,249 reads
What does cash over credit have to deal with security? An awful lot, as it turns out.
Personal Story: Mere days...
2013-01-17
1,230 reads
Welcome back to my 31 Days of Disaster Recovery series. Today is day 15, and I want to answer a...
2013-01-17
1,430 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