eis/script/table/T_STA_SAMPLE.sql

22 lines
677 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- Version: 2025.7.31 14:52:27
Drop Table T_STA_SAMPLE@
Create Table T_STA_SAMPLE(
tagName VARCHAR(50) NOT NULL,
tagDate TIMESTAMP NOT NULL,
type VARCHAR(50) NOT NULL,
tagChinese VARCHAR(100),
data ,
CONSTRAINT pk_T_STA_SAMPLE PRIMARY KEY (tagName, tagDate, type)
)
IN TB8KUSREMS INDEX IN TB8KIDXEMS@
COMMENT ON Table T_STA_SAMPLE IS '统计数据样本'@
COMMENT ON T_STA_SAMPLE (tagName IS 'TagName')@
COMMENT ON T_STA_SAMPLE (tagDate IS '记录时间')@
COMMENT ON T_STA_SAMPLE (type IS '样本类型')@
COMMENT ON T_STA_SAMPLE (tagChinese IS 'Tag点中文')@
COMMENT ON T_STA_SAMPLE (data IS '具体的数据分布情况JSON格式最大1000个值')@