dw_complain_realtime_alarm_h.sql 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. CREATE TABLE tsfx.dw_complain_realtime_alarm_h
  2. (
  3. sdate timestamp NULL,
  4. uniqueid varchar(200) NULL,
  5. uniqueclearid varchar(200) NULL,
  6. eventtime varchar(50) NULL,
  7. canceltime varchar(50) NULL,
  8. status numeric NULL,
  9. projectstatus numeric NULL,
  10. vendoralarmserial varchar(200) NULL,
  11. alarmtitle varchar(200) NULL,
  12. vendorseverity varchar(200) NULL,
  13. vendoralarmtype varchar(200) NULL,
  14. specificproblem varchar(1000) NULL,
  15. specificproblemid varchar(200) NULL,
  16. equipmentclass varchar(200) NULL,
  17. equipmentname varchar(1000) NULL,
  18. locateneclass varchar(500) NULL,
  19. locatenename varchar(1000) NULL,
  20. province varchar(200) NULL,
  21. region varchar(200) NULL,
  22. city varchar(200) NULL,
  23. grid varchar(200) NULL,
  24. area varchar(200) NULL,
  25. vendor varchar(200) NULL,
  26. specialty numeric NULL,
  27. siteid varchar(200) NULL,
  28. roomid varchar(1000) NULL,
  29. towersiteno varchar(200) NULL,
  30. proequipmentstatus numeric NULL,
  31. projectname varchar(200) NULL,
  32. projectno varchar(200) NULL,
  33. projectstarttime varchar(200) NULL,
  34. projectendtime varchar(200) NULL,
  35. worksendstatus numeric NULL,
  36. workstatus numeric NULL,
  37. workno varchar(200) NULL,
  38. workarchivedtime varchar(200) NULL,
  39. workdutydep varchar(200) NULL,
  40. worksendperson varchar(200) NULL,
  41. alarmlogicclass varchar(200) NULL,
  42. alarmlogicsubclass varchar(200) NULL,
  43. standardalarmname varchar(1000) NULL,
  44. alarmseverity numeric NULL,
  45. standardalarmid varchar(500) NULL,
  46. effectonequipment varchar(200) NULL,
  47. effectonbusiness varchar(200) NULL,
  48. standardflag numeric NULL,
  49. networktype numeric NULL,
  50. equipmentdn varchar(500) NULL,
  51. locatenedn varchar(500) NULL,
  52. taccode varchar(500) NULL,
  53. tacid varchar(200) NULL,
  54. alarmtext text NULL
  55. ) DISTRIBUTED BY (uniqueid);