数据表:t_MOB_SignIn(移动签到记录)

t_MOB_SignIn(移动签到记录):描述

名称

t_MOB_SignIn(移动签到记录)

代码

t_MOB_SignIn

注释

 

模型

BOS

主键

PK_MOB_SignIn


t_MOB_SignIn(移动签到记录):列规格定义

名称

代码

数据类型

长度

强制

注释

内码

FID

int

 

TRUE

 

用户

FUserId

int

 

TRUE

 

经度

FLongitude

decimal(23,10)

23

TRUE

 

纬度

FLatitude

decimal(23,10)

23

TRUE

 

地址

FAddress

nvarchar(255)

255

FALSE

 

时间

FSignIntime

datetime

 

FALSE

 


t_MOB_SignIn(移动签到记录):脚本代码

if exists (select 1
from sysindexes
where id = object_id('t_MOB_SignIn')
and name = 'IDX_t_MOB_SignIn'
and indid > 0
and indid < 255)
drop index t_MOB_SignIn.IDX_t_MOB_SignIn
go

if exists (select 1
from sysobjects
where id = object_id('t_MOB_SignIn')
and type = 'U')
drop table t_MOB_SignIn
go

/*==============================================================*/
/* Table: t_MOB_SignIn */
/*==============================================================*/
create table t_MOB_SignIn (
FID int not null default 0,
FUserId int not null default 0,
FLongitude decimal(23,10) not null default 0,
FLatitude decimal(23,10) not null default 0,
FAddress nvarchar(255) null,
FSignIntime datetime null default getdate(),
constraint PK_T_MOB_SIGNIN primary key (FID)
)
go

/*==============================================================*/
/* Index: IDX_t_MOB_SignIn */
/*==============================================================*/
create index IDX_t_MOB_SignIn on t_MOB_SignIn (
FUserId ASC
)
go


t_MOB_SignIn(移动签到记录):键值定义

名称

代码

主要的

PK_MOB_SignIn

PK_MOB_SignIn

TRUE


t_MOB_SignIn(移动签到记录):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_t_MOB_SignIn

IDX_t_MOB_SignIn

FALSE

FALSE

FALSE

FALSE

FALSE

t_MOB_SignIn(移动签到记录)