9aa624c8e6494e8ba4f0e7287c6cafeb_NewMeterZC.sql 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 118.195.157.46
  4. Source Server Type : SQL Server
  5. Source Server Version : 10501600
  6. Source Host : 118.195.157.46:1433
  7. Source Catalog : ChangeMeter
  8. Source Schema : dbo
  9. Target Server Type : SQL Server
  10. Target Server Version : 10501600
  11. File Encoding : 65001
  12. Date: 26/01/2023 20:18:46
  13. */
  14. -- ----------------------------
  15. -- Table structure for NewMeterZC
  16. -- ----------------------------
  17. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[NewMeterZC]') AND type IN ('U'))
  18. DROP TABLE [dbo].[NewMeterZC]
  19. GO
  20. CREATE TABLE [dbo].[NewMeterZC] (
  21. [PKID] bigint NOT NULL,
  22. [NewMeterTM] varchar(50) COLLATE Chinese_PRC_CI_AS NULL,
  23. [Operator] varchar(255) COLLATE Chinese_PRC_CI_AS NULL,
  24. [OperateTime] datetime NULL,
  25. [ReturnTime] datetime NULL,
  26. [NewMeterZC] varchar(50) COLLATE Chinese_PRC_CI_AS NULL
  27. )
  28. GO
  29. ALTER TABLE [dbo].[NewMeterZC] SET (LOCK_ESCALATION = TABLE)
  30. GO
  31. -- ----------------------------
  32. -- Primary Key structure for table NewMeterZC
  33. -- ----------------------------
  34. ALTER TABLE [dbo].[NewMeterZC] ADD CONSTRAINT [PK__NewMeter__5E0282721DE57479] PRIMARY KEY CLUSTERED ([PKID])
  35. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  36. ON [PRIMARY]
  37. GO