Quest for SQL Server
Wednesday, June 26, 2013
SQL Server Schema Transfer
-- Schema Transfer
SELECT 'ALTER SCHEMA Testing TRANSFER HumanResources.'+name
FROM sys.objects
WHERE type IN ('U','V','P','Fn')
AND SCHEMA_NAME(SCHEMA_ID) = 'HumanResources'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment