/*
 Navicat Premium Data Transfer

 Source Server         : 118.195.157.46
 Source Server Type    : SQL Server
 Source Server Version : 10501600
 Source Host           : 118.195.157.46:1433
 Source Catalog        : ChangeMeter
 Source Schema         : dbo

 Target Server Type    : SQL Server
 Target Server Version : 10501600
 File Encoding         : 65001

 Date: 26/01/2023 20:18:46
*/


-- ----------------------------
-- Table structure for NewMeterZC
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[NewMeterZC]') AND type IN ('U'))
	DROP TABLE [dbo].[NewMeterZC]
GO

CREATE TABLE [dbo].[NewMeterZC] (
  [PKID] bigint  NOT NULL,
  [NewMeterTM] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [Operator] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [OperateTime] datetime  NULL,
  [ReturnTime] datetime  NULL,
  [NewMeterZC] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL
)
GO

ALTER TABLE [dbo].[NewMeterZC] SET (LOCK_ESCALATION = TABLE)
GO


-- ----------------------------
-- Primary Key structure for table NewMeterZC
-- ----------------------------
ALTER TABLE [dbo].[NewMeterZC] ADD CONSTRAINT [PK__NewMeter__5E0282721DE57479] PRIMARY KEY CLUSTERED ([PKID])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)  
ON [PRIMARY]
GO

