Business needs vs dirty reads
I have worked in many industries, but most of my time has been in the publishing industry. For those not...
2010-03-12
307 reads
I have worked in many industries, but most of my time has been in the publishing industry. For those not...
2010-03-12
307 reads
There are a few ways to get data from a client to your system; FTP or email. Internally we tend...
2010-02-24
634 reads
In a previous post I showed you how to access variables from within an SSIS script component. More specifically I...
2010-02-17
788 reads
In a previous post I showed you how to access variables from within an SSIS script component. More specifically I...
2010-02-16
4,587 reads
I am excited to say I have been published on Simple-Talk. This was my first foray into being professionally edited. I...
2010-02-09
336 reads
I am excited to say I have been published on Simple-Talk. This was my first foray into being professionally edited. I...
2010-02-08
339 reads
I have been trying for a few days to implement a Service Broker implementation to, service the threading framework I...
2010-02-07
557 reads
I have been trying for a few days to implement a Service Broker implementation to, service the threading framework I...
2010-02-07
1,803 reads
In a previous post I explained how to trap for errors in your Script Task and Components and send the information to the SSIS...
2010-02-01
4,798 reads
Using a Try/Catch/Finally within your Script Components and Script Tasks is just good coding practice. The thing you want to be able to do is push...
2010-01-30
2,610 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