Statistics Update Clarification
By default statistics are created automatically within SQL Server. And, by default, these stats are updated automatically based on a...
2013-01-11 (first published: 2013-01-07)
2,547 reads
By default statistics are created automatically within SQL Server. And, by default, these stats are updated automatically based on a...
2013-01-11 (first published: 2013-01-07)
2,547 reads
Have you seen this type of an informational message in your SQL errorlog before? If so, then I hope the...
2013-01-07
1,185 reads
CMD code to upload file direct into root of FTP site of server
@ echo off
REM ******** this batch file is to...
2013-01-07
1,683 reads
Each login in SQL Server has a default database associated with it. When you login to SQL Server context is...
2013-01-07
1,827 reads
David Postlethwaite who contributes to this blog regularly sent me an email this morning asking about Database Auto grow.
This...
2013-01-10 (first published: 2013-01-07)
2,012 reads
Day 6 of 31 Days of Disaster Recovery: Dealing With Corruption in Allocation Pages
31 Days of Disaster Recovery
Yesterday, I...
2013-01-06
1,648 reads
I’ve had the Nest Thermostat on my wish list for a while. It has looked like an interesting bit of...
2013-01-06
1,014 reads
31 Days of Disaster Recovery
Welcome to day 5 of my series on disaster recovery. I want to start digging...
2013-01-08 (first published: 2013-01-06)
3,184 reads
I bet if you think about it there are lots of times when people ask what you think about a...
2013-01-05
865 reads
Previously I have blogged about how to check for free space in a database at a file level; a file for a database can be very large, but the...
2013-01-05
25 reads
This month’s blogging party is hosted by Jeff Ianucci – his challenge is to...
As for me, I'll keep writing whenever time permits. I don't expect every post...
By Steve Jones
This is an interesting invitation this month. Jeff Ianucci is a new host, and...
Comments posted to this topic are about the item Pay for Performance, which is...
Comments posted to this topic are about the item Switching Schemas I
Comments posted to this topic are about the item Enforcing Unique Customer Emails When...
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 one row back for an object named dbo.beer. There is an ETL schema and both of these are nonpartitioned tables. I run this code:
ALTER TABLE dbo.beer switch TO etl.beerWhat happens? See possible answers