1个回答
展开全部
USE GOODS
CREATE TABLE [Order](
[Cno] [char](4) NOT NULL,
[Goodno] [char](4) NOT NULL,
[Num] [int] NULL,
CONSTRAINT [PK_Order] PRIMARY KEY CLUSTERED
(
[Cno] ASC,
[Goodno] ASC
)
)
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'客户号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Order', @level2type=N'COLUMN',@level2name=N'Cno'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Order', @level2type=N'COLUMN',@level2name=N'Goodno'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订货量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Order', @level2type=N'COLUMN',@level2name=N'Num'
CREATE TABLE [Order](
[Cno] [char](4) NOT NULL,
[Goodno] [char](4) NOT NULL,
[Num] [int] NULL,
CONSTRAINT [PK_Order] PRIMARY KEY CLUSTERED
(
[Cno] ASC,
[Goodno] ASC
)
)
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'客户号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Order', @level2type=N'COLUMN',@level2name=N'Cno'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Order', @level2type=N'COLUMN',@level2name=N'Goodno'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订货量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Order', @level2type=N'COLUMN',@level2name=N'Num'
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询