注册 登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

一车,一房,一个温暖家

10万左右的车,80平方的房子,这是我奋斗的暖暖的家

 
 
 

日志

 
 

引用 权限管理--设计表   

2015-06-16 19:12:56|  分类: 默认分类 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

基本表

 

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Base_User]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Base_User]
GO

CREATE TABLE [dbo].[Base_User] (
 [id] [int] IDENTITY (1, 1) NOT NULL ,
 [User_no] [nvarchar] (50) COLLATE Chinese_PRC_BIN NOT NULL ,
 [User_wkno] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [User_name] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [User_pass] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [User_per] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [User_mail] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [User_sect] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [User_veri] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [Set_time] [smalldatetime] NULL
) ON [PRIMARY]
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Class_Per]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Class_Per]
GO

CREATE TABLE [dbo].[Class_Per] (
 [per_no] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [per_class] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL
) ON [PRIMARY]
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Class_Sect]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Class_Sect]
GO

CREATE TABLE [dbo].[Class_Sect] (
 [id] [int] IDENTITY (1, 1) NOT FOR REPLICATION  NOT NULL ,
 [sect_no] [nvarchar] (10) COLLATE Chinese_PRC_BIN NOT NULL ,
 [sect_class] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL
) ON [PRIMARY]
GO


if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Class_Veri]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Class_Veri]
GO

CREATE TABLE [dbo].[Class_Veri] (
 [id] [int] IDENTITY (1, 1) NOT FOR REPLICATION  NOT NULL ,
 [veri_no] [nvarchar] (50) COLLATE Chinese_PRC_BIN NOT NULL ,
 [veri_class] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL
) ON [PRIMARY]
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Menu_Oper]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Menu_Oper]
GO

CREATE TABLE [dbo].[Menu_Oper] (
 [id] [varchar] (50) COLLATE Chinese_PRC_BIN NOT NULL ,
 [title] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL
) ON [PRIMARY]
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Menu_Tree]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Menu_Tree]
GO

CREATE TABLE [dbo].[Menu_Tree] (
 [no] [int] IDENTITY (11, 1) NOT NULL ,
 [id] [nvarchar] (50) COLLATE Chinese_PRC_BIN NOT NULL ,
 [node] [nvarchar] (3) COLLATE Chinese_PRC_BIN NULL ,
 [root] [nvarchar] (3) COLLATE Chinese_PRC_BIN NULL ,
 [text] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [open_href] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [leaf] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [per] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [other] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [orderby] [int] NULL
) ON [PRIMARY]
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Per_user]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Per_user]
GO

CREATE TABLE [dbo].[Per_user] (
 [per_no] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL ,
 [tree_no] [nvarchar] (50) COLLATE Chinese_PRC_BIN NULL
) ON [PRIMARY]
GO


  评论这张
 
阅读(4)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018