系统参数表的设计

代码
create table t_systemprofile(
FSystemprofileid
bigint not null, --系统参数表id--
FCategory varchar (30) not null, --类别--
FKey varchar (30) not null, --类别下的表示符号--
FValue nvarchar (255) null, --对应的值--
FDesc nvarchar (255) null, --描述--
FUid varchar (40) not null, --系统用户id--

constraint [pk_t_systemprofile] primary key nonclustered
(
FUid
asc,
FSystemprofileid
asc
)
)

系统参数表可以用来对产品的一些系统性的信息进行描述,比如是否已经付费、版本号等等。

原文地址:https://www.cnblogs.com/linzheng/p/1902960.html