In SSMS, how to save new table to non-dbo schema?

  • I know there must be a simple way to do this ... When you create a new table graphically in SSMS, it wants to save it in the dbo schema when you save the new table. I'm guessing it depends on the default schema of the user who is authenticated and creating the table? Is there an easy way to manually specify the schema when you create the table? Thanks ...


    Kindest Regards,

    DrewTheEngineer

  • You can specify the schema when you save the new table by inserting the schema name in front of the table name in the save table dialog box.

    Greg

  • You can also open up the Properties window and set it there.

    Best of all, try using TSQL. I think it's a heck of a lot easier to create tables there than with the GUI.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

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

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