📜  alter schema sql server - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:05.943000             🧑  作者: Mango

代码示例3
IF (NOT EXISTS (SELECT * FROM sys.schemas WHERE name = 'exe')) 
BEGIN
    EXEC ('CREATE SCHEMA [exe] AUTHORIZATION [dbo]')
END