`
xxq_2010
  • 浏览: 14660 次
  • 性别: Icon_minigender_2
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

一点心得

 
阅读更多
reg_expr = ^1[3|4|5|8][0-9]\d{8}$

msisdn   char(32),
serviceid Int        ,
userstate Int        ,
userlevel Int        ,
balance Int          ,
totalconsume Int    ,
startdate char(8),
stopdate char(8),
primary key(msisdn), foreign key(serviceid) referenecs test_service

(serviceid)

create table test_user_data(
msisdn      char(32),
serviceid       Int        ,
userstate       Int        ,
userlevel       Int        ,
balance Int          ,
totalconsume    Int    ,
startdate       char(8),
stopdate        char(8),
primary key (msisdn) );

create table test_service(
serviceid Int        ,     
servicename char(32)   ,
discount Int           ,
daycost Int             ,
cancelpercent Int         , 
consumelimit Int         ,
primary key (serviceid));
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics