USE [k-metrics]
GO

/****** Object:  Table [dbo].[tblLocations]    Script Date: 29/01/2014 14:35:17 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[tblLocations](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[company] [varchar](50) NULL,
	[deviceid] [varchar](50) NULL,
	[username] [varchar](50) NULL,
	[gpstime] [datetime] NULL,
	[lat] [decimal](18, 10) NULL,
	[lng] [decimal](18, 10) NULL,
	[lastcomsreceived] [datetime] NULL,
	[mobileappver] [nchar](10) NULL,
 CONSTRAINT [PK_tblLocations] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

