美文网首页
2018-11-04 智慧商超管理系统

2018-11-04 智慧商超管理系统

作者: dcef538f5197 | 来源:发表于2018-11-04 17:45 被阅读0次

    ER图

    捕获.PNG
    表格
    捕获.PNG
    代码
    USE [2017270414]
    GO
    /****** Object: Table [dbo].[收银员] Script Date: 11/04/2018 17:03:04 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[收银员](
    [工号] [int] NOT NULL,
    [姓名] varchar NULL,
    [密码] varchar NULL,
    [电话] varchar NULL,
    CONSTRAINT [PK_收银员] PRIMARY KEY CLUSTERED
    (
    [工号] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    /****** Object: Table [dbo].[商品] Script Date: 11/04/2018 17:03:04 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[商品](
    [商品号] [int] NOT NULL,
    [商品名称] varchar NULL,
    [价格] varchar NULL,
    CONSTRAINT [PK_商品] PRIMARY KEY CLUSTERED
    (
    [商品号] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    /****** Object: Table [dbo].[库管员] Script Date: 11/04/2018 17:03:04 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[库管员](
    [工号] [int] NOT NULL,
    [姓名] varbinary NULL,
    [密码] varchar NULL,
    [电话] varchar NULL,
    CONSTRAINT [PK_库管员] PRIMARY KEY CLUSTERED
    (
    [工号] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    /****** Object: Table [dbo].[供应商] Script Date: 11/04/2018 17:03:04 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[供应商](
    [代码] [int] NOT NULL,
    [名称] varchar NULL,
    [地点] varchar NULL,
    [联系人] varchar NULL,
    [电话] varchar NULL,
    CONSTRAINT [PK_供应商] PRIMARY KEY CLUSTERED
    (
    [代码] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO

    相关文章

      网友评论

          本文标题:2018-11-04 智慧商超管理系统

          本文链接:https://www.haomeiwen.com/subject/diqdxqtx.html