天天看點

系統參數表的設計

代碼  

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  

)  

系統參數表可以用來對産品的一些系統性的資訊進行描述,比如是否已經付費、版本号等等。

本文轉自linzheng 51CTO部落格,原文連結:http://blog.51cto.com/linzheng/1080876

繼續閱讀