且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

系统参数表的设计

更新时间:2022-10-02 22:52:15



  1. 代码  
  2.  
  3. create table t_systemprofile(  
  4.     FSystemprofileid     bigint          not null,    --系统参数表id--  
  5.     FCategory            varchar (30)    not null,    --类别--  
  6.     FKey                 varchar (30)    not null,    --类别下的表示符号--  
  7.     FValue               nvarchar (255)   null,       --对应的值--  
  8.     FDesc                nvarchar (255)   null,       --描述--  
  9.     FUid                 varchar (40)    not null,    --系统用户id--  
  10.       
  11.  constraint [pk_t_systemprofile] primary key nonclustered   
  12. (  
  13.     FUid  asc,  
  14.     FSystemprofileid  asc  
  15. )  

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



本文转自linzheng 51CTO博客,原文链接:http://blog.51cto.com/linzheng/1080876