SQL Server : Implementation of Table Valued Parameter (TVP)
Some time there will be situation in application , where a
grid is populated with data and user has option to edit...
2012-08-09 (first published: 2012-08-01)
6,360 reads
Some time there will be situation in application , where a
grid is populated with data and user has option to edit...
2012-08-09 (first published: 2012-08-01)
6,360 reads
There have been a few times when I have created SSAS partitions outside of BIDS using script code in an...
2012-08-01
1,034 reads
T-SQL Script to create a SQL Mirroring:-
The first thing you need to do when setting up Database Mirroring is perform...
2012-08-01
20,355 reads
If you’re moving to a fully-fledged SQL database as part of Azure you may never even touch SQL Server Management...
2012-08-10 (first published: 2012-08-01)
2,739 reads
In SSAS we build what’s known as a UDM, or Unified Dimensional Model, over the top of a database schema,...
2012-08-01
7,112 reads
“You’re only as good as your last restore”
I’ve no idea who originally said that – but it probably qualifies as DBA...
2012-08-01
1,061 reads
SQL Injection is a widely known issue with databases that work as back-ends for websites and applications. In the most...
2012-08-01
675 reads
We are all living in a fast moving world, especially in the IT industry. We have to learn new technologies...
2012-08-01
505 reads
We are all living in a fast moving world, especially in the IT industry. We have to
learn new technologies every...
2012-08-01
1,316 reads
On July 17, Microsoft released two new Cumulative Updates for SQL Server 2008. The first cumulative update is SQL Server...
2012-08-01
963 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