Help with removing a schema ID please ?

  • I have a table that I copied from another database that has the name

    MDCH.Hist5657

    I need to get rid of that MDCH schema and the table must reside in the dbo schema.

    Any help how to do that

    Anyway other than

    Select * INTO Hist5657 from MDCH.Hist5657

  • ALTER SCHEMA dbo TRANSFER MDCH.Hist5657;

    GO

  • DROP SCHEMA [ IF EXISTS ] schema_name

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply