You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
462 B

-- ----------------------------
-- 层级字段重命名
-- ----------------------------
EXEC sp_rename '[dbo].[blade_region].[level]', 'region_level', 'COLUMN';
-- ----------------------------
-- 增加用户平台字段
-- ----------------------------
ALTER TABLE [dbo].[blade_user] ADD [user_type] int
GO
EXEC sp_addextendedproperty
'MS_Description', N'用户平台',
'SCHEMA', N'dbo',
'TABLE', N'blade_user',
'COLUMN', N'user_type'