How do I change db schema to dbo

DECLARE @OldSchema VARCHAR(200)
DECLARE @NewSchema VARCHAR(200)
DECLARE @SQL nvarchar(4000)
SET @OldSchema = 'Adbo'
SET @NewSchema = 'dbo'

DECLARE tableCursor CURSOR FAST_FORWARD FOR 
    SELECT 'ALTER SCHEMA  ['+ @NewSchema +'] TRANSFER [' + SysSchemas.Name + '].[' + DbObjects.Name + '];' AS Cmd
    FROM sys.Objects DbObjects
    INNER JOIN sys.Schemas SysSchemas ON DbObjects.schema_id = SysSchemas.schema_id
    WHERE SysSchemas.Name = @OldSchema
    AND (DbObjects.Type IN ('U', 'P', 'V'))
OPEN tableCursor 
FETCH NEXT FROM tableCursor INTO  @SQL
WHILE @@FETCH_STATUS = 0
BEGIN
    PRINT @SQL
    EXEC (@SQL)
    FETCH NEXT FROM tableCursor INTO  @SQL
END
CLOSE tableCursor 
DEALLOCATE tableCursor 
PRINT '*** Finished ***'
 


KENDİME NOTLAR
An error occurred while starting the application.
Centos 7 Plesk 80 ve 443 Nolu Portları Kapanmış
Whmcs Fatal error: Uncaught PDOException: SQLSTATE[42000]
Membership (Üye Yönetimi) ve Rol Management (Rol Yönetimi)
Whmcs Admin login Error
Gmail SMTP Hatası : 5.5.1 Authentication Required. Learn more at
There are some very good open source responsive admin templates based on Bootstrap
net::err_unknown_url_scheme xamarin
The request was aborted: Could not create SSL/TLS secure channel
Wordpress API - XML-RPC.NET
Visual Studio 2015 İndir / Download
ARC Welder
Whmcs Talepler
C Sayfa Yönlendir
SQL SELECT INTO Statement
Sunucu Saatini Geri Almak
Whmcs Pleskde Siteleri Ayrı Ayrı Hesaplar Altında Açması İçin
Sunucu ve Plesk İlk Kurulurken
Plesk Panel/IIS 7.0 da .pfx Uzantılı SSL Sertifikası Yükleme
Reason: Remote SMTP Server Returned: 550 Requested action not taken: mailbox unavailable or not local
YukariCik