AlarmCodeLevel.sql 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. Navicat SQL Server Data Transfer
  3. Source Server : 9000
  4. Source Server Version : 105000
  5. Source Host : .\sqlexpress:1433
  6. Source Database : LHBMS
  7. Source Schema : dbo
  8. Target Server Type : SQL Server
  9. Target Server Version : 105000
  10. File Encoding : 65001
  11. Date: 2021-05-11 15:28:04
  12. */
  13. -- ----------------------------
  14. -- Table structure for AlarmCodeLevel
  15. -- ----------------------------
  16. DROP TABLE [dbo].[AlarmCodeLevel]
  17. GO
  18. CREATE TABLE [dbo].[AlarmCodeLevel] (
  19. [ID] int NOT NULL ,
  20. [Name] nvarchar(50) NOT NULL
  21. )
  22. GO
  23. -- ----------------------------
  24. -- Records of AlarmCodeLevel
  25. -- ----------------------------
  26. INSERT INTO [dbo].[AlarmCodeLevel] ([ID], [Name]) VALUES (N'0', N'不显示')
  27. GO
  28. GO
  29. INSERT INTO [dbo].[AlarmCodeLevel] ([ID], [Name]) VALUES (N'1', N'自动处理')
  30. GO
  31. GO
  32. INSERT INTO [dbo].[AlarmCodeLevel] ([ID], [Name]) VALUES (N'2', N'用户处理')
  33. GO
  34. GO
  35. INSERT INTO [dbo].[AlarmCodeLevel] ([ID], [Name]) VALUES (N'3', N'紧急置顶')
  36. GO
  37. GO
  38. -- ----------------------------
  39. -- Indexes structure for table AlarmCodeLevel
  40. -- ----------------------------
  41. -- ----------------------------
  42. -- Primary Key structure for table AlarmCodeLevel
  43. -- ----------------------------
  44. ALTER TABLE [dbo].[AlarmCodeLevel] ADD PRIMARY KEY ([ID])
  45. GO