有没有办法用 SQL Management 编写模式脚本?

Is there a way to script a schema with SQL Management?

有没有办法将架构(当前存在)编写成 SQL 管理中的脚本(类似于编写 table 的方式)?

是的。安全 -> 架构 -> SelectedSchema -> 脚本架构为...

这是在 mydatabase 中创建临时模式的脚本。但是,您需要知道授权!

USE [mydatabase]
GO
CREATE SCHEMA [temp] AUTHORIZATION [myautorisation]