示例:
IF OBJECT_ID(‘MemberExt1‘) IS NOT NULL DROP TABLE MemberExt1 GO CREATE TABLE MemberExt1 ( MemberId INT NOT NULL, QRImage NVARCHAR(500) , Url NVARCHAR(500) ) EXEC sp_addextendedproperty N‘MS_Description‘, N‘记录Member的二维码和个人推荐URL‘, N‘user‘, N‘dbo‘, N‘table‘, N‘MemberExt1‘, NULL, NULL EXEC sp_addextendedproperty N‘MS_Description‘, N‘会员ID‘, N‘user‘, N‘dbo‘, N‘table‘, N‘MemberExt1‘, N‘column‘, N‘MemberId‘ EXEC sp_addextendedproperty N‘MS_Description‘, N‘二维码的存放位置‘, N‘user‘, N‘dbo‘, N‘table‘, N‘MemberExt1‘, N‘column‘, N‘QRImage‘ EXEC sp_addextendedproperty N‘MS_Description‘, N‘个人推荐URL‘, N‘user‘, N‘dbo‘, N‘table‘, N‘MemberExt1‘, N‘column‘, N‘Url‘
MSSQL创建表时添加说明
时间: 2024-10-08 22:48:40